mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
21 lines
639 B
Nix
21 lines
639 B
Nix
{ cabal, cairo, gtk2hsBuildtools, libc, mtl, pkgconfig, utf8String
|
|
, zlib
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "cairo";
|
|
version = "0.12.5.0";
|
|
sha256 = "1khpksznh51yl27hs0zbabx8df04d26ccwh0vjidcwf3flvrbgwb";
|
|
buildDepends = [ mtl utf8String ];
|
|
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 ];
|
|
};
|
|
})
|