summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-13 22:45:41 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-13 22:51:56 +0200
commitee5bae302e7e72fb126cd4a1185f2852b472420e (patch)
treed8d9177721b523eb784ed5d40f4717501df08ca6
parent1eefe4a87b51084731aaeec5ebcfd4b712059821 (diff)
downloadguix-ee5bae302e7e72fb126cd4a1185f2852b472420e.tar.gz
gnu: lftp: Add alternate URL for old tarballs.
* gnu/packages/ftp.scm (lftp)[source]: Add /old alternate URL.
-rw-r--r--gnu/packages/ftp.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 22ea1af965..790ffc66c2 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 ;;;
@@ -36,8 +36,10 @@
     (version "4.6.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "http://lftp.yar.ru/ftp/lftp-"
-                                  version ".tar.xz"))
+              (uri (list (string-append "http://lftp.yar.ru/ftp/lftp-"
+                                        version ".tar.xz")
+                         (string-append "http://lftp.yar.ru/ftp/old/lftp-"
+                                        version ".tar.xz")))
               (sha256
                (base32
                 "1grmp8zg7cjgjinz66mrh53whigkqzl90nlxj05hapnhk3ns3vni"))