nixpkgs/pkgs/development/libraries/haskell/cairo/default.nix

22 lines
661 B
Nix
Raw Normal View History

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