summaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorkiasoc5 <kiasoc5@disroot.org>2022-11-12 03:15:53 -0500
committerLudovic Courtès <ludo@gnu.org>2022-11-28 23:34:15 +0100
commit8f591cf430585db84e9b8dd186d1bf9a5e89155c (patch)
treec0550c9e2e4792f469f39635086811146281a009 /gnu/packages/web.scm
parentf093291a1fac61c16d49007400c51d55ee54b84c (diff)
gnu: Add go-github-com-itchyny-gojq.
* gnu/packages/web (go-github-com-itchyny-gojq): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 7ff85b6bc1..8f2866aa7c 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4919,6 +4919,37 @@ you'd expect.")
time strings.")
(license license:expat)))
+(define-public go-github-com-itchyny-gojq
+ (package
+ (name "go-github-com-itchyny-gojq")
+ (version "0.12.9")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/itchyny/gojq")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1m4zchhhi2428r1v0qz08drac4s63mag1pwcqzsf6n495yc3g0h0"))))
+ (build-system go-build-system)
+ (inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-itchyny-timefmt-go
+ go-github-com-mattn-go-isatty
+ go-github-com-mattn-go-runewidth
+ go-gopkg-in-yaml-v3))
+ (arguments
+ (list
+ #:import-path "github.com/itchyny/gojq/cmd/gojq"
+ #:unpack-path "github.com/itchyny/gojq"))
+ (home-page "https://github.com/itchyny/gojq")
+ (synopsis "Pure Go implementation of jq")
+ (description
+ "@command{gojq} is an Go implementation and library of the jq JSON
+processor.")
+ (license license:expat)))
+
(define-public pup
(let ((revision "1")
(commit "681d7bb639334bf485476f5872c5bdab10931f9a"))