gnu: r-spams: Use predictable source URI.
* gnu/packages/statistics.scm (r-spams)[source]: Use predictable URI.
This commit is contained in:
parent
d7a11f1a8d
commit
ef8b9a771c
|
@ -8,7 +8,7 @@
|
||||||
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
||||||
;;; Copyright © 2016, 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
|
;;; Copyright © 2016, 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
|
||||||
;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
|
;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
|
||||||
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -3837,8 +3837,9 @@ from within R.")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://gforge.inria.fr/frs/download.php/36615/"
|
;; Use the ‘Latest version’ link for a stable URI across releases.
|
||||||
"spams-R-v" version ".tar.gz"))
|
(uri (string-append "https://gforge.inria.fr/frs/download.php/"
|
||||||
|
"latestfile/4531/spams-R-v" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
|
"13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
|
||||||
|
@ -3848,7 +3849,7 @@ from within R.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'chdir
|
(add-after 'unpack 'chdir
|
||||||
(lambda _ (chdir "spams") #t))
|
(lambda _ (chdir "spams") #t))
|
||||||
;; Don't tune for the building machine
|
;; Don't tune for the building machine.
|
||||||
(add-after 'chdir 'no-mtune
|
(add-after 'chdir 'no-mtune
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/Makevars"
|
(substitute* "src/Makevars"
|
||||||
|
|
Loading…
Reference in New Issue