2013-12-01 23:29:09 +01:00
|
|
|
{ cabal, cairo, gtk2hsBuildtools, libc, mtl, pkgconfig, utf8String
|
|
|
|
, 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";
|
2013-12-01 23:29:09 +01:00
|
|
|
version = "0.12.5.0";
|
|
|
|
sha256 = "1khpksznh51yl27hs0zbabx8df04d26ccwh0vjidcwf3flvrbgwb";
|
|
|
|
buildDepends = [ mtl utf8String ];
|
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;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2010-07-22 20:04:39 +02:00
|
|
|
};
|
|
|
|
})
|