@@ -7570,3 +7570,41 @@ way of specifying command line options.")
date time strings.")
(license license:expat)))
+(define-public go-github-com-itchyny-gojq
+ (package
+ (name "go-github-com-itchyny-gojq")
+ (version "0.12.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/itchyny/gojq.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pxm341sgqkscwifpxlkvchz8ix3wivp80p59dv257kaa9diymgz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/itchyny/gojq"))
+ (native-inputs
+ `(("go-gopkg-in-yaml-v3" ,go-gopkg-in-yaml-v3)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-github-com-mattn-go-runewidth"
+ ,go-github-com-mattn-go-runewidth)
+ ("go-github-com-mattn-go-isatty"
+ ,go-github-com-mattn-go-isatty)
+ ("go-github-com-itchyny-go-flags"
+ ,go-github-com-itchyny-go-flags)
+ ("go-github-com-google-go-cmp-cmp"
+ ,go-github-com-google-go-cmp-cmp)))
+ (propagated-inputs
+ `(("go-github-com-itchyny-timefmt-go"
+ ,go-github-com-itchyny-timefmt-go)))
+ (home-page "https://github.com/itchyny/gojq")
+ (synopsis "Pure Go implementation of jq")
+ (description "This package provides an implementation of @command{jq}
+command written in Go language. It is also embedable as a library to other Go
+projects.")
+ (license license:expat)))
+