btanks: drop (#466268)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
})
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user