2007-11-12 14:48:33 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, ghc, gtk, cairo, GConf, libglade
|
|
|
|
, glib, libgtkhtml, gtkhtml}:
|
|
|
|
|
2008-01-25 13:42:07 +01:00
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
pname = "gtk2hs";
|
|
|
|
version = "0.9.12.1";
|
|
|
|
fname = "${pname}-${version}";
|
|
|
|
name = "haskell-${fname}";
|
2007-11-12 14:48:33 +01:00
|
|
|
src = fetchurl {
|
2008-01-25 13:42:07 +01:00
|
|
|
url = "mirror://sourceforge/${pname}/${fname}.tar.gz";
|
2007-11-12 14:48:33 +01:00
|
|
|
sha256 = "110z6v9gzhg6nzlz5gs8aafmipbva6rc50b8z1jgq0k2g25hfy22";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [pkgconfig ghc gtk glib cairo GConf libglade libgtkhtml gtkhtml];
|
|
|
|
|
2008-01-25 13:42:07 +01:00
|
|
|
configureFlags = [
|
2007-11-12 14:48:33 +01:00
|
|
|
"--enable-cairo"
|
|
|
|
];
|
|
|
|
|
2008-01-25 13:42:07 +01:00
|
|
|
})
|