summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-18 23:08:31 +0100
committerGitHub <noreply@github.com>2021-01-18 23:08:31 +0100
commit2d461342e7b7b62168c84fab9b926523e27ea02f (patch)
tree39c56fd7e23c378a5f0bf4a53cfb5a587903e6c3 /pkgs
parenta5f9a7bbfe34f08d58b34173de3d385356e22497 (diff)
parentcef94edcf8cc1d24e3ddadfaa5fd2860aeb4b921 (diff)
Merge pull request #109315 from rvolosatovs/init/quake3hires
quake3hires: init at 2020-05-07
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/games/quake3/content/hires.nix26
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/games/quake3/content/hires.nix b/pkgs/games/quake3/content/hires.nix
new file mode 100644
index 000000000000..7314028d5405
--- /dev/null
+++ b/pkgs/games/quake3/content/hires.nix
@@ -0,0 +1,26 @@
+{ stdenv, lib, fetchzip }:
+
+stdenv.mkDerivation {
+ pname = "quake3hires";
+ version = "2020-01-20"; # Unknown version, used the date of web.archive.org capture.
+
+ src = fetchzip {
+ url = "https://web.archive.org/web/20200120024216/http://ioquake3.org/files/xcsv_hires.zip";
+ sha256 = "09vhrray8mh1ic2qgcwv0zlmsnz789y32dkkvrz1vdki4yqkf717";
+ stripRoot = false;
+ };
+
+ buildCommand = ''
+ mkdir -p $out/baseq3
+ install -Dm444 $src/xcsv_bq3hi-res.pk3 $out/baseq3/xcsv_bq3hi-res.pk3
+ '';
+
+ preferLocalBuild = true;
+
+ meta = with lib; {
+ description = "Quake 3 high-resolution textures";
+ license = licenses.cc0;
+ platforms = platforms.all;
+ maintainers = with maintainers; [ rvolosatovs ];
+ };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 6ff61f6dd60a..c5b83c5d9b22 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -26672,6 +26672,8 @@ in
quake3pointrelease = callPackage ../games/quake3/content/pointrelease.nix { };
+ quake3hires = callPackage ../games/quake3/content/hires.nix { };
+
quakespasm = callPackage ../games/quakespasm { };
vkquake = callPackage ../games/quakespasm/vulkan.nix { };