22 lines
664 B
Nix
22 lines
664 B
Nix
{ cabal, cairo, gtk2hsBuildtools, libc, mtl, pkgconfig, zlib }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "cairo";
|
|
version = "0.12.4";
|
|
sha256 = "0gy6nxhxam3yv0caj4psg9dd1a5yazh616fjbmjfh0kbk8vl6fbq";
|
|
buildDepends = [ mtl ];
|
|
buildTools = [ gtk2hsBuildtools ];
|
|
extraLibraries = [ cairo libc pkgconfig zlib ];
|
|
pkgconfigDepends = [ cairo ];
|
|
meta = {
|
|
homepage = "http://projects.haskell.org/gtk2hs/";
|
|
description = "Binding to the Cairo library";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [
|
|
self.stdenv.lib.maintainers.andres
|
|
self.stdenv.lib.maintainers.simons
|
|
];
|
|
};
|
|
})
|