tibia: drop

The package is unmaintained and hasn't been updated since 2014.
New versions of the game are done via the launcher, which was attempted to be packaged in https://github.com/NixOS/nixpkgs/pull/440972
and there also seems to be https://github.com/losty17/tibia-nix
This commit is contained in:
quantenzitrone
2026-05-16 19:32:20 +02:00
parent 870b51c5a6
commit 3b9218f289
3 changed files with 1 additions and 75 deletions
-73
View File
@@ -1,73 +0,0 @@
{
lib,
stdenv,
fetchurl,
glibc,
libx11,
runtimeShell,
libGLU,
libGL,
}:
stdenv.mkDerivation rec {
pname = "tibia";
version = "10.90";
src = fetchurl {
url = "http://static.tibia.com/download/tibia${lib.replaceStrings [ "." ] [ "" ] version}.tgz";
sha256 = "11mkh2dynmbpay51yfaxm5dmcys3rnpk579s9ypfkhblsrchbkhx";
};
shell = stdenv.shell;
# These binaries come stripped already and trying to strip after the
# files are in $out/res and after patchelf just breaks them.
# Strangely it works if the files are in $out but then nix doesn't
# put them in our PATH. We set all the files to $out/res because
# we'll be using a wrapper to start the program which will go into
# $out/bin.
dontStrip = true;
installPhase = ''
mkdir -pv $out/res
cp -r * $out/res
patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \
--set-rpath ${
lib.makeLibraryPath [
stdenv.cc.cc
libx11
libGLU
libGL
]
} \
"$out/res/Tibia"
# We've patchelf'd the files. The main Tibia binary is a bit
# dumb so it looks for ./Tibia.dat. This requires us to be in
# the same directory as the file itself but that's very tedious,
# especially with nix which changes store hashes. Here we generate
# a simple wrapper that we put in $out/bin which will do the
# directory changing for us.
mkdir -pv $out/bin
# The wrapper script itself. We use $LD_LIBRARY_PATH for libGL.
cat << EOF > "$out/bin/Tibia"
#!${runtimeShell}
cd $out/res
${glibc.out}/lib/ld-linux.so.2 --library-path \$LD_LIBRARY_PATH ./Tibia "\$@"
EOF
chmod +x $out/bin/Tibia
'';
meta = {
description = "Top-down MMORPG set in a fantasy world";
homepage = "http://tibia.com";
license = lib.licenses.unfree;
platforms = [ "i686-linux" ];
maintainers = [ ];
};
}
+1
View File
@@ -2076,6 +2076,7 @@ mapAliases {
thrust = throw "'thrust' has been removed due to lack of maintenance"; # Added 2025-08-21
thunderbird-128 = throw "Thunderbird 128 support ended in August 2025"; # Added 2025-09-30
thunderbird-128-unwrapped = throw "Thunderbird 128 support ended in August 2025"; # Added 2025-09-30
tibia = throw "'tibia' has been removed from nixpkgs due to being broken and unmaintained"; # Added 2026-05-16
ticpp = throw "'ticpp' has been removed due to being unmaintained"; # Added 2025-09-10
tidb = throw "TiDB has been removed because of hard dependency on TiKV which is challenging to package"; # Added 2026-05-03
timescaledb = throw "'timescaledb' has been removed. Use 'postgresqlPackages.timescaledb' instead."; # Added 2025-07-19
-2
View File
@@ -10958,8 +10958,6 @@ with pkgs;
];
};
tibia = pkgsi686Linux.callPackage ../games/tibia { };
ultrastar-creator = libsForQt5.callPackage ../tools/misc/ultrastar-creator { };
ultrastar-manager = libsForQt5.callPackage ../tools/misc/ultrastar-manager { };