guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 06fc2a3f75c80a82b9ee449526d8431b3a7c5638
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Mar 6 14:54:49 2026 +0000
gnu: go-github-com-itchyny-gojq: Move to golang-xyz.
* gnu/packages/web.scm (go-github-com-itchyny-gojq, gojq): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I7cb3fd36ecc3874a3463c58d1574b1da461c046c
---
gnu/packages/golang-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
gnu/packages/web.scm | 41 -----------------------------------------
2 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index fa464037b7..407f672850 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -13218,6 +13218,36 @@ https://github.com/jessevdk/go-flags.")
@url{https://github.com/yaml/go-yaml}.")
(license license:asl2.0)))
+(define-public go-github-com-itchyny-gojq
+ (package
+ (name "go-github-com-itchyny-gojq")
+ (version "0.12.17")
+ (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 "0raipf3k392bihjk6kddzl3xsnap8wlvhplngmzx2vkp2f11x6fc"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/itchyny/gojq"))
+ (inputs
+ (list go-github-com-google-go-cmp
+ 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/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 go-github-com-itchyny-timefmt-go
(package
(name "go-github-com-itchyny-timefmt-go")
@@ -32006,6 +32036,17 @@ various modes for analyzing and transforming YAML
data.")))
(propagated-inputs '())
(inputs '())))
+(define-public gojq
+ (package
+ (inherit go-github-com-itchyny-gojq)
+ (name "gojq")
+ (arguments
+ (ensure-keyword-arguments
+ (package-arguments go-github-com-itchyny-gojq)
+ (list #:import-path "github.com/itchyny/gojq/cmd/gojq"
+ #:unpack-path "github.com/itchyny/gojq"
+ #:install-source? #f)))))
+
(define-public misspell
(package/inherit go-github-com-client9-misspell
(name "misspell")
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index f1bdbf9f97..86f8b7f94d 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6073,47 +6073,6 @@ you'd expect.")
(properties `((lint-hidden-cve . ("CVE-2023-50246"
"CVE-2023-50268"))))))
-(define-public go-github-com-itchyny-gojq
- (package
- (name "go-github-com-itchyny-gojq")
- (version "0.12.17")
- (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 "0raipf3k392bihjk6kddzl3xsnap8wlvhplngmzx2vkp2f11x6fc"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/itchyny/gojq"))
- (inputs
- (list go-github-com-google-go-cmp
- 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/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 gojq
- (package
- (inherit go-github-com-itchyny-gojq)
- (name "gojq")
- (arguments
- (ensure-keyword-arguments
- (package-arguments go-github-com-itchyny-gojq)
- (list #:import-path "github.com/itchyny/gojq/cmd/gojq"
- #:unpack-path "github.com/itchyny/gojq"
- #:install-source? #f)))))
-
(define-public go-jqp
(package
(name "go-jqp")