2012-02-16 15:05:41 +01:00
|
|
|
{ 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";
|
2012-05-28 12:23:20 +02:00
|
|
|
version = "0.12.3.1";
|
|
|
|
sha256 = "173pql0n51a9z46vzpwd9q67nblhb61qirynjra9vzydiy79bfwi";
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ 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;
|
2012-03-24 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2010-07-22 20:04:39 +02:00
|
|
|
};
|
|
|
|
})
|