nixpkgs/pkgs/development/libraries/haskell/cairo/default.nix
Peter Simons c8ae7cc8bb Updated build expressions for the current version of cabal.nix.
svn path=/nixpkgs/trunk/; revision=28772
2011-08-23 10:35:49 +00:00

22 lines
661 B
Nix

{ cabal, cairo, glibc, gtk2hsBuildtools, mtl, pkgconfig, zlib }:
cabal.mkDerivation (self: {
pname = "cairo";
version = "0.12.0";
sha256 = "0n2sqbf8wjjvm5m1igkq685vqvc0lil3gmcs3i0g9hy7lsjnlwr9";
buildDepends = [ mtl ];
buildTools = [ gtk2hsBuildtools ];
extraLibraries = [ pkgconfig glibc cairo zlib ];
pkgconfigDepends = [ cairo ];
meta = {
homepage = "http://www.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
];
};
})