zlib: rename name to pname&version (#157751)
This commit is contained in:
parent
04fc7d2352
commit
3b8270ac54
1 changed files with 3 additions and 3 deletions
|
@ -22,13 +22,13 @@ assert shared || static;
|
|||
assert splitStaticOutput -> static;
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "zlib-${version}";
|
||||
pname = "zlib";
|
||||
version = "1.2.11";
|
||||
|
||||
src = fetchurl {
|
||||
urls =
|
||||
[ "https://www.zlib.net/fossils/${name}.tar.gz" # stable archive path
|
||||
"mirror://sourceforge/libpng/zlib/${version}/${name}.tar.gz"
|
||||
[ "https://www.zlib.net/fossils/zlib-${version}.tar.gz" # stable archive path
|
||||
"mirror://sourceforge/libpng/zlib/${version}/zlib-${version}.tar.gz"
|
||||
];
|
||||
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue