2012-02-16 14:05:41 +00:00
|
|
|
{ cabal, cairo, gtk2hsBuildtools, libc, mtl, pkgconfig, zlib }:
|
2010-07-22 19:04:39 +01:00
|
|
|
|
2011-08-23 11:35:49 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2010-07-22 19:04:39 +01:00
|
|
|
pname = "cairo";
|
2012-05-28 11:23:20 +01:00
|
|
|
version = "0.12.3.1";
|
|
|
|
sha256 = "173pql0n51a9z46vzpwd9q67nblhb61qirynjra9vzydiy79bfwi";
|
2012-02-16 14:05:41 +00:00
|
|
|
buildDepends = [ mtl ];
|
2011-08-23 11:35:49 +01:00
|
|
|
buildTools = [ gtk2hsBuildtools ];
|
2011-09-12 17:45:35 +01:00
|
|
|
extraLibraries = [ cairo libc pkgconfig zlib ];
|
2011-08-23 11:35:49 +01:00
|
|
|
pkgconfigDepends = [ cairo ];
|
2010-07-22 19:04:39 +01:00
|
|
|
meta = {
|
2011-09-12 17:45:35 +01:00
|
|
|
homepage = "http://projects.haskell.org/gtk2hs/";
|
2010-07-22 19:04:39 +01:00
|
|
|
description = "Binding to the Cairo library";
|
2011-08-15 12:27:02 +01:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2010-07-22 19:04:39 +01:00
|
|
|
};
|
|
|
|
})
|