diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-01-04 15:26:32 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-01-14 14:41:33 +0300 |
commit | 2852696c2e6339c35e03c8629da15a8547e12368 (patch) | |
tree | 5b9afd884587b750aef83cb58fd38debbbfe9725 | |
parent | 7fc7502db516a54d8104656401f0c2abf90cf781 (diff) |
quake3pointrelease: init at 1.32b-3
-rw-r--r-- | pkgs/games/quake3/content/pointrelease.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/games/quake3/content/pointrelease.nix b/pkgs/games/quake3/content/pointrelease.nix new file mode 100644 index 0000000000000..04da5811d99a3 --- /dev/null +++ b/pkgs/games/quake3/content/pointrelease.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl }: + +let + version = "1.32b-3"; +in stdenv.mkDerivation { + name = "quake3-pointrelease-${version}"; + + src = fetchurl { + url = "http://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 stdenv.lib; { + description = "Quake 3 Arena point release"; + license = licenses.unfreeRedistributable; + platforms = platforms.all; + maintainers = with maintainers; [ abbradar ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9540c0a99cc0d..655242182f5c1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14265,6 +14265,8 @@ let quake3demodata = callPackage ../games/quake3/demo { }; + quake3pointrelease = callPackage ../games/quake3/content/pointrelease.nix { }; + ioquake3 = callPackage ../games/quake3/ioquake { }; quantumminigolf = callPackage ../games/quantumminigolf {}; |