1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/games/quake3/content/pointrelease.nix

30 lines
680 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2016-01-04 12:26:32 +00:00
let
version = "1.32b-3";
in stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "quake3-pointrelease";
inherit version;
2016-01-04 12:26:32 +00:00
src = fetchurl {
url = "https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${version}.x86.run";
2016-01-04 12:26:32 +00:00
sha256 = "11piyksfqyxwl9mpgbc71w9sacsh4d3cdsgia0cy0dbbap2k4qf3";
};
buildCommand = ''
sh $src --tar xf
mkdir -p $out/baseq3
cp baseq3/*.pk3 $out/baseq3
'';
preferLocalBuild = true;
meta = with lib; {
2016-01-04 12:26:32 +00:00
description = "Quake 3 Arena point release";
license = licenses.unfreeRedistributable;
platforms = platforms.all;
maintainers = with maintainers; [ abbradar ];
};
}