gnu: libyajl: Don't use unstable tarball.

* gnu/packages/web.scm (libyajl)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-10 19:37:42 +01:00
parent 3e3414efd4
commit 2772debc74
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 5 deletions

View File

@ -786,13 +786,14 @@ style API.")
(name "libyajl") (name "libyajl")
(version "2.1.0") (version "2.1.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/lloyd/yajl/" (uri (git-reference
"archive/" version ".tar.gz")) (url "https://github.com/lloyd/yajl.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz")))) "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:phases '(#:phases