diff --git a/pkgs/ut/default.nix b/pkgs/ut/default.nix new file mode 100644 index 0000000..fcac7e2 --- /dev/null +++ b/pkgs/ut/default.nix @@ -0,0 +1,14 @@ +{ lib, runCommand, fetchtorrent, unar}: +let + torrent = fetchtorrent { + url = "https://archive.org/download/unreal-tournament-goty-gog-version-igg/unreal-tournament-goty-gog-version-igg_archive.torrent"; + hash = "sha256-peJanxr1hyzn2yrayDwjSccqwoBt03x0P6eMvOnTUmQ=o"; + }; +in +runCommand "baseq3" { + nativeBuildInputs = [ unar ]; +} '' + unar "${torrent}/Unreal.Tournament.GOTY.GOG.rar" + ls + cp "Unreal.Tournament.GOTY.GOG/setup_ut_goty_2.0.0.5.exe" $out +'' diff --git a/table.nix b/table.nix index 9ea4f66..4d124a6 100644 --- a/table.nix +++ b/table.nix @@ -4,4 +4,5 @@ "17ce077343c6133f8c9f2d6d6d9a4ab62c8cd2aa57c40aea1f490b4c8bb21d91" = callPackage ./pkgs/sm64-us { }; "cee6bc3c2a634b41728f2af8da54d9bf8cc14099" = callPackage ./pkgs/oot-debug { }; "5dd8ee09eabd45e80450f31d7a8b69b846f59738726929298d8a813ce5725ed3" = callPackage ./pkgs/baseq3 { }; + "00v8jbqhgb1fry7jvr0i3mb5jscc19niigzjc989qrcp9pamghjc" = callPackage ./pkgs/ut { }; }