2003-11-06 18:24:19 +03:00
|
|
|
{stdenv, fetchurl, zlib}:
|
|
|
|
|
2004-03-29 14:25:25 +04:00
|
|
|
assert zlib != null;
|
2003-11-06 18:24:19 +03:00
|
|
|
|
2004-03-29 21:23:01 +04:00
|
|
|
stdenv.mkDerivation {
|
2008-03-06 19:22:41 +03:00
|
|
|
name = "libpng-1.2.25";
|
2003-11-06 18:24:19 +03:00
|
|
|
src = fetchurl {
|
2008-03-06 19:22:41 +03:00
|
|
|
url = mirror://sourceforge/libpng/libpng-1.2.25.tar.bz2;
|
|
|
|
sha256 = "1q3w2lfr7vkzvfxdgf54vj5s29xw8fg3hzb1lnfy9m9j1kdfm4if";
|
2003-11-06 18:24:19 +03:00
|
|
|
};
|
2004-04-02 17:58:55 +04:00
|
|
|
propagatedBuildInputs = [zlib];
|
|
|
|
inherit zlib;
|
2008-03-06 19:22:41 +03:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The official reference implementation for the PNG file format";
|
|
|
|
homepage = http://www.libpng.org/pub/png/libpng.html;
|
|
|
|
};
|
2003-11-06 18:24:19 +03:00
|
|
|
}
|