zlib: rename name to pname&version (#157751)

This commit is contained in:
Felix Bühler 2022-02-04 02:05:47 +01:00 committed by GitHub
parent 04fc7d2352
commit 3b8270ac54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";
};