crack_attack: remove

https://cdimage.debian.org/mirror/gnu.org/savannah/crack-attack near 20
years.
This commit is contained in:
aleksana 2024-12-04 16:53:22 +08:00
parent bff1ad19f9
commit ad50609fbc
4 changed files with 1 additions and 57 deletions

View File

@ -1,10 +0,0 @@
--- crack-attack-1.1.14/src/Game.h
+++ crack-attack-1.1.14/src/Game.h
@@ -34,6 +34,7 @@
#include <climits>
#include <cstdlib>
#include <cmath>
+#include <cstring>
#ifdef __MINGW32__
# include <windows.h>

View File

@ -1,10 +0,0 @@
--- crack-attack-1.1.14/src/Attack.cxx
+++ crack-attack-1.1.14/src/Attack.cxx
@@ -83,6 +83,7 @@
int height = -1, width = -1;
player_name[0] = '\0';
+ glutInit(&argc, argv);
parseCommandLine(argc, argv, mode, port, host_name, player_name, height, width);
run_crack_attack(mode, port, host_name, player_name, height, width);

View File

@ -1,37 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, gtk2, libglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }:
stdenv.mkDerivation rec {
pname = "crack-attack";
version = "1.1.14";
src = fetchurl {
url = "mirror://savannah/crack-attack/crack-attack-${version}.tar.gz";
sha256 = "1sakj9a2q05brpd7lkqxi8q30bccycdzd96ns00s6jbxrzjlijkm";
};
patches = [
./crack-attack-1.1.14-gcc43.patch
./crack-attack-1.1.14-glut.patch
];
configureFlags = [
"--enable-sound=yes"
"--prefix=${placeholder "out"}"
"--datadir=${placeholder "out"}/share"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 libglut SDL SDL_mixer libGLU libGL libXi libXmu ];
hardeningDisable = [ "format" ];
enableParallelBuilding = true;
meta = {
description = "Fast-paced puzzle game inspired by the classic Super NES title Tetris Attack!";
mainProgram = "crack-attack";
homepage = "https://www.nongnu.org/crack-attack/";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = [ ];
};
}

View File

@ -239,6 +239,7 @@ mapAliases {
inherit (libsForQt5.mauiPackages) communicator; # added 2022-05-17
concurrencykit = throw "'concurrencykit' has been renamed to/replaced by 'libck'"; # Converted to throw 2024-10-17
containerpilot = throw "'containerpilot' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-09
crack_attack = throw "'crack_attack' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
crackmapexec = throw "'crackmapexec' has been removed as it was unmaintained. Use 'netexec' instead"; # 2024-08-11
critcl = tclPackages.critcl; # Added 2024-10-02
cudaPackages_10_0 = throw "CUDA 10.0 has been removed from Nixpkgs, as it is unmaintained upstream and depends on unsupported compilers"; # Added 2024-11-20