guix-commits
[Top][All Lists]
Advanced

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

01/07: gnu: r-spams: Use predictable source URI.


From: Tobias Geerinckx-Rice
Subject: 01/07: gnu: r-spams: Use predictable source URI.
Date: Tue, 20 Mar 2018 14:49:54 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit ef8b9a771c032beff61383fa686af69cf65fffd1
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Mar 20 16:45:45 2018 +0100

    gnu: r-spams: Use predictable source URI.
    
    * gnu/packages/statistics.scm (r-spams)[source]: Use predictable
    URI.
---
 gnu/packages/statistics.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 19a05ea..363e6c3 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -8,7 +8,7 @@
 ;;; Copyright © 2016 Ben Woodcroft <address@hidden>
 ;;; Copyright © 2016, 2017 Raoul Bonnal <address@hidden>
 ;;; Copyright © 2017 Kyle Meyer <address@hidden>
-;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3837,8 +3837,9 @@ from within R.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "https://gforge.inria.fr/frs/download.php/36615/";
-                           "spams-R-v" version ".tar.gz"))
+       ;; Use the ‘Latest version’ link for a stable URI across releases.
+       (uri (string-append "https://gforge.inria.fr/frs/download.php/";
+                           "latestfile/4531/spams-R-v" version ".tar.gz"))
        (sha256
         (base32
          "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
@@ -3848,7 +3849,7 @@ from within R.")
        (modify-phases %standard-phases
          (add-after 'unpack 'chdir
            (lambda _ (chdir "spams") #t))
-         ;; Don't tune for the building machine
+         ;; Don't tune for the building machine.
          (add-after 'chdir 'no-mtune
            (lambda _
              (substitute* "src/Makevars"



reply via email to

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