2024-02-25 10:14:40 +01:00
|
|
|
{ curl
|
|
|
|
, fetchFromGitHub
|
|
|
|
, freetype
|
|
|
|
, lib
|
|
|
|
, libGL
|
|
|
|
, libjpeg
|
|
|
|
, libogg
|
|
|
|
, libvorbis
|
|
|
|
, libX11
|
|
|
|
, libXxf86vm
|
|
|
|
, openal
|
|
|
|
, pkg-config
|
|
|
|
, stdenv
|
|
|
|
}:
|
2013-05-02 13:16:56 +02:00
|
|
|
|
2021-06-10 01:11:47 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "alienarena";
|
2024-02-25 10:14:40 +01:00
|
|
|
version = "7.71.6";
|
2013-05-02 13:16:56 +02:00
|
|
|
|
2024-02-25 10:14:40 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alienarena";
|
|
|
|
repo = "alienarena";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-Dml0VY5VQiWLq8LjItBSzNwJB9L4biJ/nJWmEGtG2ZY=";
|
2011-10-22 23:04:29 +02:00
|
|
|
};
|
2013-05-02 13:16:56 +02:00
|
|
|
|
2021-01-17 06:49:22 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2024-02-25 10:14:40 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
curl
|
|
|
|
freetype
|
|
|
|
libGL
|
|
|
|
libjpeg
|
|
|
|
libogg
|
|
|
|
libvorbis
|
|
|
|
libX11
|
|
|
|
libXxf86vm
|
|
|
|
openal
|
|
|
|
];
|
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 \
|
2019-11-26 16:40:05 +01:00
|
|
|
--replace libGL.so.1 ${libGL}/lib/libGL.so.1
|
2011-10-22 23:04:29 +02:00
|
|
|
'';
|
2013-05-02 13:16:56 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2024-02-25 10:14:40 +01:00
|
|
|
changelog = "https://github.com/alienarena/alienarena/releases/tag/${version}";
|
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.
|
|
|
|
'';
|
2024-02-25 10:14:40 +01:00
|
|
|
homepage = "https://alienarena.org";
|
2011-10-22 23:04:29 +02:00
|
|
|
# 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
|
|
|
};
|
|
|
|
}
|