From 301f71e03fff82711b4a2cfcd8e3ec53257dae73 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Sat, 29 Nov 2025 14:04:55 +0100 Subject: [PATCH] btanks: drop Fails to build, no upstream updates since 2010, no nixpkgs maintainer. Signed-off-by: Marcin Serwin --- pkgs/by-name/bt/btanks/package.nix | 89 ------------------------------ pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 89 deletions(-) delete mode 100644 pkgs/by-name/bt/btanks/package.nix diff --git a/pkgs/by-name/bt/btanks/package.nix b/pkgs/by-name/bt/btanks/package.nix deleted file mode 100644 index 6a57edbf9744..000000000000 --- a/pkgs/by-name/bt/btanks/package.nix +++ /dev/null @@ -1,89 +0,0 @@ -{ - lib, - SDL, - SDL_image, - expat, - fetchpatch, - fetchurl, - libGL, - libGLU, - libvorbis, - libX11, - lua, - pkg-config, - scons, - smpeg, - stdenv, - zip, - zlib, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "btanks"; - version = "0.9.8083"; - - src = fetchurl { - url = "mirror://sourceforge/btanks/btanks-${finalAttrs.version}.tar.bz2"; - hash = "sha256-P9LOaitF96YMOxFPqa/xPLPdn7tqZc3JeYt2xPosQ0E="; - }; - - patches = [ - (fetchpatch { - name = "lua52.patch"; - url = "https://aur.archlinux.org/cgit/aur.git/plain/lua52.patch?h=btanks&id=cd0e016963238f16209baa2da658aa3fad36e33d"; - hash = "sha256-Xwl//sfGprhg71jf+X3q8qxdB+5ZtqJrjBxS8+cw5UY="; - }) - (fetchpatch { - url = "https://salsa.debian.org/games-team/btanks/-/raw/debian/0.9.8083-9/debian/patches/gcc-4.7.patch"; - hash = "sha256-JN7D+q63EvKJX9wAEQgcVqE1VZzMa4Y1CPIlA3uYtLc="; - }) - (fetchpatch { - url = "https://salsa.debian.org/games-team/btanks/-/raw/debian/0.9.8083-9/debian/patches/pow10f.patch"; - hash = "sha256-6QFP1GTwqXnjfekzEiIpWKCD6HOcGusYW+02sUE6hcA="; - }) - (fetchpatch { - url = "https://salsa.debian.org/games-team/btanks/-/raw/debian/0.9.8083-9/debian/patches/python3.patch"; - hash = "sha256-JpK409Myi8mxQaunmLFKKh1NKvKLXpNHHsDvRee8OoQ="; - }) - (fetchpatch { - url = "https://salsa.debian.org/games-team/btanks/-/raw/debian/0.9.8083-9/debian/patches/scons.patch"; - hash = "sha256-JCvBY2fOV8Sc/mpvEsJQv1wKcS1dHqYxvRk6I9p7ZKc="; - }) - ]; - - nativeBuildInputs = [ - SDL - pkg-config - scons - smpeg - zip - ]; - - buildInputs = [ - SDL - SDL_image - expat - libGL - libGLU - libX11 - libvorbis - lua - smpeg - zlib - ]; - - env.NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL_image}/include/SDL"; - - enableParallelBuilding = true; - - strictDeps = true; - - meta = { - homepage = "https://sourceforge.net/projects/btanks/"; - description = "Fast 2d tank arcade game with multiplayer and split-screen modes"; - license = lib.licenses.gpl2Plus; - mainProgram = "btanks"; - maintainers = [ ]; - inherit (SDL.meta) platforms; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 8ca7471de162..645c87e9470a 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -365,6 +365,7 @@ mapAliases { brasero-original = throw "'brasero-original' has been renamed to/replaced by 'brasero-unwrapped'"; # Converted to throw 2025-10-27 breath-theme = throw "'breath-theme' has been removed, as it is only compatible with Plasma 5, which is EOL"; # Added 2025-08-20 brogue = warnAlias "Use 'brogue-ce' instead of 'brogue' for updated releases" brogue-ce; # Added 2025-10-04 + btanks = throw "'btanks' has been removed as it's been unmaintained since 2010 and fails to build"; # Added 2025-11-29 buildBowerComponents = throw "buildBowerComponents has been removed as bower was removed. It is recommended to migrate to yarn."; # Added 2025-09-17 buildGo123Module = throw "Go 1.23 is end-of-life, and 'buildGo123Module' has been removed. Please use a newer builder version."; # Added 2025-08-13 buildPlatform = warnAlias "'buildPlatform' has been renamed to/replaced by 'stdenv.buildPlatform'" stdenv.buildPlatform; # Converted to warning 2025-10-28