summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-09-10 01:17:50 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-09-10 01:41:29 +0200
commit2bdc73fb26fda3a212a8efd358a6f3fd2adae9c0 (patch)
treed0ad855a42ed3bc46d62401b0880bbec0607bbe0 /gnu/packages
parent68a08dfbe53301fb5c15470b52185e0578b5293e (diff)
gnu: double-conversion: Don't use unstable tarball.
* gnu/packages/maths.scm (double-conversion)[source]: Use GIT-FETCH.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/maths.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 84459d5bea..1288cdc2c3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -279,12 +279,13 @@ enough to be used effectively as a scientific calculator.")
(version "3.0.0")
(home-page "https://github.com/google/double-conversion")
(source (origin
- (method url-fetch)
- (uri (string-append home-page "/archive/v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "059r1czs28ljjd388pn6l3njg1ghbf1cv3q9nkxv3dj2a8siabqm"))))
+ "05m78wlwrg310mxh1cl3d8d0ishzfvzh84x64xmvng252m0vc8yz"))))
(build-system cmake-build-system)
(arguments
'(#:test-target "test"