* Now Nixpkgs is officially complete.
svn path=/nixpkgs/trunk/; revision=7573
This commit is contained in:
parent
684951cb2e
commit
735bad8c32
2 changed files with 25 additions and 0 deletions
21
pkgs/games/rogue/default.nix
Normal file
21
pkgs/games/rogue/default.nix
Normal file
|
@ -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.";
|
||||
}
|
|
@ -2882,6 +2882,10 @@ rec {
|
|||
inherit fetchurl stdenv x11 SDL mesa openal;
|
||||
};
|
||||
|
||||
rogue = import ../games/rogue {
|
||||
inherit fetchurl stdenv ncurses;
|
||||
};
|
||||
|
||||
scummvm = import ../games/scummvm {
|
||||
inherit fetchurl stdenv SDL;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue