20 lines
661 B
Nix
20 lines
661 B
Nix
{ cabal, cairo, glib, gtk, gtk2hsBuildtools, libc, mtl, pango
|
|
, pkgconfig
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "gtk";
|
|
version = "0.12.5.6";
|
|
sha256 = "06i6y7psl8fd7cy7jn0aqp98k876spr5vjgjxs8730pw3x17z6ld";
|
|
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 ];
|
|
};
|
|
})
|