guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#54560] [PATCH 34/47] gnu: Add go-github-com-json-iterator-go.


From: Leo Nikkilä
Subject: [bug#54560] [PATCH 34/47] gnu: Add go-github-com-json-iterator-go.
Date: Fri, 25 Mar 2022 15:31:58 +0200

* gnu/packages/golang.scm (go-github-com-json-iterator-go): 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 a8f5bb7261..e71f70520d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10187,6 +10187,33 @@ (define-public go-github-com-josharian-intern
     (home-page "https://github.com/josharian/intern";)
     (license license:expat)))
 
+(define-public go-github-com-json-iterator-go
+  (package
+    (name "go-github-com-json-iterator-go")
+    (version "1.1.12")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/json-iterator/go";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1c8f0hxm18wivx31bs615x3vxs2j3ba0v6vxchsjhldc8kl311bz"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/json-iterator/go"))
+    (propagated-inputs (list go-github-com-davecgh-go-spew
+                             go-github-com-google-gofuzz
+                             go-github-com-modern-go-concurrent
+                             go-github-com-modern-go-reflect2))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (synopsis "Drop-in replacement of @code{encoding/json}")
+    (description "High-performance 100% compatible drop-in replacement
+of @code{encoding/json}.")
+    (home-page "https://github.com/json-iterator/go";)
+    (license license:expat)))
+
 (define-public go-github-com-julienschmidt-httprouter
   (package
     (name "go-github-com-julienschmidt-httprouter")
-- 
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]