Compare commits

..

2 Commits

Author SHA1 Message Date
Daniel Lovbrotte Olsen 8c0cb7d8d8 quake3 2024-09-07 02:53:42 +02:00
Daniel Lovbrotte Olsen 907442f0e3 update to fetchtorrent 2024-09-07 02:29:12 +02:00
4 changed files with 18 additions and 4 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

@ -1,6 +1,6 @@
{ lib, runCommand, fetchFromBittorrent, p7zip}:
{ lib, runCommand, fetchtorrent, p7zip}:
let
torrent = fetchFromBittorrent {
torrent = fetchtorrent {
url = "https://archive.org/download/ZELOOTD/ZELOOTD_archive.torrent";
hash = "sha256-4CaZ2nv/vnweYwKd/qjfO8se71D1vfH9qhyDH9Aj21E=";
};

View File

@ -1,6 +1,6 @@
{ lib, runCommand, fetchFromBittorrent }:
{ lib, runCommand, fetchtorrent }:
let
torrent = fetchFromBittorrent {
torrent = fetchtorrent {
url = "https://archive.org/download/super-mario-64-usa/super-mario-64-usa_archive.torrent";
hash = "sha256-6tkCKQD2modogcTo0ESookWJDm7rjA79t5ZOVz3luYM=";
};

View File

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