diff options
author | aszlig <aszlig@nix.build> | 2018-06-14 11:37:26 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-06-14 11:37:26 +0200 |
commit | 8453029411ffbf911902e702a58220976dee2b43 (patch) | |
tree | be4f7d5dd558c3607b2b5b0f11b8f0bdade3f86a /pkgs | |
parent | f4e26c499a4346e8b183de5466257d482892ff58 (diff) |
games/gog: Add Party Hard
Packaging is pretty straightforward, because it's a Unity3d game and we have a build hepler for that. Upstream site: http://www.tinybuild.com/partyhard Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/games/gog/default.nix | 1 | ||||
-rw-r--r-- | pkgs/games/gog/party-hard.nix | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/games/gog/default.nix b/pkgs/games/gog/default.nix index 2379cd26..1c5ee469 100644 --- a/pkgs/games/gog/default.nix +++ b/pkgs/games/gog/default.nix @@ -12,6 +12,7 @@ let }; albion = callPackage_i686 ./albion { inherit (pkgs) buildSandbox; }; + party-hard = callPackage ./party-hard.nix {}; stardew-valley = callPackage ./stardew-valley.nix {}; stardew-valley-beta = lib.lowPrio (callPackage ./stardew-valley.nix { beta = true; diff --git a/pkgs/games/gog/party-hard.nix b/pkgs/games/gog/party-hard.nix new file mode 100644 index 00000000..3e0393f2 --- /dev/null +++ b/pkgs/games/gog/party-hard.nix @@ -0,0 +1,16 @@ +{ buildUnity, fetchGog, unzip }: + +buildUnity { + name = "party-hard"; + fullName = "PartyHardGame"; + saveDir = "PinoklGames/PartyHardGame"; + version = "1.4.030r"; + + src = fetchGog { + productId = 1236689966; + downloadName = "en3installer2"; + sha256 = "00sb76w0v4b2izfwx1kr53frrgg8rg5d0qgpj8z3xq8frnv1fmi4"; + }; + + unpackCmd = "${unzip}/bin/unzip -qq \"$curSrc\" 'data/noarch/game/*' || :"; +} |