Merge pull request #262359 from henkery/fix/update-starsector

starsector: 0.96a-RC8 -> 0.96a-RC10

authored by Weijia Wang and committed by GitHub 997311c8 a68de7ac

+4 -4
+4 -4
pkgs/games/starsector/default.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "starsector"; 16 - version = "0.96a-RC8"; 17 18 src = fetchzip { 19 - url = "https://s3.amazonaws.com/fractalsoftworks/starsector/starsector_linux-${version}.zip"; 20 - sha256 = "sha256-RDXqFqiWpBG3kasofzbOl7Zp0a9LiMpJKsHcFaJtm2Y="; 21 }; 22 23 nativeBuildInputs = [ copyDesktopItems makeWrapper ]; ··· 82 #!/usr/bin/env nix-shell 83 #!nix-shell -i bash -p curl gnugrep common-updater-scripts 84 set -eou pipefail; 85 - version=$(curl -s https://fractalsoftworks.com/preorder/ | grep -oP "https://s3.amazonaws.com/fractalsoftworks/starsector/starsector_linux-\K.*?(?=\.zip)" | head -1) 86 update-source-version ${pname} "$version" --file=./pkgs/games/starsector/default.nix 87 ''; 88 }
··· 13 14 stdenv.mkDerivation rec { 15 pname = "starsector"; 16 + version = "0.96a-RC10"; 17 18 src = fetchzip { 19 + url = "https://f005.backblazeb2.com/file/fractalsoftworks/release/starsector_linux-${version}.zip"; 20 + sha256 = "sha256-RBSnms+QlKgTOhm3t2hDfv7OcMrQCk1rfkz9GaM74WM="; 21 }; 22 23 nativeBuildInputs = [ copyDesktopItems makeWrapper ]; ··· 82 #!/usr/bin/env nix-shell 83 #!nix-shell -i bash -p curl gnugrep common-updater-scripts 84 set -eou pipefail; 85 + version=$(curl -s https://fractalsoftworks.com/preorder/ | grep -oP "https://f005.backblazeb2.com/file/fractalsoftworks/release/starsector_linux-\K.*?(?=\.zip)" | head -1) 86 update-source-version ${pname} "$version" --file=./pkgs/games/starsector/default.nix 87 ''; 88 }