summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-09-19 15:13:00 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-09-19 15:20:21 +0200
commit622ef2b90aceeb20bddbd168ea4383ba9acbfca0 (patch)
tree15ba60b2040c43d93df1828fec20af133bfcb517
parentc5c1e410cfc175df8b4b61c1a3d42850bb268bf3 (diff)
downloadguix-622ef2b90aceeb20bddbd168ea4383ba9acbfca0.tar.gz
gnu: arpack-ng: Don't use unstable tarball.
* gnu/packages/maths.scm (arpack-ng)[source]: Use GIT-FETCH.
-rw-r--r--gnu/packages/maths.scm15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index d3e72128ca..b9f36600d8 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -462,14 +462,13 @@ computing convex hulls.")
     (name "arpack-ng")
     (version "3.6.2")
     (home-page "https://github.com/opencollab/arpack-ng")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append home-page "/archive/" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "16jrvdl0gh78rrfnvrcxwys4slwfh6qmwwjhfc9d6vwrvq184g37"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference (url home-page) (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "08yg5rbsnrni9v04x5a8frav6yp7x6lwvai5j93a37b1p59jsgsl"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("autoconf" ,autoconf)