2013-02-16 17:00:28 +00:00
|
|
|
{ stdenv, fetchurl, zlib }:
|
|
|
|
|
|
|
|
assert zlib != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-21 18:47:08 +01:00
|
|
|
name = "libpng-1.5.19";
|
2013-02-16 17:00:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libpng/${name}.tar.xz";
|
2014-09-21 18:47:08 +01:00
|
|
|
sha256 = "1s990cdsdlbb78aq4sj2vq2849p2nbbbnbk5p8f9w45rn0v5q98y";
|
2013-02-16 17:00:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2014-09-30 10:07:09 +01:00
|
|
|
branch = "1.5";
|
2013-02-16 17:00:28 +00:00
|
|
|
};
|
|
|
|
}
|