about summary refs log tree commit diff
path: root/pkgs/games/gog/satellite-reign.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/gog/satellite-reign.nix')
-rw-r--r--pkgs/games/gog/satellite-reign.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/games/gog/satellite-reign.nix b/pkgs/games/gog/satellite-reign.nix
new file mode 100644
index 00000000..ec8c6db3
--- /dev/null
+++ b/pkgs/games/gog/satellite-reign.nix
@@ -0,0 +1,18 @@
+{ buildUnity, fetchGog, unzip }:
+
+buildUnity {
+  name = "satellite-reign";
+  fullName = "SatelliteReignLinux";
+  saveDir = "5 Lives Studios/SatelliteReign";
+  version = "1.13.06";
+
+  src = fetchGog {
+    productId = 1428054996;
+    downloadName = "en3installer9";
+    sha256 = "0wpkpqrcli2772g6l9yab38vbjh1by4cbpa397fqvhny247qdz5k";
+  };
+
+  unpackCmd = "${unzip}/bin/unzip -qq \"$curSrc\" 'data/noarch/game/*' || :";
+
+  sandbox.paths.required = [ "$XDG_DATA_HOME/SatelliteReign" ];
+}