nixpkgs-suyu/pkgs/development/libraries/libpng/default.nix

14 lines
324 B
Nix
Raw Normal View History

{stdenv, fetchurl, zlib}:
assert zlib != null;
stdenv.mkDerivation {
name = "libpng-1.2.18";
src = fetchurl {
url = http://dfn.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.18.tar.bz2;
sha256 = "0qhcy8r0r8280wahs91xi4p79gm2cb021x9bcww1r5bywvwn5kkg";
};
propagatedBuildInputs = [zlib];
inherit zlib;
}