Add jq
This commit is contained in:
@@ -26,3 +26,26 @@
|
|||||||
(description "Yaml parser")
|
(description "Yaml parser")
|
||||||
(home-page "https://github.com/mikefarah/yq")
|
(home-page "https://github.com/mikefarah/yq")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
;; https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-amd64
|
||||||
|
(define-public jq
|
||||||
|
(package
|
||||||
|
(name "jq")
|
||||||
|
(version "1.7.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://github.com/jqlang/jq/releases/download/jq-" version "/jq-linux-amd64"))
|
||||||
|
(sha256 (base32 "1xcgkk8q32y5sy9km4wkvy82bzmky5rh5qxk3vk0wlafjfqcjhjr"))))
|
||||||
|
(build-system copy-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'chmod
|
||||||
|
(lambda* (#:key #:allow-other-keys)
|
||||||
|
(chmod "jq-linux-amd64" #o755))))
|
||||||
|
#:substitutable? #f
|
||||||
|
#:install-plan '(("jq-linux-amd64" "/bin/jq"))))
|
||||||
|
(synopsis "JSON parser")
|
||||||
|
(description "JSON parser")
|
||||||
|
(home-page "https://github.com/jqlang/jq")
|
||||||
|
(license license:expat)))
|
||||||
|
|||||||
Reference in New Issue
Block a user