summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-05-14 12:52:22 +0200
committerMarius Bakke <marius@gnu.org>2021-05-15 19:18:46 +0200
commitd6915cb8ae05bbb13965bb19214be9fdb6cdd649 (patch)
treecccdb2bb95dcab67c567bd85abce54167b286ca5
parent6b496f7b32db9602b23da6fff5d3328b6ab0c485 (diff)
downloadguix-d6915cb8ae05bbb13965bb19214be9fdb6cdd649.tar.gz
gnu: arpack-ng@3.3: Don't use unstable source tarball.
* gnu/packages/maths.scm (arpack-ng-3.3.0)[name, home-page]: Remove.
[source]: Switch to GIT-FETCH.  Inline uses of NAME and HOME-PAGE.
-rw-r--r--gnu/packages/maths.scm11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 52d7c6f75a..8ee837724d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -800,16 +800,15 @@ large scale eigenvalue problems.")
   (package
     (inherit arpack-ng)
     (version "3.3.0")
-    (name (package-name arpack-ng))
-    (home-page (package-home-page arpack-ng))
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append home-page "/archive/" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference (url (package-home-page arpack-ng))
+                           (commit version)))
+       (file-name (git-file-name (package-name arpack-ng) version))
        (sha256
         (base32
-         "1cz53wqzcf6czmcpfb3vb61xi0rn5bwhinczl65hpmbrglg82ndd"))))))
+         "00h6bjvxjq7bv0b8pwnc0gw33ns6brlqv00xx2rh3w9b5n205918"))))))
 
 (define-public arpack-ng-openmpi
   (package (inherit arpack-ng)