guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: tcsh: Add alternate URL for old tarballs.


From: Ludovic Courtès
Subject: 01/03: gnu: tcsh: Add alternate URL for old tarballs.
Date: Sun, 31 May 2015 20:40:00 +0000

civodul pushed a commit to branch master
in repository guix.

commit 97c15a297da3ecefcd0d4af902158cef239ff3b9
Author: Ludovic Courtès <address@hidden>
Date:   Sun May 31 21:11:21 2015 +0200

    gnu: tcsh: Add alternate URL for old tarballs.
    
    Reported by Alexander Vorobiev <address@hidden>.
    
    * gnu/packages/tcsh.scm (tcsh)[source]: Add alternate URL.
---
 gnu/packages/tcsh.scm |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/tcsh.scm b/gnu/packages/tcsh.scm
index 814f2a6..0bd1b92 100644
--- a/gnu/packages/tcsh.scm
+++ b/gnu/packages/tcsh.scm
@@ -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)



reply via email to

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