diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-03-01 22:22:24 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-03-01 22:22:24 +0000 |
commit | 11d1104a885bebce1b4ec226cfad648422d9669d (patch) | |
tree | 60295aae3769bc57d6984e4fabff56c32a2fe50d /pkgs/development/libraries/zlib | |
parent | a55fac1a8704d20acf8eccc6fb9d86beae02f400 (diff) |
* Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32731
Diffstat (limited to 'pkgs/development/libraries/zlib')
-rw-r--r-- | pkgs/development/libraries/zlib/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix index 7517b2e498acf..f3c1684fa3f57 100644 --- a/pkgs/development/libraries/zlib/default.nix +++ b/pkgs/development/libraries/zlib/default.nix @@ -1,12 +1,14 @@ { stdenv, fetchurl, static ? false }: +let version = "1.2.6"; in + stdenv.mkDerivation rec { - name = "zlib-1.2.6"; + name = "zlib-${version}"; src = fetchurl { - urls = - [ "http://www.zlib.net/${name}.tar.gz" - "http://gentoo.netnitco.net/distfiles/${name}.tar.gz" + urls = + [ "http://www.zlib.net/${name}.tar.gz" # old versions vanish from here + "mirror://sourceforge/libpng/zlib/${version}/${name}.tar.gz" ]; sha256 = "06x6m33ls1606ni7275q5z392csvh18dgs55kshfnvrfal45w8r1"; }; |