gnu: libesmtp: Add alternate source URL.

* gnu/packages/mail.scm (libesmtp)[source]: Add alternate URL.
master
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
1 changed files with 8 additions and 2 deletions

View File

@ -1461,8 +1461,14 @@ format and headers.")
(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"))))