mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
21 lines
659 B
Nix
21 lines
659 B
Nix
{ cabal, cairo, glib, gtk, gtk2hsBuildtools, libc, mtl, pango
|
|
, pkgconfig
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "gtk";
|
|
version = "0.12.4";
|
|
sha256 = "0w6ffi9fdz44kb6g1kipk5780r2wc2l3f5cgxjx5nd60qz1xh7p2";
|
|
buildDepends = [ cairo glib mtl pango ];
|
|
buildTools = [ gtk2hsBuildtools ];
|
|
extraLibraries = [ libc pkgconfig ];
|
|
pkgconfigDepends = [ glib gtk ];
|
|
meta = {
|
|
homepage = "http://projects.haskell.org/gtk2hs/";
|
|
description = "Binding to the Gtk+ graphical user interface library";
|
|
license = self.stdenv.lib.licenses.lgpl21;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|