about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/games/humblebundle/starbound.nix5
-rw-r--r--tests/games/starbound.nix3
2 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/games/humblebundle/starbound.nix b/pkgs/games/humblebundle/starbound.nix
index d03d4333..d0c6392d 100644
--- a/pkgs/games/humblebundle/starbound.nix
+++ b/pkgs/games/humblebundle/starbound.nix
@@ -269,17 +269,18 @@ let
 
 in stdenv.mkDerivation rec {
   name = "starbound-${version}";
-  version = "1.2.2";
+  version = "1.3.0";
 
   src = fetchHumbleBundle {
     name = "starbound-linux-${version}.zip";
     machineName = "starbound_linux";
-    md5 = "b5d6a541079fe5535d32b20972478e14";
+    md5 = "7e124089e49684b9a15b6075f2bc4b1a";
   };
 
   outputs = [ "out" "lib" "assets" ];
 
   nativeBuildInputs = [ unzip ];
+  unpackCmd = "unzip -qq \"$curSrc\" client_linux/\\*";
 
   buildPhase = with stdenv.lib; ''
     cc -Werror -shared "${preloaderSource}" -o preload.so -ldl -fPIC \
diff --git a/tests/games/starbound.nix b/tests/games/starbound.nix
index 4014260e..5f545fe0 100644
--- a/tests/games/starbound.nix
+++ b/tests/games/starbound.nix
@@ -79,7 +79,7 @@ in {
     ${clickAt "join-game" 100 560}
     $client->waitForText(qr/select/i);
     ${clickAt "new-character" 460 220}
-    $client->waitForText(qr/species/i);
+    $client->waitForText(qr/randomise/i);
     ${clickAt "create-character" 600 625}
     $client->waitForText(qr/select/i);
     ${clickAt "use-character" 460 220}
@@ -97,6 +97,7 @@ in {
     ${clickAt "join-server" 495 420}
 
     $client->waitForText(qr/graduation/i);
+    $client->sleep(30);
     $client->screenshot("client");
   '';
 }