diff options
author | Roman Volosatovs <rvolosatovs@riseup.net> | 2020-05-07 21:10:07 +0200 |
---|---|---|
committer | Roman Volosatovs <rvolosatovs@riseup.net> | 2021-01-18 17:12:16 +0100 |
commit | cef94edcf8cc1d24e3ddadfaa5fd2860aeb4b921 (patch) | |
tree | 48dcd0a0fb8cf4f2ad494abae6505bc2f2529c0a | |
parent | e51b4aa2ec6294b943b54ba06c938623a5674df7 (diff) | |
download | nixpkgs-cef94edcf8cc1d24e3ddadfaa5fd2860aeb4b921.tar nixpkgs-cef94edcf8cc1d24e3ddadfaa5fd2860aeb4b921.tar.gz nixpkgs-cef94edcf8cc1d24e3ddadfaa5fd2860aeb4b921.tar.bz2 nixpkgs-cef94edcf8cc1d24e3ddadfaa5fd2860aeb4b921.tar.lz nixpkgs-cef94edcf8cc1d24e3ddadfaa5fd2860aeb4b921.tar.xz nixpkgs-cef94edcf8cc1d24e3ddadfaa5fd2860aeb4b921.tar.zst nixpkgs-cef94edcf8cc1d24e3ddadfaa5fd2860aeb4b921.zip |
quake3hires: init at 2020-01-20
-rw-r--r-- | pkgs/games/quake3/content/hires.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
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 00000000000..7314028d540 --- /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 ebf981208e0..1924bf093b0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26666,6 +26666,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 { }; |