2012-02-16 14:05:41 +00:00
|
|
|
{ cabal, expat, fontconfig, freetype, gd, libjpeg, libpng, zlib }:
|
2012-02-03 12:15:00 +00:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "gd";
|
|
|
|
version = "3000.7.1";
|
|
|
|
sha256 = "07rb02jfmz6bw853b6snw1inby9qgaygdmlsid35snc2xn2ylb50";
|
|
|
|
extraLibraries = [
|
|
|
|
expat fontconfig freetype gd libjpeg libpng zlib
|
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
description = "A Haskell binding to a subset of the GD graphics library";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|