This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
35 lines
658 B
Nix
35 lines
658 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
let
|
|
version = "1.32b-3";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "quake3-pointrelease";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${version}.x86.run";
|
|
sha256 = "11piyksfqyxwl9mpgbc71w9sacsh4d3cdsgia0cy0dbbap2k4qf3";
|
|
};
|
|
|
|
buildCommand = ''
|
|
sh $src --tar xf
|
|
|
|
mkdir -p $out/baseq3
|
|
cp baseq3/*.pk3 $out/baseq3
|
|
'';
|
|
|
|
preferLocalBuild = true;
|
|
|
|
meta = {
|
|
description = "Quake 3 Arena point release";
|
|
license = lib.licenses.unfreeRedistributable;
|
|
platforms = lib.platforms.all;
|
|
maintainers = [ ];
|
|
};
|
|
}
|