Unverified Commit a94c97f5 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #313805 from Mrmaxmeier/bombsquad-fix-update-script

bombsquad: 1.7.34 -> 1.7.35
parents 72a8da2b 0a625176
Loading
Loading
Loading
Loading
+21 −15
Original line number Diff line number Diff line
@@ -16,13 +16,14 @@
  copyDesktopItems,
  writeShellApplication,
  commandLineArgs ? "",
  genericUpdater,
}:
let
  archive =
    {
      x86_64-linux = {
        name = "BombSquad_Linux_x86_64";
        hash = "sha256-VLNO0TxI/KBj8RkpGjo9Rx40f7fuV3pK2kIoKff9sRU=";
        hash = "sha256-YrbDhdVtNtxeE3fIRPIODwVO3lrxz7OAAYc7doBBQj8=";
      };
      aarch-64-linux = {
        name = "BombSquad_Linux_Arm64";
@@ -33,7 +34,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  name = "bombsquad";
  version = "1.7.34";
  version = "1.7.35";
  sourceRoot = ".";
  src = fetchurl {
    url = "https://files.ballistica.net/bombsquad/builds/${archive.name}_${finalAttrs.version}.tar.gz";
@@ -86,7 +87,8 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  passthru.updateScript = lib.getExe (writeShellApplication {
  passthru.updateScript = genericUpdater {
    versionLister = lib.getExe (writeShellApplication {
      name = "bombsquad-versionLister";
      runtimeInputs = [
        curl
@@ -98,6 +100,7 @@ stdenv.mkDerivation (finalAttrs: {
            | head -n 1
      '';
    });
  };

  meta = {
    description = "A free, multiplayer, arcade-style game for up to eight players that combines elements of fighting games and first-person shooters (FPS)";
@@ -107,7 +110,10 @@ stdenv.mkDerivation (finalAttrs: {
      mit
      unfree
    ];
    maintainers = with lib.maintainers; [ syedahkam coffeeispower ];
    maintainers = with lib.maintainers; [
      syedahkam
      coffeeispower
    ];
    mainProgram = "bombsquad";
    platforms = lib.platforms.linux;
  };