1 { fetchurl, lib, stdenv, cmake, xorg, libGLU, libGL, SDL, openal, fontconfig, freealut, freetype, libogg, libvorbis, runtimeShell }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/openastromenace/astromenace-src-${version}.tar.bz2";
9 sha256 = "1rkz6lwjcd5mwv72kf07ghvx6z46kf3xs250mjbmnmjpn7r5sxwv";
12 nativeBuildInputs = [ cmake ];
13 buildInputs = [ xorg.libICE xorg.libX11 xorg.libXinerama libGLU libGL SDL openal fontconfig freealut freetype libogg libvorbis ];
16 ./AstroMenace --pack --rawdata=../RAW_VFS_DATA
25 cat > $out/bin/AstroMenace << EOF
27 $out/AstroMenace --dir=$out
30 chmod 755 $out/bin/AstroMenace
34 description = "Hardcore 3D space shooter with spaceship upgrade possibilities";
35 homepage = "https://www.viewizard.com/";
36 license = licenses.gpl3Plus;
37 platforms = platforms.linux;
38 mainProgram = "AstroMenace";