diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-01-08 21:19:15 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-01-08 21:19:15 +0000 |
commit | 735bad8c322585b2e5028bbc8684f03a2578bf87 (patch) | |
tree | 044b50f9075277a1823a8361a8fd794ab4ed73c1 /pkgs/games/rogue | |
parent | 684951cb2e0aab811ccf10a7ff140c810fb4049b (diff) |
* Now Nixpkgs is officially complete.
svn path=/nixpkgs/trunk/; revision=7573
Diffstat (limited to 'pkgs/games/rogue')
-rw-r--r-- | pkgs/games/rogue/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/games/rogue/default.nix b/pkgs/games/rogue/default.nix new file mode 100644 index 0000000000000..569c287c0510d --- /dev/null +++ b/pkgs/games/rogue/default.nix @@ -0,0 +1,21 @@ +{stdenv, fetchurl, ncurses}: + +stdenv.mkDerivation { + name = "rogue-5.4.2"; + src = fetchurl { + url = http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.2-src.tar.gz; + md5 = "bd656cb017a579eba835a0ee445a0a32"; + }; + 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."; +} |