summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-06-26 13:49:47 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-01 08:41:01 +0100
commit14d2c595c087bfa1228de92f2c7a8c9648f1c7ad (patch)
tree8ba5db1f9c3364c44192cd6ed9c4deaeb4a997f4 /gnu/packages/golang-xyz.scm
parenta8ae0e4176d183773df939fa9f641da891890e32 (diff)
gnu: Add go-github-com-wader-gojq.
* gnu/packages/golang-xyz.scm (go-github-com-wader-gojq): New variable. Change-Id: If701d1e0d124a0f01a6d659e668994049204feda
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 75888ffd5e..1e01c12f77 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17738,6 +17738,41 @@ programming language.")
"This package is a simple Golang implementation of tag parser.")
(license license:bsd-2)))
+(define-public go-github-com-wader-gojq
+ ;; This is a modified fork only for fq.
+ (hidden-package
+ (package
+ (name "go-github-com-wader-gojq")
+ (version "0.12.1-0.20250208151254-0aa7b87b2c2b")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wader/gojq")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1byil5r5nzs6fx0si3ipanq1c8vcqbsr0rhyd5380vp7zr5j9cxl"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/wader/gojq"))
+ (native-inputs
+ (list go-github-com-google-go-cmp))
+ (propagated-inputs
+ (list go-github-com-itchyny-timefmt-go
+ go-github-com-mattn-go-isatty
+ go-github-com-mattn-go-runewidth
+ go-gopkg-in-yaml-v3))
+ (home-page "https://github.com/wader/gojq")
+ (synopsis "Pure Go implementation of jq")
+ (description
+ "Package gojq provides the parser and the interpreter of gojq. Please refer to
+@url{https://github.com/itchyny/gojq#usage-as-a-library, Usage as a library} for
+introduction. It's fork of github.com/itchyny/gojq, see github.com/wader/gojq fq
+branc.")
+ (license license:expat))))
+
(define-public go-github-com-wadey-gocovmerge
(package
(name "go-github-com-wadey-gocovmerge")