2021-06-10 00:11:47 +01:00
|
|
|
{ lib, stdenv, fetchsvn, pkg-config, libjpeg, libX11, libXxf86vm, curl, libogg
|
2019-11-26 15:40:05 +00:00
|
|
|
, libvorbis, freetype, openal, libGL }:
|
2013-05-02 12:16:56 +01:00
|
|
|
|
2021-06-10 00:11:47 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "alienarena";
|
|
|
|
version = "7.71.2";
|
2013-05-02 12:16:56 +01:00
|
|
|
|
2021-06-10 00:11:47 +01:00
|
|
|
src = fetchsvn {
|
|
|
|
url = "svn://svn.icculus.org/alienarena/trunk";
|
|
|
|
rev = "5673";
|
|
|
|
sha256 = "1qfrgrp7nznk5n1jqvjba6l1w8y2ixzyx9swkpvd02rdwlwrp9kw";
|
2011-10-22 22:04:29 +01:00
|
|
|
};
|
2013-05-02 12:16:56 +01:00
|
|
|
|
2021-01-17 05:49:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ libjpeg libX11 curl libogg libvorbis
|
2019-11-26 15:40:05 +00:00
|
|
|
freetype openal libGL libXxf86vm ];
|
2013-05-02 12:16:56 +01:00
|
|
|
|
2011-10-22 22:04:29 +01:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace ./configure \
|
2013-10-24 10:10:43 +01:00
|
|
|
--replace libopenal.so.1 ${openal}/lib/libopenal.so.1 \
|
2019-11-26 15:40:05 +00:00
|
|
|
--replace libGL.so.1 ${libGL}/lib/libGL.so.1
|
2011-10-22 22:04:29 +01:00
|
|
|
'';
|
2013-05-02 12:16:56 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2011-10-22 22:04:29 +01: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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://red.planetarena.org";
|
2011-10-22 22:04:29 +01:00
|
|
|
# Engine is under GPLv2, everything else is under
|
2015-05-28 18:20:29 +01:00
|
|
|
license = licenses.unfreeRedistributable;
|
2015-05-27 20:56:04 +01:00
|
|
|
maintainers = with maintainers; [ astsmtl ];
|
|
|
|
platforms = platforms.linux;
|
2013-11-04 23:04:36 +00:00
|
|
|
hydraPlatforms = [];
|
2011-10-22 22:04:29 +01:00
|
|
|
};
|
|
|
|
}
|