Subject: bug#44939: closed (Re: [bug#44939] [PATCH 1/4] gnu: Add go-github-com-nwidger-jsoncolor.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 04 Nov 2021 13:15:02 +0000

Your bug report

#44939: [PATCH 1/4] gnu: Add go-github-com-nwidger-jsoncolor.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
44939: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44939
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#44939] [PATCH 1/4] gnu: Add go-github-com-nwidger-jsoncolor.
From: Efraim Flashner <[email-masked]>
To: phodina <[email-masked]>
Cc: Ludovic Courtès <[email-masked]>, [email-masked]
Date: Thu, 4 Nov 2021 15:13:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Wed, Nov 03, 2021 at 08:50:39AM +0000, phodina via Guix-patches via wrote:
> Hi Ludo,
> 
> seems this patch has already been merged in commit
> 81c7f13d74530f936d71f8404cdcc71770cf707e.
> 
> Petr

You can close bugs by changing the address from [email-masked] to
[email-masked], like I did with this email :)

-- 
Efraim Flashner   <[email-masked]>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH 1/4] gnu: Add go-github-com-nwidger-jsoncolor.
From: Joseph LaFreniere <[email-masked]>
To: [email-masked]
Date: Sat, 28 Nov 2020 22:49:14 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch file attached.

--
Joseph LaFreniere
>From 1db67f6b7cac25a16913776431c4d3bf97ba1c9f Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <[email-masked]>
Date: Sat, 28 Nov 2020 22:25:35 -0600
Subject: [PATCH 1/4] gnu: Add go-github-com-nwidger-jsoncolor.

* gnu/packages/golang.scm (go-github-com-nwidger-jsoncolor): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 92533cfd50..72f43efd8a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5134,6 +5134,33 @@ style your output, without you having to deal with all kinds of weird ANSI
 escape sequences and color conversions.")
     (license license:expat)))
 
+(define-public go-github-com-nwidger-jsoncolor
+  (package
+    (name "go-github-com-nwidger-jsoncolor")
+    (version "0.3.0")
+    (home-page "https://github.com/nwidger/jsoncolor")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/nwidger/jsoncolor"))
+    (native-inputs
+     `(("go-github-com-fatih-color" ,go-github-com-fatih-color)))
+    (synopsis "Colorized JSON marshalling and encoding")
+    (description
+     "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
+@code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
+which produce colorized output using github.com/fatih/color.")
+    (license license:expat)))
+
 (define-public go-github-com-olekukonko-tablewriter
   (package
     (name "go-github-com-olekukonko-tablewriter")
-- 
2.29.2