guix-commits
[Top][All Lists]
Advanced

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

10/13: gnu: Add go-github-com-tidwall-gjson.


From: guix-commits
Subject: 10/13: gnu: Add go-github-com-tidwall-gjson.
Date: Tue, 11 Jun 2024 05:30:21 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit bb79b85b1e024ee7d777bc9ca7b0ce4f07b8cf43
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Jun 11 09:59:22 2024 +0100

    gnu: Add go-github-com-tidwall-gjson.
    
    * gnu/packages/golang-xyz.scm (go-github-com-tidwall-gjson): New variable.
    
    Change-Id: If3345205e3cbc75c0a4aa51ea0e5566d6db9af71
---
 gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index bdad626368..e353b4af08 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3462,6 +3462,34 @@ well as a program to generate applications and command 
files.")
 storage system.")
     (license license:bsd-2)))
 
+(define-public go-github-com-tidwall-gjson
+  (package
+    (name "go-github-com-tidwall-gjson")
+    (version "1.17.1")
+    (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 "0gcjzbs5in4kics39d2v3j2v9gvfxkdgp0bdgbfmcsa5arqgq7g5"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #: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 Golang")
+    (description
+     "This package provides a fast and simple way to get values from a JSON
+document.  It has features such as one line retrieval, dot notation paths,
+iteration, and parsing JSON lines.")
+    (license license:expat)))
+
 (define-public go-github-com-tidwall-match
   (package
     (name "go-github-com-tidwall-match")



reply via email to

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