From 1f8014e99d7f96903aa1d3587baf4c12b7ad357b Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 7 Sep 2024 03:33:40 +0200 Subject: [PATCH] ut1999 --- pkgs/ut/default.nix | 14 ++++++++++++++ table.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 pkgs/ut/default.nix 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 { }; }