diff --git a/pkgs/games/LambdaHack/default.nix b/pkgs/games/LambdaHack/default.nix new file mode 100644 index 000000000000..b51538ef3636 --- /dev/null +++ b/pkgs/games/LambdaHack/default.nix @@ -0,0 +1,13 @@ +{cabal, binary, mtl, zlib, vty}: + +cabal.mkDerivation (self : { + pname = "LambdaHack"; + version = "0.1.20090606"; + name = self.fname; + sha256 = "9b8d790b0a99231aff2d108b50dd2f2998b09bec3ffedf9f1415557aaeb6039b"; + propagatedBuildInputs = [binary mtl zlib vty]; + meta = { + description = "a small roguelike game"; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 71c823699312..c80352d5bfea 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -639,6 +639,10 @@ rec { # Games. + LambdaHack = import ../games/LambdaHack { + inherit cabal binary mtl zlib vty; + }; + MazesOfMonad = import ../games/MazesOfMonad { inherit cabal HUnit mtl regexPosix time; };