depot/pkgs/games/quake3/content/hires.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

26 lines
725 B
Nix

{ 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 ];
};
}