nixos/packages/libxml2-2.9/default.nix
Sasza Stanczew 57112d33a2 Cleanup: remove stale modules, improve libxml2 package, add wget dependency
- Remove old system-wide modules: modules/tibia.nix, modules/multimedia.nix
- libxml2-2.9: rename pname to libxml2-2-9 (avoid conflict), add meta
- Tibia module: add wget to home.packages (required for tibia-install)
- tibia-install: use wget directly (no fallback), since wget is now a dependency
2026-05-30 23:28:46 +02:00

27 lines
629 B
Nix

{ stdenv, fetchurl, pkg-config, zlib, xz }:
stdenv.mkDerivation {
pname = "libxml2-2-9";
version = "2.9.14";
src = fetchurl {
url = "https://download.gnome.org/sources/libxml2/2.9/libxml2-2.9.14.tar.xz";
sha256 = "sha256-YNdKJX0czsBHXnScui8hVZ5IE577pv8oIkNXx8eY3+4=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib xz ];
configureFlags = [
"--disable-static"
"--without-python"
];
enableParallelBuilding = true;
meta = {
description = "Legacy libxml2 2.9.14, required by Tibia client";
homepage = "http://xmlsoft.org/";
license = stdenv.lib.licenses.mit;
};
}