gnu: rapidjson: Don't use unstable tarball.

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

View File

@ -747,14 +747,14 @@ current version of any major web browser.")
(name "rapidjson") (name "rapidjson")
(version "1.1.0") (version "1.1.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/miloyip/rapidjson/archive/v" (url "https://github.com/miloyip/rapidjson.git")
version ".tar.gz")) (commit (string-append "v" version))))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z")) "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin