2011-10-22 23:04:29 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libjpeg, libX11, libXxf86vm, curl, libogg
|
2018-02-24 14:12:44 +01:00
|
|
|
, libvorbis, freetype, openal, libGLU_combined }:
|
2013-05-02 13:16:56 +02:00
|
|
|
|
2011-10-22 23:04:29 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2013-10-24 11:10:43 +02:00
|
|
|
name = "alienarena-7.65";
|
2013-05-02 13:16:56 +02:00
|
|
|
|
2011-10-22 23:04:29 +02:00
|
|
|
src = fetchurl {
|
2013-10-24 11:10:43 +02:00
|
|
|
url = "http://icculus.org/alienarena/Files/alienarena-7.65-linux20130207.tar.gz";
|
|
|
|
sha256 = "03nnv4m2xmswr0020hssajncdb8sy95jp5yccsm53sgxga4r8igg";
|
2011-10-22 23:04:29 +02:00
|
|
|
};
|
2013-05-02 13:16:56 +02:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libjpeg libX11 curl libogg libvorbis
|
2018-02-24 14:12:44 +01:00
|
|
|
freetype openal libGLU_combined libXxf86vm ];
|
2013-05-02 13:16:56 +02:00
|
|
|
|
2011-10-22 23:04:29 +02:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace ./configure \
|
2013-10-24 11:10:43 +02:00
|
|
|
--replace libopenal.so.1 ${openal}/lib/libopenal.so.1 \
|
2018-02-24 14:12:44 +01:00
|
|
|
--replace libGL.so.1 ${libGLU_combined}/lib/libGL.so.1
|
2011-10-22 23:04:29 +02:00
|
|
|
'';
|
2013-05-02 13:16:56 +02:00
|
|
|
|
2015-05-27 21:56:04 +02:00
|
|
|
meta = with stdenv.lib; {
|
2011-10-22 23:04:29 +02:00
|
|
|
description = "A free, stand-alone first-person shooter computer game";
|
|
|
|
longDescription = ''
|
|
|
|
Do you like old school deathmatch with modern features? How
|
|
|
|
about rich, colorful, arcade-like atmospheres? How about retro
|
|
|
|
Sci-Fi? Then you're going to love what Alien Arena has in store
|
|
|
|
for you! This game combines some of the very best aspects of
|
|
|
|
such games as Quake III and Unreal Tournament and wraps them up
|
|
|
|
with a retro alien theme, while adding tons of original ideas to
|
|
|
|
make the game quite unique.
|
|
|
|
'';
|
|
|
|
homepage = http://red.planetarena.org;
|
|
|
|
# Engine is under GPLv2, everything else is under
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.unfreeRedistributable;
|
2015-05-27 21:56:04 +02:00
|
|
|
maintainers = with maintainers; [ astsmtl ];
|
|
|
|
platforms = platforms.linux;
|
2013-11-05 00:04:36 +01:00
|
|
|
hydraPlatforms = [];
|
2011-10-22 23:04:29 +02:00
|
|
|
};
|
|
|
|
}
|