guix-patches
[Top][All Lists]
Advanced

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

[bug#62284] [PATCH v2 02/71] gnu: Add go-github-com-tidwall-gjson.


From: Miguel Ángel Moreno
Subject: [bug#62284] [PATCH v2 02/71] gnu: Add go-github-com-tidwall-gjson.
Date: Sun, 11 Feb 2024 22:02:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

* gnu/packages/golang.scm (go-github-com-tidwall-gjson): New variable.

Change-Id: I509d8e6f7ccdb77c43a2168fbdba4437d6538b53
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6204f55a8f..83a7404154 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3383,6 +3383,32 @@ (define-public go-github-com-tidwall-sjson
 value in a JSON document.")
     (license license:expat)))
 
+(define-public go-github-com-tidwall-gjson
+  (package
+    (name "go-github-com-tidwall-gjson")
+    (version "1.14.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tidwall/gjson";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1rs8i87j62sgas55cvm8kzcgf40090dq38r6m6s03rzxs9hbcd6w"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/tidwall/gjson"))
+    (propagated-inputs
+     (list go-github-com-tidwall-match
+           go-github-com-tidwall-pretty))
+    (home-page "https://github.com/tidwall/gjson";)
+    (synopsis "JSON parser for Go")
+    (description "GJSON is a Go package that provides a fast and simple way to
+get values from a JSON document. It has features like one line retrieval, dot
+notation paths, iteration, and parsing JSON lines.")
+    (license license:expat)))
+
 (define-public go-github-com-tj-docopt
   (package
     (name "go-github-com-tj-docopt")
-- 
2.41.0



-- 
Best regards,
Miguel Ángel Moreno

reply via email to

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