From a3991437568789694d3e890f0d78b4daf4d77334 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 25 Jun 2018 20:59:22 +0200 Subject: games/gog: Add Wizard of Legend A Unity3d game, so packaging is pretty straightforward. Signed-off-by: aszlig --- pkgs/games/gog/default.nix | 1 + pkgs/games/gog/wizard-of-legend.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/games/gog/wizard-of-legend.nix 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/*' || :"; +} -- cgit 1.4.1