* added Haskell package gtk2hs

svn path=/nixpkgs/trunk/; revision=9651
This commit is contained in:
Mart Kolthof 2007-11-12 13:48:33 +00:00
parent c8e022a029
commit 93ce7c7a69
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, pkgconfig, ghc, gtk, cairo, GConf, libglade
, glib, libgtkhtml, gtkhtml}:
stdenv.mkDerivation {
name = "gtk2hs-0.9.12.1";
src = fetchurl {
url = mirror://sourceforge/gtk2hs/gtk2hs-0.9.12.1.tar.gz;
sha256 = "110z6v9gzhg6nzlz5gs8aafmipbva6rc50b8z1jgq0k2g25hfy22";
};
buildInputs = [pkgconfig ghc gtk glib cairo GConf libglade libgtkhtml gtkhtml];
configureFlags = [
"--enable-cairo"
];
}

View File

@ -2410,6 +2410,11 @@ rec {
### DEVELOPMENT / LIBRARIES / HASKELL
gtk2hs = import ../development/libraries/haskell/gtk2hs {
inherit pkgconfig stdenv fetchurl cairo;
inherit (gnome) gtk glib GConf libglade libgtkhtml gtkhtml;
ghc = ghc661;
};
uulib64 = import ../development/libraries/haskell/uulib { # !!! remove?
inherit stdenv fetchurl ghc;