mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
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
18 lines
472 B
Nix
18 lines
472 B
Nix
{cabal, binary, mtl, zlib, vty, ConfigFile, MissingH, filepath}:
|
|
|
|
cabal.mkDerivation (self : {
|
|
pname = "LambdaHack";
|
|
version = "0.1.20110117";
|
|
name = self.fname;
|
|
sha256 = "186ccl1yq0r84h9azzwj0zyy3kf905i3kjlnziyi52ysqd61qw90";
|
|
propagatedBuildInputs =
|
|
[binary mtl zlib vty ConfigFile MissingH filepath];
|
|
preConfigure = ''
|
|
sed -i 's|\(filepath.*\) && < 1.2|\1|' ${self.pname}.cabal
|
|
'';
|
|
meta = {
|
|
description = "a small roguelike game";
|
|
};
|
|
})
|
|
|