forked from mirrors/nixpkgs
libpng-1.2: maintenance update
Also drop xz input, as it isn't needed (stdenv unpacks xz by itself).
This commit is contained in:
parent
e942b5892d
commit
e72b405104
|
@ -1,19 +1,17 @@
|
|||
{ stdenv, fetchurl, zlib, xz }:
|
||||
{ stdenv, fetchurl, zlib }:
|
||||
|
||||
assert !(stdenv ? cross) -> zlib != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libpng-1.2.51";
|
||||
name = "libpng-1.2.52";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libpng/${name}.tar.xz";
|
||||
sha256 = "0jkdlmnvn72jwm94dp98pznm9fy7alvcr2zpfh2dgbr2n09vimy7";
|
||||
sha256 = "1h0fa67x4bh7gcdh7qx87m4xpkdfqa7ihd4h678dcyh52jzhzyyl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zlib ];
|
||||
|
||||
nativeBuildInputs = [ xz ];
|
||||
|
||||
passthru = { inherit zlib; };
|
||||
|
||||
crossAttrs = stdenv.lib.optionalAttrs (stdenv.cross.libc == "libSystem") {
|
||||
|
|
Loading…
Reference in a new issue