Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00

68 lines
1.6 KiB
Nix

{
curl,
fetchFromGitHub,
freetype,
lib,
libGL,
libjpeg,
libogg,
libvorbis,
libX11,
libXxf86vm,
openal,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "alienarena";
version = "7.71.7";
src = fetchFromGitHub {
owner = "alienarena";
repo = "alienarena";
rev = version;
hash = "sha256-ri0p/0onI5DU7kDxwdFxRyT1LQLVe89VNEYPXPgilOs=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
curl
freetype
libGL
libjpeg
libogg
libvorbis
libX11
libXxf86vm
openal
];
patchPhase = ''
substituteInPlace ./configure \
--replace libopenal.so.1 ${openal}/lib/libopenal.so.1 \
--replace libGL.so.1 ${libGL}/lib/libGL.so.1
'';
meta = with lib; {
changelog = "https://github.com/alienarena/alienarena/releases/tag/${version}";
description = "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 = "https://alienarena.org";
# Engine is under GPLv2, everything else is under
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ astsmtl ];
platforms = platforms.linux;
hydraPlatforms = [ ];
};
}