2012-02-14 18:00:37 +01:00
|
|
|
{ cabal, Cabal, cairo, gtk2hsBuildtools, libc, mtl, pkgconfig, zlib
|
|
|
|
}:
|
2010-07-22 20:04:39 +02:00
|
|
|
|
2011-08-23 12:35:49 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2010-07-22 20:04:39 +02:00
|
|
|
pname = "cairo";
|
2011-11-15 18:54:50 +01:00
|
|
|
version = "0.12.2";
|
|
|
|
sha256 = "1sa0xfx14y4imq3bd9l0rqrmxls3l9yga249a31zfhcinnr1j9db";
|
2012-02-14 18:00:37 +01:00
|
|
|
buildDepends = [ Cabal mtl ];
|
2011-08-23 12:35:49 +02:00
|
|
|
buildTools = [ gtk2hsBuildtools ];
|
2011-09-12 18:45:35 +02:00
|
|
|
extraLibraries = [ cairo libc pkgconfig zlib ];
|
2011-08-23 12:35:49 +02:00
|
|
|
pkgconfigDepends = [ cairo ];
|
2010-07-22 20:04:39 +02:00
|
|
|
meta = {
|
2011-09-12 18:45:35 +02:00
|
|
|
homepage = "http://projects.haskell.org/gtk2hs/";
|
2010-07-22 20:04:39 +02:00
|
|
|
description = "Binding to the Cairo library";
|
2011-08-15 13:27:02 +02:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2010-07-22 20:04:39 +02:00
|
|
|
};
|
|
|
|
})
|