diff options
Diffstat (limited to 'nixpkgs/pkgs/games/quake3/content/pointrelease.nix')
-rw-r--r-- | nixpkgs/pkgs/games/quake3/content/pointrelease.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/quake3/content/pointrelease.nix b/nixpkgs/pkgs/games/quake3/content/pointrelease.nix new file mode 100644 index 000000000000..d9c9a55ddce9 --- /dev/null +++ b/nixpkgs/pkgs/games/quake3/content/pointrelease.nix @@ -0,0 +1,29 @@ +{ 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 = with lib; { + description = "Quake 3 Arena point release"; + license = licenses.unfreeRedistributable; + platforms = platforms.all; + maintainers = with maintainers; [ abbradar ]; + }; +} |