gnu: double-conversion: Don't use unstable tarball.

* gnu/packages/maths.scm (double-conversion)[source]: Use GIT-FETCH.
This commit is contained in:
Marius Bakke 2018-09-10 01:17:50 +02:00
parent 68a08dfbe5
commit 2bdc73fb26
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 4 deletions

View File

@ -279,12 +279,13 @@ enough to be used effectively as a scientific calculator.")
(version "3.0.0") (version "3.0.0")
(home-page "https://github.com/google/double-conversion") (home-page "https://github.com/google/double-conversion")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append home-page "/archive/v" version ".tar.gz")) (uri (git-reference (url home-page)
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"059r1czs28ljjd388pn6l3njg1ghbf1cv3q9nkxv3dj2a8siabqm")))) "05m78wlwrg310mxh1cl3d8d0ishzfvzh84x64xmvng252m0vc8yz"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:test-target "test" '(#:test-target "test"