spring: drop

Broken since 2021, with a brief reprieve of three months where it
wasn’t broken around the start of 2023 thanks to a drive‐by
Python 2 tree‐wide.
This commit is contained in:
Emily
2025-09-16 21:58:55 +01:00
parent f7be490488
commit 2daf3ee110
3 changed files with 2 additions and 110 deletions
-105
View File
@@ -1,105 +0,0 @@
{
lib,
stdenv,
asciidoc,
boost,
cmake,
curl,
docbook_xsl,
docbook_xsl_ns,
fetchurl,
freetype,
glew,
jdk,
libdevil,
libGL,
libGLU,
libunwind,
libvorbis,
makeWrapper,
minizip,
openal,
p7zip,
python3,
SDL2,
xorg,
xz,
zlib,
withAI ? true, # support for AI Interfaces and Skirmish AIs
}:
stdenv.mkDerivation rec {
pname = "spring";
version = "106.0";
src = fetchurl {
url = "https://springrts.com/dl/buildbot/default/master/${version}/source/spring_${version}_src.tar.gz";
sha256 = "sha256-mSA4ioIv68NMEB72lYnwDb1QOuWr1VHwu4+grAoHlV0=";
};
postPatch = ''
patchShebangs .
substituteInPlace ./rts/build/cmake/FindAsciiDoc.cmake \
--replace "PATHS /usr /usr/share /usr/local /usr/local/share" "PATHS ${docbook_xsl}"\
--replace "xsl/docbook/manpages" "share/xml/docbook-xsl/manpages"
# The cmake included module correcly finds nix's glew, however
# it has to be the bundled FindGLEW for headless or dedicated builds
rm rts/build/cmake/FindGLEW.cmake
'';
cmakeFlags = [
"-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON"
"-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON"
"-DPREFER_STATIC_LIBS:BOOL=OFF"
];
nativeBuildInputs = [
cmake
makeWrapper
docbook_xsl
docbook_xsl_ns
asciidoc
];
buildInputs = [
boost
curl
freetype
glew
libdevil
libGL
libGLU
libunwind
libvorbis
minizip
openal
p7zip
SDL2
xorg.libX11
xorg.libXcursor
xz
zlib
]
++ lib.optionals withAI [
python3
jdk
];
postInstall = ''
wrapProgram "$out/bin/spring" \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ]}"
'';
meta = with lib; {
homepage = "https://springrts.com/";
description = "Powerful real-time strategy (RTS) game engine";
license = licenses.gpl2Plus;
maintainers = with maintainers; [
qknight
sorki
];
platforms = [ "x86_64-linux" ];
broken = true;
};
}
+2
View File
@@ -2317,6 +2317,8 @@ mapAliases {
spidermonkey_91 = throw "'spidermonkey_91 is EOL since 2022/09"; # Added 2025-08-26
spidermonkey_102 = throw "'spidermonkey_102' is EOL since 2023/03"; # Added 2024-08-07
spotify-unwrapped = spotify; # added 2022-11-06
spring = throw "spring has been removed, as it had been broken since 2023 (it was a game; maybe youre thinking of spring-boot-cli?)"; # Added 2025-09-16
springLobby = throw "springLobby has been removed, as it had been broken since 2023"; # Added 2025-09-16
spring-boot = throw "'spring-boot' has been renamed to/replaced by 'spring-boot-cli'"; # Converted to throw 2024-10-17
sqldeveloper = throw "sqldeveloper was dropped due to being severely out-of-date and having a dependency on JavaFX for Java 8, which we do not support"; # Added 2024-11-02
srvc = throw "'srvc' has been removed, as it was broken and unmaintained"; # Added 2024-09-09
-5
View File
@@ -14023,11 +14023,6 @@ with pkgs;
lua = lua5_1;
};
# You still can override by passing more arguments.
spring = callPackage ../games/spring { asciidoc = asciidoc-full; };
springLobby = callPackage ../games/spring/springlobby.nix { };
steam-run = steam.run;
steam-run-free = steam.run-free;