summary refs log tree commit diff
path: root/gnu/packages/compression.scm
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2013-05-25 22:27:59 +0200
committerCyril Roelandt <tipecaml@gmail.com>2013-05-25 23:17:53 +0200
commita67f97fea147256506269c8d2b68623a6745bda4 (patch)
tree19275beb2999eae46fe68016ac1fa72bf961edbb /gnu/packages/compression.scm
parent923fbae1f0a0d2dba8d8cf22d5c04679f03b1468 (diff)
downloadguix-a67f97fea147256506269c8d2b68623a6745bda4.tar.gz
zlib: Add a sourceforge mirror.
This is especially useful since the tarball is deleted from zlib.net as soon as
a new version of zlib is released.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r--gnu/packages/compression.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 89cb014a3c..b39119f611 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -30,8 +30,10 @@
     (source
      (origin
       (method url-fetch)
-      (uri (string-append "http://zlib.net/zlib-"
-                          version ".tar.gz"))
+      (uri (list (string-append "http://zlib.net/zlib-"
+                                 version ".tar.gz")
+                 (string-append "mirror://sourceforge/libpng/zlib-"
+                                 version ".tar.gz")))
       (sha256
        (base32
         "1i96gsdvxqb6skp9a58bacf1wxamwi9m9pg4yn7cpf7g7239r77s"))))