2003-11-06 10:24:19 -05:00
|
|
|
{stdenv, fetchurl, zlib}:
|
|
|
|
|
2004-03-29 05:25:25 -05:00
|
|
|
assert zlib != null;
|
2003-11-06 10:24:19 -05:00
|
|
|
|
2009-03-05 09:09:43 -05:00
|
|
|
stdenv.mkDerivation rec {
|
2009-10-29 10:19:39 -04:00
|
|
|
name = "libpng-1.2.40";
|
2008-06-12 05:49:40 -04:00
|
|
|
|
2003-11-06 10:24:19 -05:00
|
|
|
src = fetchurl {
|
2009-10-29 10:19:39 -04:00
|
|
|
url = "mirror://sourceforge/libpng/${name}.tar.gz";
|
|
|
|
md5 = "a2f6808735bf404967f81519a967fb2a";
|
2003-11-06 10:24:19 -05:00
|
|
|
};
|
2008-06-12 05:49:40 -04:00
|
|
|
|
2004-04-02 08:58:55 -05:00
|
|
|
propagatedBuildInputs = [zlib];
|
2008-06-12 05:49:40 -04:00
|
|
|
|
2004-04-02 08:58:55 -05:00
|
|
|
inherit zlib;
|
2008-03-06 11:22:41 -05:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The official reference implementation for the PNG file format";
|
|
|
|
homepage = http://www.libpng.org/pub/png/libpng.html;
|
2009-10-29 10:19:39 -04:00
|
|
|
license = "free-non-copyleft"; # http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
|
2008-03-06 11:22:41 -05:00
|
|
|
};
|
2003-11-06 10:24:19 -05:00
|
|
|
}
|