nixpkgs/pkgs/development/libraries/haskell/gtk2hs/default.nix
Yury G. Kudryashov 9b2659eec7 Merged with trunk again
svn path=/nixpkgs/branches/stdenv-updates/; revision=10295
2008-01-25 14:16:25 +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"
];
})