guix-patches
[Top][All Lists]
Advanced

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

[bug#62284] [PATCH 01/70] gnu: Add go-github-com-tidwall-sjson.


From: conses
Subject: [bug#62284] [PATCH 01/70] gnu: Add go-github-com-tidwall-sjson.
Date: Mon, 20 Mar 2023 00:28:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c75fdb4a31..fb4eb628d0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2793,6 +2793,31 @@ (define-public go-github-com-saracen-walker
     (description "The @code{walker} function is a faster, parallel version, of
 @code{filepath.Walk}")))
 
+(define-public go-github-com-tidwall-sjson
+  (package
+    (name "go-github-com-tidwall-sjson")
+    (version "1.2.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tidwall/sjson";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "16yaikpxiwqz00zxa70w17k2k52nr06svand88sv2br6b6i8v09r"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/tidwall/sjson"))
+    (propagated-inputs
+     (list go-github-com-tidwall-gjson
+           go-github-com-tidwall-pretty))
+    (home-page "https://github.com/tidwall/sjson";)
+    (synopsis "Set JSON values very quickly in Go")
+    (description "This package provides a very fast and simple way to set a
+value in a JSON document.")
+    (license license:expat)))
+
 (define-public go-github-com-tj-docopt
   (package
     (name "go-github-com-tj-docopt")
-- 
2.39.1



-- 
Best regards,
conses





reply via email to

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