~ruther/guix-local

97c15a297da3ecefcd0d4af902158cef239ff3b9 — Ludovic Courtès 10 years ago 98b87b8
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.
1 files changed, 11 insertions(+), 7 deletions(-)

M gnu/packages/tcsh.scm
M gnu/packages/tcsh.scm => gnu/packages/tcsh.scm +11 -7
@@ 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)