diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-01-19 01:18:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 01:18:25 +0000 |
commit | e8a1f18e58cc0e075de9f583ae547799b39f7489 (patch) | |
tree | 302b100cf3b232ea5fd16b04576999e6d892eaac /pkgs/games/quake3/content/hires.nix | |
parent | 38553bd4923324ebd3c0d68eb53325588027bcb3 (diff) | |
parent | 726c05e5a8bda34a0bca5a12d42614be73e7439a (diff) |
Merge staging-next into staging
Diffstat (limited to 'pkgs/games/quake3/content/hires.nix')
-rw-r--r-- | pkgs/games/quake3/content/hires.nix | 26 |
1 files changed, 26 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 ]; + }; +} |