diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-10-06 09:45:17 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-10-06 09:57:12 +0200 |
commit | 8c43746f359cd9d8590b2b6bad0fc9544dd7481f (patch) | |
tree | af8de2ad82c2861bb651c7c8e128cc73f0b5f6e8 /gnu | |
parent | 04a6e43755e3f31756bc98e7f3021764fc36f941 (diff) | |
download | patches-8c43746f359cd9d8590b2b6bad0fc9544dd7481f.tar patches-8c43746f359cd9d8590b2b6bad0fc9544dd7481f.tar.gz |
gnu: libdaemon: Add alternate source URLs.
Fixes <http://bugs.gnu.org/18639>.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/libdaemon.scm (libdaemon)[source]: Add Debian and Fedora
mirrors.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/libdaemon.scm | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/gnu/packages/libdaemon.scm b/gnu/packages/libdaemon.scm index 0c77e280ac..24f5b51b29 100644 --- a/gnu/packages/libdaemon.scm +++ b/gnu/packages/libdaemon.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,15 +28,27 @@ (version "0.14") (source (origin (method url-fetch) - (uri (string-append - "http://0pointer.de/lennart/projects/libdaemon/libdaemon-" - version - ".tar.gz")) + (uri (list + (string-append + "mirror://debian/pool/main/libd/libdaemon/libdaemon_" + version ".orig.tar.gz") + "http://pkgs.fedoraproject.org/repo/pkgs/libdaemon/libdaemon-0.14.tar.gz/509dc27107c21bcd9fbf2f95f5669563/libdaemon-0.14.tar.gz" + + ;; This used to be the canonical URL but it vanished. + ;; See <http://bugs.gnu.org/18639>. + ;; (string-append + ;; "http://0pointer.de/lennart/projects/libdaemon/libdaemon-" + ;; version ".tar.gz") + )) (sha256 (base32 - "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx")))) + "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx")) + (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) + + ;; XXX: Stale URL, missing replacement. See <http://bugs.gnu.org/18639>. (home-page "http://0pointer.de/lennart/projects/libdaemon/") + (synopsis "Lightweight C library that eases the writing of UNIX daemons") (description "libdaemon is a lightweight C library that eases the writing of UNIX |