about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/games/gog/default.nix1
-rw-r--r--pkgs/games/gog/wizard-of-legend.nix16
2 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/games/gog/default.nix b/pkgs/games/gog/default.nix
index 26a09ee7..fe6f3157 100644
--- a/pkgs/games/gog/default.nix
+++ b/pkgs/games/gog/default.nix
@@ -18,6 +18,7 @@ let
     stardew-valley-beta = lib.lowPrio (callPackage ./stardew-valley.nix {
       beta = true;
     });
+    wizard-of-legend = callPackage ./wizard-of-legend.nix {};
     xeen = callPackage ./xeen.nix {};
   };
 in {
diff --git a/pkgs/games/gog/wizard-of-legend.nix b/pkgs/games/gog/wizard-of-legend.nix
new file mode 100644
index 00000000..6db8cb2c
--- /dev/null
+++ b/pkgs/games/gog/wizard-of-legend.nix
@@ -0,0 +1,16 @@
+{ buildUnity, fetchGog, unzip }:
+
+buildUnity {
+  name = "wizard-of-legend";
+  fullName = "WizardOfLegend";
+  saveDir = "Contingent99/Wizard of Legend";
+  version = "1.033";
+
+  src = fetchGog {
+    productId = 2061814323;
+    downloadName = "en3installer0";
+    sha256 = "1gbj0znfw87n2kq76vbchb3r2pyrl0wmdcjrvyr11b9igvqakv48";
+  };
+
+  unpackCmd = "${unzip}/bin/unzip -qq \"$curSrc\" 'data/noarch/game/*' || :";
+}