gnu: libesmtp: Add alternate source URL.

* gnu/packages/mail.scm (libesmtp)[source]: Add alternate URL.
This commit is contained in:
Leo Famulari 2017-03-21 16:31:57 -04:00
parent a9681c74ca
commit 049e02eaa2
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -1461,8 +1461,14 @@ (define-public libesmtp
(source
(origin
(method url-fetch)
(uri (string-append "http://www.stafford.uklinux.net/libesmtp/libesmtp-"
version ".tar.bz2"))
(uri (list (string-append "https://pkgs.fedoraproject.org/repo/pkgs/"
"libesmtp/libesmtp-" version ".tar.bz2/"
"bf3915e627fd8f35524a8fdfeed979c8/libesmtp-"
version ".tar.bz2")
;; XXX This site is offline, so we fetch Fedora's cached copy
;; of the source tarball.
(string-append "http://www.stafford.uklinux.net/libesmtp/libesmtp-"
version ".tar.bz2")))
(sha256
(base32
"02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh"))))