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-11-12 12:34:28 +01:00
|
|
|
version = "0.12.4";
|
|
|
|
sha256 = "0gy6nxhxam3yv0caj4psg9dd1a5yazh616fjbmjfh0kbk8vl6fbq";
|
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
|
|
|
};
|
|
|
|
})
|