libtcod: remove

This commit is contained in:
Jasi
2025-10-07 15:58:43 -04:00
parent 126701eb75
commit c9ca657305
2 changed files with 1 additions and 57 deletions
-57
View File
@@ -1,57 +0,0 @@
{
lib,
stdenv,
fetchFromBitbucket,
cmake,
SDL,
libGLU,
libGL,
libX11,
upx,
zlib,
}:
stdenv.mkDerivation {
pname = "libtcod";
version = "1.5.1";
src = fetchFromBitbucket {
owner = "libtcod";
repo = "libtcod";
rev = "1.5.1";
sha256 = "1ibsnmnim712npxkqklc5ibnd32hgsx2yzyfzzc5fis5mhinbl63";
};
prePatch = ''
sed -i CMakeLists.txt \
-e "s,SET(ROOT_DIR.*,SET(ROOT_DIR $out),g" \
-e "s,SET(INSTALL_DIR.*,SET(INSTALL_DIR $out),g"
echo 'INSTALL(DIRECTORY include DESTINATION .)' >> CMakeLists.txt
'';
cmakeFlags = [ "-DLIBTCOD_SAMPLES=OFF" ];
nativeBuildInputs = [ cmake ];
buildInputs = [
SDL
libGLU
libGL
libX11
upx
zlib
];
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [
"-Wno-error=implicit-int"
"-Wno-error=incompatible-pointer-types"
];
meta = {
description = "API for roguelike games";
homepage = "http://roguecentral.org/doryen/libtcod/";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = [ ];
};
}
+1
View File
@@ -1389,6 +1389,7 @@ mapAliases {
libsoup = lib.warnOnInstantiate "'libsoup' has been renamed to 'libsoup_2_4'" libsoup_2_4; # Added 2024-12-02
libstdcxx5 = throw "libstdcxx5 is severly outdated and has been removed"; # Added 2024-11-24
libtap = throw "libtap has been removed, as it was unused and deprecated by its author in favour of cmocka"; # Added 2025-09-16
libtcod = throw "'libtcod' has been removed due to being unused and having an incompatible build-system"; # Added 2025-10-04
libtensorflow-bin = libtensorflow; # Added 2022-09-25
libtorrent = throw "'libtorrent' has been renamed to 'libtorrent-rakshasa' for clearer distinction from 'libtorrent-rasterbar'"; # Added 2025-09-10
libtorrentRasterbar = throw "'libtorrentRasterbar' has been renamed to/replaced by 'libtorrent-rasterbar'"; # Converted to throw 2024-10-17