bombsquad: 1.7.37 -> 1.7.61 (#506281)

This commit is contained in:
Marcin Serwin
2026-05-01 07:25:32 +00:00
committed by GitHub
2 changed files with 23 additions and 8 deletions
+5
View File
@@ -18508,6 +18508,11 @@
githubId = 8165792;
name = "Mark Karpov";
};
mrmaxmeier = {
github = "mrmaxmeier";
githubId = 3913977;
name = "Mrmaxmeier";
};
mrmebelman = {
email = "burzakovskij@protonmail.com";
github = "MrMebelMan";
+18 -8
View File
@@ -2,12 +2,15 @@
lib,
stdenv,
fetchurl,
python312,
python313,
SDL2,
cairo,
pango,
libvorbis,
openal,
curl,
gnugrep,
gnused,
libgcc,
makeBinaryWrapper,
makeDesktopItem,
@@ -22,11 +25,11 @@ let
{
x86_64-linux = {
name = "BombSquad_Linux_x86_64";
hash = "sha256-ICjaNZSCUbslB5pELbI4e+1zXWrZzkCkv69jLRx4dr0=";
hash = "sha256-VHhDRzB7sSvb3Ou/Sg+PjTKFDG9sKsXueu2qLNfC06k=";
};
aarch-64-linux = {
aarch64-linux = {
name = "BombSquad_Linux_Arm64";
hash = "sha256-/m0SOQbHssk0CqZJPRLK9YKphup3dtMqkbWGzqcF0+g=";
hash = "sha256-usrhPOsXkJZk0HCSBIGnc4qdIu2SW7STp6Y/e6RmZlM=";
};
}
.${stdenv.targetPlatform.system} or (throw "${stdenv.targetPlatform.system} is unsupported.");
@@ -39,10 +42,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "bombsquad";
version = "1.7.37";
# Note: This version trails behind the latest version by one since the latest
# version sometimes gets replaced for minor updates. The builds in /old/ are
# stable.
version = "1.7.61";
src = fetchurl {
url = "https://web.archive.org/web/20240825230506if_/https://files.ballistica.net/bombsquad/builds/${archive.name}_${finalAttrs.version}.tar.gz";
url = "https://files.ballistica.net/bombsquad/builds/old/${archive.name}_${finalAttrs.version}.tar.gz";
inherit (archive) hash;
};
@@ -50,10 +56,12 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
SDL2
cairo
libgcc
libvorbis
openal
python312
pango
python313
];
nativeBuildInputs = [
@@ -98,11 +106,12 @@ stdenv.mkDerivation (finalAttrs: {
runtimeInputs = [
curl
gnugrep
gnused
];
text = ''
curl -sL "https://files.ballistica.net/bombsquad/builds/CHANGELOG.md" \
| grep -oP '^### \K\d+\.\d+\.\d+' \
| head -n 1
| sed -n 2p
'';
});
};
@@ -118,6 +127,7 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [
syedahkam
coffeeispower
mrmaxmeier
];
mainProgram = "bombsquad";
platforms = lib.platforms.linux;