From c9ca657305e05b3017b2f556a40b1cb491690b4f Mon Sep 17 00:00:00 2001 From: Jasi Date: Tue, 7 Oct 2025 15:58:43 -0400 Subject: [PATCH] libtcod: remove --- pkgs/by-name/li/libtcod/package.nix | 57 ----------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 pkgs/by-name/li/libtcod/package.nix diff --git a/pkgs/by-name/li/libtcod/package.nix b/pkgs/by-name/li/libtcod/package.nix deleted file mode 100644 index fb98b42c47c5..000000000000 --- a/pkgs/by-name/li/libtcod/package.nix +++ /dev/null @@ -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 = [ ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 46c8afaea89e..6d69378d3342 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -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