diff --git a/pkgs/baseq3/default.nix b/pkgs/baseq3/default.nix new file mode 100644 index 0000000..cc3f6f4 --- /dev/null +++ b/pkgs/baseq3/default.nix @@ -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 +'' diff --git a/table.nix b/table.nix index de1cf15..9ea4f66 100644 --- a/table.nix +++ b/table.nix @@ -3,4 +3,5 @@ { "17ce077343c6133f8c9f2d6d6d9a4ab62c8cd2aa57c40aea1f490b4c8bb21d91" = callPackage ./pkgs/sm64-us { }; "cee6bc3c2a634b41728f2af8da54d9bf8cc14099" = callPackage ./pkgs/oot-debug { }; + "5dd8ee09eabd45e80450f31d7a8b69b846f59738726929298d8a813ce5725ed3" = callPackage ./pkgs/baseq3 { }; }