nixpkgs/pkgs/development/libraries/libpng/15.nix

27 lines
625 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib }:
assert zlib != null;
stdenv.mkDerivation rec {
2014-09-21 18:47:08 +01:00
name = "libpng-1.5.19";
src = fetchurl {
url = "mirror://sourceforge/libpng/${name}.tar.xz";
2014-09-21 18:47:08 +01:00
sha256 = "1s990cdsdlbb78aq4sj2vq2849p2nbbbnbk5p8f9w45rn0v5q98y";
};
propagatedBuildInputs = [ zlib ];
doCheck = true;
passthru = { inherit zlib; };
meta = {
description = "The official reference implementation for the PNG file format";
homepage = http://www.libpng.org/pub/png/libpng.html;
2014-09-21 18:53:20 +01:00
license = stdenv.lib.licenses.libpng;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
branch = "1.5";
};
}