2007-09-21 21:43:43 +01:00
|
|
|
{stdenv, fetchurl, zlib, libpng, freetype, libjpeg, fontconfig}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gd-2.0.35";
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2007-09-21 21:43:43 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.libgd.org/releases/gd-2.0.35.tar.bz2;
|
|
|
|
sha256 = "1y80lcmb8qbzf0a28841zxhq9ndfapmh2fsrqfd9lalxfj8288mz";
|
|
|
|
};
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2007-09-21 21:43:43 +01:00
|
|
|
buildInputs = [zlib libpng freetype];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [libjpeg fontconfig]; # urgh
|
|
|
|
|
2016-01-23 21:19:59 +00:00
|
|
|
hardening_format = false;
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2007-09-21 21:43:43 +01:00
|
|
|
configureFlags = "--without-x";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.libgd.org/;
|
|
|
|
description = "An open source code library for the dynamic creation of images by programmers";
|
|
|
|
};
|
|
|
|
}
|