1{
2 lib,
3 stdenv,
4 fetchurl,
5}:
6
7let
8 version = "1.32b-3";
9in
10stdenv.mkDerivation {
11 pname = "quake3-pointrelease";
12 inherit version;
13
14 src = fetchurl {
15 url = "https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${version}.x86.run";
16 sha256 = "11piyksfqyxwl9mpgbc71w9sacsh4d3cdsgia0cy0dbbap2k4qf3";
17 };
18
19 buildCommand = ''
20 sh $src --tar xf
21
22 mkdir -p $out/baseq3
23 cp baseq3/*.pk3 $out/baseq3
24 '';
25
26 preferLocalBuild = true;
27
28 meta = with lib; {
29 description = "Quake 3 Arena point release";
30 license = licenses.unfreeRedistributable;
31 platforms = platforms.all;
32 maintainers = with maintainers; [ abbradar ];
33 };
34}