about summary refs log tree commit diff
path: root/pkgs/games/gog/dungeons3.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/gog/dungeons3.nix')
-rw-r--r--pkgs/games/gog/dungeons3.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/games/gog/dungeons3.nix b/pkgs/games/gog/dungeons3.nix
new file mode 100644
index 00000000..7d4c5a3d
--- /dev/null
+++ b/pkgs/games/gog/dungeons3.nix
@@ -0,0 +1,18 @@
+{ buildUnity, fetchGog, unzip, mono }:
+
+buildUnity {
+  name = "dungeons3";
+  fullName = "Dungeons3";
+  saveDir = "Realmforge Studios GmbH/Dungeons 3";
+  version = "1.4.4";
+
+  src = fetchGog {
+    productId = 1346232158;
+    downloadName = "en3installer0";
+    sha256 = "1m4dvb91nfwxbgb76n8saznaaif053vb5wkdllb7imdbqqwlfsmy";
+  };
+
+  buildInputs = [ mono ];
+
+  unpackCmd = "${unzip}/bin/unzip -qq \"$curSrc\" 'data/noarch/game/*' || :";
+}