This commit is contained in:
Daniel Lovbrotte Olsen 2024-09-07 02:53:42 +02:00
parent 907442f0e3
commit 8c0cb7d8d8
2 changed files with 14 additions and 0 deletions

13
pkgs/baseq3/default.nix Normal file
View File

@ -0,0 +1,13 @@
{ lib, runCommand, fetchtorrent, p7zip}:
let
torrent = fetchtorrent {
url = "https://archive.org/download/quake-3-arena/quake-3-arena_archive.torrent";
hash = "sha256-6vlAzZpBlWcoosjVbIgwQ7POcRAedJuT3QSPjFhPzO4=";
};
in
runCommand "baseq3" {
nativeBuildInputs = [ p7zip ];
} ''
7z x -y "${torrent}/Quake 3 Arena.zip"
cp -r "Quake 3 Arena"/baseq3 $out
''

View File

@ -3,4 +3,5 @@
{ {
"17ce077343c6133f8c9f2d6d6d9a4ab62c8cd2aa57c40aea1f490b4c8bb21d91" = callPackage ./pkgs/sm64-us { }; "17ce077343c6133f8c9f2d6d6d9a4ab62c8cd2aa57c40aea1f490b4c8bb21d91" = callPackage ./pkgs/sm64-us { };
"cee6bc3c2a634b41728f2af8da54d9bf8cc14099" = callPackage ./pkgs/oot-debug { }; "cee6bc3c2a634b41728f2af8da54d9bf8cc14099" = callPackage ./pkgs/oot-debug { };
"5dd8ee09eabd45e80450f31d7a8b69b846f59738726929298d8a813ce5725ed3" = callPackage ./pkgs/baseq3 { };
} }