3e0ac9b040
Several changes, some highlights: * Structure of haskell-packages.nix updated. It's now easier to select different default versions of packages for different versions of GHC. * GHC 7.0.2 is now default. * Haskell Platform 2011.2.0.0 has been added and is now default. * Several packages have been updated (gtk2hs, gitit, xmonad, darcs, ...). * Some old packages have been removed. svn path=/nixpkgs/trunk/; revision=26288
22 lines
631 B
Nix
22 lines
631 B
Nix
{cabal, time, parsec, stm, wxdirect, libX11, mesa, wxGTK}:
|
|
|
|
cabal.mkDerivation (self : {
|
|
pname = "wxcore";
|
|
version = "0.12.1.6";
|
|
sha256 = "162m7z8nzdwsszha87mvz7dzxh268n0sgymf3vq2yn5axw7zx5ap";
|
|
propagatedBuildInputs = [time parsec stm libX11 wxGTK mesa wxdirect];
|
|
preConfigure = ''
|
|
sed -i 's|\(containers.*\) && < 0.4|\1|' ${self.pname}.cabal
|
|
'';
|
|
/* configureFlags = [ "--with-opengl" ]; */
|
|
/*
|
|
preConfigure = ''
|
|
sed -i 's/ghc-pkg latest/ghc-pkg --global latest/g' configure
|
|
sed -i 's/pkg describe/pkg --global describe/g' configure
|
|
'';
|
|
*/
|
|
meta = {
|
|
description = "wxHaskell core";
|
|
};
|
|
})
|
|
|