nixpkgs/pkgs/games/LambdaHack/default.nix
Peter Simons 21b26aef25 Updated Haskell package meta sections.
svn path=/nixpkgs/trunk/; revision=28583
2011-08-15 11:27:02 +00:00

23 lines
664 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";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})