about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-08-01 19:24:43 +0200
committeraszlig <aszlig@nix.build>2018-08-01 19:24:43 +0200
commit3f284f38feb6e3d67bffc37cbaea73510d372cf3 (patch)
tree7184240d47d8958fb8977d73219a48bbff0ad247 /pkgs/games
parent9fa25489b136a798334a6b774f1077164b82d59c (diff)
stardew-valley: Update to version 1.3.27 (stable)
These small fixes mark the end of the beta:

  * Changes to the NetList events we added for modding
  * Gift limits not resetting sometimes in single-player

So we now can finally get rid of the "stardew-valley-beta" attribute and
track the stable version from now on.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/gog/default.nix3
-rw-r--r--pkgs/games/gog/stardew-valley.nix34
2 files changed, 11 insertions, 26 deletions
diff --git a/pkgs/games/gog/default.nix b/pkgs/games/gog/default.nix
index d63c5901..e750ce7b 100644
--- a/pkgs/games/gog/default.nix
+++ b/pkgs/games/gog/default.nix
@@ -18,9 +18,6 @@ let
     satellite-reign = callPackage ./satellite-reign.nix {};
     settlers2 = callPackage ./settlers2.nix {};
     stardew-valley = callPackage ./stardew-valley.nix {};
-    stardew-valley-beta = lib.lowPrio (callPackage ./stardew-valley.nix {
-      beta = true;
-    });
     thimbleweed-park = callPackage ./thimbleweed-park.nix {};
     war-for-the-overworld = callPackage ./war-for-the-overworld.nix {};
     wizard-of-legend = callPackage ./wizard-of-legend.nix {};
diff --git a/pkgs/games/gog/stardew-valley.nix b/pkgs/games/gog/stardew-valley.nix
index 1756da3e..815e37ed 100644
--- a/pkgs/games/gog/stardew-valley.nix
+++ b/pkgs/games/gog/stardew-valley.nix
@@ -1,24 +1,16 @@
 { lib, stdenv, buildGame, fetchGog, makeWrapper
 , mono50, SDL2, libGL, openal
-
-, beta ? false
 }:
 
 buildGame rec {
   name = "stardew-valley-${version}";
-  version = if beta then "1.3.26" else "1.2.33";
+  version = "1.3.27";
 
-  src = fetchGog (if beta then {
-    productId = 1453375253;
-    downloadName = "80335";
-    downloadType = "product_bonus";
-    suffix = "tar.gz";
-    sha256 = "1m140ckz0y0nr1v7b30iqbjmr0fq57djclggvkazqcvanhzymij9";
-  } else {
+  src = fetchGog {
     productId = 1453375253;
-    downloadName = "en3installer10";
-    sha256 = "199xf008cxm6ywb4d8c3dz0h7iiv9d0ka5k93gq0jqj3ga3fjn3i";
-  });
+    downloadName = "en3installer0";
+    sha256 = "0i4wq6ii8r82gan1j8j9zd5f0cqs7by0s7h9axnb5zi2j0pxlk2i";
+  };
 
   nativeBuildInputs = [ makeWrapper ];
 
@@ -31,7 +23,7 @@ buildGame rec {
     sed -i -e '/<dllmap.*dll="${dll}\.dll".*os="linux"/ {
       s!target="[^"]*"!target="'"${target}"'"!
     }' MonoGame.Framework.dll.config
-  '') dllmap) + lib.optionalString beta ''
+  '') dllmap) + ''
     sed -i -e '/<dllmap.*os="linux"/ {
       s!target="[^"]*"!target="${
         "'\"$out\"'/libexec/stardew-valley/libGalaxyCSharpGlue.so"
@@ -48,17 +40,13 @@ buildGame rec {
     cp -rv monoconfig "$out/libexec/stardew-valley/StardewValley.exe.config"
     cp -rvt "$out/libexec/stardew-valley" StardewValley.exe \
       MonoGame.Framework.dll* BmFont.dll xTile.dll Lidgren.Network.dll \
-      ${lib.optionalString beta "GalaxyCSharp.dll"}
+      GalaxyCSharp.dll
     ln -s "$out/share/stardew-valley" "$out/libexec/stardew-valley/Content"
 
-    ${lib.optionalString beta ''
-      # install -vD "libGalaxyPeer$bitSuffix.so" \
-      #   "$out/libexec/stardew-valley/libGalaxyPeer$bitSuffix.so"
-      install -vD "lib$bitSuffix/libGalaxy$bitSuffix.so" \
-        "$out/libexec/stardew-valley/libGalaxy$bitSuffix.so"
-      install -vD "lib$bitSuffix/libGalaxyCSharpGlue.so" \
-        "$out/libexec/stardew-valley/libGalaxyCSharpGlue.so"
-    ''}
+    install -vD "lib$bitSuffix/libGalaxy$bitSuffix.so" \
+      "$out/libexec/stardew-valley/libGalaxy$bitSuffix.so"
+    install -vD "lib$bitSuffix/libGalaxyCSharpGlue.so" \
+      "$out/libexec/stardew-valley/libGalaxyCSharpGlue.so"
 
     makeWrapper ${lib.escapeShellArg mono50}/bin/mono \
       "$out/bin/stardew-valley" \