aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2015-12-24 12:46:24 -0500
committerLeo Famulari <leo@famulari.name>2015-12-25 23:56:15 -0500
commit4150ac88bc27dd0c27255b13f8b537a6028918a6 (patch)
tree7425f62953a598de3f67bafd454e47ca6248ad93
parent8fa16f63e75c968e55274abffbc15d3184c66a15 (diff)
downloadgnu-guix-4150ac88bc27dd0c27255b13f8b537a6028918a6.tar
gnu-guix-4150ac88bc27dd0c27255b13f8b537a6028918a6.tar.gz
gnu: libsodium: Add alternate URL.
* gnu/packages/crypto.scm (libsodium)[source]: Add alternate URL.
-rw-r--r--gnu/packages/crypto.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index d4742ca0e4..a8d675be4c 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -30,9 +30,12 @@
(version "1.0.0")
(source (origin
(method url-fetch)
- (uri (string-append
- "http://download.libsodium.org/libsodium/releases/libsodium-"
- version ".tar.gz"))
+ (uri (list (string-append
+ "http://download.libsodium.org/libsodium/"
+ "releases/libsodium-" version ".tar.gz")
+ (string-append
+ "https://download.libsodium.org/libsodium/"
+ "releases/old/libsodium-" version ".tar.gz")))
(sha256
(base32
"19f9vf0shfp4rc4l791r6xjg06z4i8psj1zkjkm3z5b640yzxlff"))))