gnu: google-brotli: Don't use unstable tarball.

* gnu/packages/compression.scm (google-brotli)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-19 16:22:14 +01:00
parent 7f5a010b9a
commit fc82c1752e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1759,13 +1759,15 @@ (define-public google-brotli
(package
(name "google-brotli")
(version "1.0.4")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/google/brotli/archive/v"
version ".tar.gz"))
(sha256
(base32
"1hrpmz162k4x3xm6vmbpm443jlfr1kp536p8962y2dncy7gs6s12"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/brotli.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0n5snycxgwqj2v8sgxiqxq4zqh5ydx70dr7qa4ygizs02ms69n1i"))))
(build-system cmake-build-system)
(arguments
`(#:phases