Adding the videogame teeter torture.
svn path=/nixpkgs/trunk/; revision=27500
This commit is contained in:
parent
8571ea8fda
commit
6074d7f112
31
pkgs/games/teetertorture/default.nix
Normal file
31
pkgs/games/teetertorture/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{stdenv, fetchurl, SDL, SDL_image, SDL_mixer}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "teeter-torture-20051018";
|
||||||
|
src = fetchurl {
|
||||||
|
url = ftp://ftp.tuxpaint.org/unix/x/teetertorture/source/teetertorture-2005-10-18.tar.gz;
|
||||||
|
sha256 = "175gdbkx3m82icyzvwpyzs4v2fd69c695k5n8ca0lnjv81wnw2hr";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ SDL SDL_image SDL_mixer];
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
sed -i s,data/,$out/share/teetertorture/, src/teetertorture.c
|
||||||
|
'';
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i '/free(home)/d' src/teetertorture.c
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir $out/bin $out/share/teetertorture
|
||||||
|
cp teetertorture $out/bin
|
||||||
|
cp -R data/* $out/share/teetertorture
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://www.newbreedsoftware.com/vectoroids/;
|
||||||
|
description = "Simple shooting game with your cannon is sitting atop a teeter totter";
|
||||||
|
license = "GPLv2+";
|
||||||
|
};
|
||||||
|
}
|
@ -7467,6 +7467,8 @@ let
|
|||||||
|
|
||||||
tbe = callPackage ../games/the-butterfly-effect {};
|
tbe = callPackage ../games/the-butterfly-effect {};
|
||||||
|
|
||||||
|
teetertorture = callPackage ../games/teetertorture { };
|
||||||
|
|
||||||
teeworlds = callPackage ../games/teeworlds { };
|
teeworlds = callPackage ../games/teeworlds { };
|
||||||
|
|
||||||
tennix = callPackage ../games/tennix { };
|
tennix = callPackage ../games/tennix { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user