Merge pull request #313805 from Mrmaxmeier/bombsquad-fix-update-script
bombsquad: 1.7.34 -> 1.7.35
This commit is contained in:
commit
a94c97f599
@ -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,18 +87,20 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = lib.getExe (writeShellApplication {
|
||||
name = "bombsquad-versionLister";
|
||||
runtimeInputs = [
|
||||
curl
|
||||
gnugrep
|
||||
];
|
||||
text = ''
|
||||
curl -sL "https://files.ballistica.net/bombsquad/builds/CHANGELOG.md" \
|
||||
| grep -oP '^### \K\d+\.\d+\.\d+' \
|
||||
| head -n 1
|
||||
'';
|
||||
});
|
||||
passthru.updateScript = genericUpdater {
|
||||
versionLister = lib.getExe (writeShellApplication {
|
||||
name = "bombsquad-versionLister";
|
||||
runtimeInputs = [
|
||||
curl
|
||||
gnugrep
|
||||
];
|
||||
text = ''
|
||||
curl -sL "https://files.ballistica.net/bombsquad/builds/CHANGELOG.md" \
|
||||
| grep -oP '^### \K\d+\.\d+\.\d+' \
|
||||
| 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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user