guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/05: gnu: arpack-ng@3.3: Don't use unstable source tarball.


From: guix-commits
Subject: 03/05: gnu: arpack-ng@3.3: Don't use unstable source tarball.
Date: Sat, 15 May 2021 13:25:10 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit d6915cb8ae05bbb13965bb19214be9fdb6cdd649
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri May 14 12:52:22 2021 +0200

    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.
---
 gnu/packages/maths.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 52d7c6f..8ee8377 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]