Subject: [bug#62284] [PATCH 04/70] gnu: Add go-github-com-tidwall-pretty.

From: conses <[email-masked]>
Date: Mon, 20 Mar 2023 00:29:06 +0100

* gnu/packages/golang.scm (go-github-com-tidwall-pretty): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 721f4929b5..0dccfb74cc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2867,6 +2867,28 @@ (define-public go-github-com-tidwall-match
 character.")
     (license license:expat)))
 
+(define-public go-github-com-tidwall-pretty
+  (package
+    (name "go-github-com-tidwall-pretty")
+    (version "1.2.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tidwall/pretty")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0prj9vpjgrca70rvx40kkl566yf9lw4fsbcmszwamwl364696jsb"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/tidwall/pretty"))
+    (home-page "https://github.com/tidwall/pretty")
+    (synopsis "Efficient JSON beautifier and compactor for Go")
+    (description "This package provides fast methods for formatting JSON for
+human readability, or to compact JSON for smaller payloads.")
+    (license license:expat)))
+
 (define-public go-github-com-tj-docopt
   (package
     (name "go-github-com-tj-docopt")
-- 
2.39.1

-- 
Best regards,
conses