gnu: jq: Update sources.

* gnu/packages/web.scm (jq)[source]: Update sha256.  Add snippet to
remove newly-bundled onigurama.
This commit is contained in:
Tobias Geerinckx-Rice 2019-05-17 02:43:15 +02:00
parent 9c476e4db5
commit 8731a4aaff
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -4038,14 +4038,20 @@ (define-public jq
(package
(name "jq")
(version "1.6")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/stedolan/jq"
"/releases/download/jq-" version
"/jq-" version ".tar.gz"))
(sha256
(base32
"1a76f46a652i2g333kfvrl6mp2w7whf6h1yly519izg4y967h9cn"))))
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/stedolan/jq"
"/releases/download/jq-" version
"/jq-" version ".tar.gz"))
(sha256
(base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
(modules '((guix build utils)))
(snippet
'(begin
;; Remove bundled onigurama.
(delete-file-recursively "modules")
#t))))
(inputs
`(("oniguruma" ,oniguruma)))
(native-inputs