diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-08-27 14:48:28 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-08-27 14:48:28 +0000 |
commit | 86173ade50c313eeeae4c687c308633ca0f2751c (patch) | |
tree | 369726a8f9cbc83ba5847a79311d5197ce2fa2b8 /pkgs/games/rogue | |
parent | e64067e28be313521223619039e0d8766b5decbe (diff) |
* Rogue 5.4.4.
svn path=/nixpkgs/trunk/; revision=12745
Diffstat (limited to 'pkgs/games/rogue')
-rw-r--r-- | pkgs/games/rogue/default.nix | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/pkgs/games/rogue/default.nix b/pkgs/games/rogue/default.nix index 569c287c0510d..16fb621d01d84 100644 --- a/pkgs/games/rogue/default.nix +++ b/pkgs/games/rogue/default.nix @@ -1,21 +1,17 @@ {stdenv, fetchurl, ncurses}: stdenv.mkDerivation { - name = "rogue-5.4.2"; + name = "rogue-5.4.4"; + src = fetchurl { - url = http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.2-src.tar.gz; - md5 = "bd656cb017a579eba835a0ee445a0a32"; + url = http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.4-src.tar.gz; + sha256 = "18g81274d0f7sr04p7h7irz0d53j6kd9j1y3zbka1gcqq0gscdvx"; }; - setSourceRoot = "sourceRoot=."; + buildInputs = [ncurses]; - preBuild = " - ln -s ${ncurses}/include ncurses - substituteInPlace Makefile --replace curses ncurses - "; - installPhase = " - ensureDir $out/bin - cp rogue54 $out/bin - ln -s rogue54 $out/bin/rogue - "; - NIX_CFLAGS_COMPILE = "-I."; + + meta = { + homepage = http://rogue.rogueforge.net/rogue-5-4/; + description = "The final version of the original Rogue game developed for the UNIX operating system"; + }; } |