From 2852696c2e6339c35e03c8629da15a8547e12368 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Mon, 4 Jan 2016 15:26:32 +0300 Subject: [PATCH] quake3pointrelease: init at 1.32b-3 --- pkgs/games/quake3/content/pointrelease.nix | 28 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/games/quake3/content/pointrelease.nix diff --git a/pkgs/games/quake3/content/pointrelease.nix b/pkgs/games/quake3/content/pointrelease.nix new file mode 100644 index 00000000000..04da5811d99 --- /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 9540c0a99cc..655242182f5 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 {};