nixpkgs/pkgs/development/libraries/haskell/gtk2hs/default.nix
Andres Löh 4a49a7befc * gtk2hs switched to ghc-6.8.2 (but still not following the scheme of the other Haskell libs)
* HDBC with postgresql and sqlite3 drivers added

svn path=/nixpkgs/trunk/; revision=10287
2008-01-25 12:42:07 +00:00

21 lines
514 B
Nix

{stdenv, fetchurl, pkgconfig, ghc, gtk, cairo, GConf, libglade
, glib, libgtkhtml, gtkhtml}:
stdenv.mkDerivation (rec {
pname = "gtk2hs";
version = "0.9.12.1";
fname = "${pname}-${version}";
name = "haskell-${fname}";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${fname}.tar.gz";
sha256 = "110z6v9gzhg6nzlz5gs8aafmipbva6rc50b8z1jgq0k2g25hfy22";
};
buildInputs = [pkgconfig ghc gtk glib cairo GConf libglade libgtkhtml gtkhtml];
configureFlags = [
"--enable-cairo"
];
})