added astromenace: Hardcore 3D space shooter
This commit is contained in:
parent
61121203c2
commit
f3739e2aca
36
pkgs/games/astromenace/default.nix
Normal file
36
pkgs/games/astromenace/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ fetchurl, stdenv, cmake, x11, mesa, SDL, openal, freealut, libogg, libvorbis }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "1.3.2";
|
||||||
|
name = "astromenace-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/openastromenace/astromenace-src-${version}.tar.bz2";
|
||||||
|
sha256 = "1rkz6lwjcd5mwv72kf07ghvx6z46kf3xs250mjbmnmjpn7r5sxwv";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake x11 mesa SDL openal freealut libogg libvorbis ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
cmake ./
|
||||||
|
make
|
||||||
|
./AstroMenace --pack --rawdata=../RAW_VFS_DATA
|
||||||
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp AstroMenace $out
|
||||||
|
cp gamedata.vfs $out
|
||||||
|
cat > $out/bin/AstroMenace << EOF
|
||||||
|
#!/bin/bash
|
||||||
|
$out/AstroMenace --dir=$out
|
||||||
|
EOF
|
||||||
|
chmod 755 $out/bin/AstroMenace
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Hardcore 3D space shooter with spaceship upgrade possibilities.";
|
||||||
|
homepage = http://www.viewizard.com/;
|
||||||
|
license = stdenv.lib.licenses.gpl3;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -10183,6 +10183,8 @@ let
|
|||||||
libsigcxx = libsigcxx12;
|
libsigcxx = libsigcxx12;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
astromenace = callPackage ../games/astromenace { };
|
||||||
|
|
||||||
atanks = callPackage ../games/atanks {};
|
atanks = callPackage ../games/atanks {};
|
||||||
|
|
||||||
ballAndPaddle = callPackage ../games/ball-and-paddle {
|
ballAndPaddle = callPackage ../games/ball-and-paddle {
|
||||||
|
Loading…
Reference in New Issue
Block a user