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
17 lines
447 B
Nix
17 lines
447 B
Nix
{cabal, parsec, time}:
|
|
|
|
cabal.mkDerivation (self : {
|
|
pname = "wxdirect";
|
|
version = "0.12.1.3";
|
|
sha256 = "da59315339dc78b3bfbe08c1681d53c74a56e7c3de0f41a90099bd289b1bfb11";
|
|
preConfigure = ''
|
|
sed -i 's|\(containers.*\) && < 0.4|\1|' ${self.pname}.cabal
|
|
sed -i 's|\(time.*\) && < 1.2|\1|' ${self.pname}.cabal
|
|
'';
|
|
propagatedBuildInputs = [parsec time];
|
|
meta = {
|
|
description = "helper tool for building wxHaskell";
|
|
};
|
|
})
|
|
|