gnu: tcsh: Add alternate URL for old tarballs.

Reported by Alexander Vorobiev <alexander.vorobiev@gmail.com>.

* gnu/packages/tcsh.scm (tcsh)[source]: Add alternate URL.
master
Ludovic Courtès 2015-05-31 21:11:21 +02:00
parent 98b87b82be
commit 97c15a297d
1 changed files with 11 additions and 7 deletions

View File

@ -31,13 +31,17 @@
(name "tcsh")
(version "6.18.01")
(source (origin
(method url-fetch)
(uri (string-append "ftp://ftp.astron.com/pub/tcsh/tcsh-"
version ".tar.gz"))
(sha256
(base32 "1a4z9kwgx1iqqzvv64si34m60gj34p7lp6rrcrb59s7ka5wa476q"))
(patches (list (search-patch "tcsh-fix-autotest.patch")))
(patch-flags '("-p0"))))
(method url-fetch)
;; Old tarballs are moved to old/.
(uri (list (string-append "ftp://ftp.astron.com/pub/tcsh/"
"tcsh-" version ".tar.gz")
(string-append "ftp://ftp.astron.com/pub/tcsh/"
"old/tcsh-" version ".tar.gz")))
(sha256
(base32
"1a4z9kwgx1iqqzvv64si34m60gj34p7lp6rrcrb59s7ka5wa476q"))
(patches (list (search-patch "tcsh-fix-autotest.patch")))
(patch-flags '("-p0"))))
(build-system gnu-build-system)
(inputs
`(("autoconf" ,autoconf)