Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
817 B
Nix
41 lines
817 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
libxml2,
|
|
glibmm,
|
|
meson,
|
|
ninja,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libxmlxx5";
|
|
version = "5.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/libxml++/${version}/libxml++-${lib.versions.pad 3 version}.tar.xz";
|
|
hash = "sha256-6aI8Q2aGqUaY0hOOa8uvhJEh1jv6D1DcNP77/XlWaEg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
meson
|
|
ninja
|
|
];
|
|
|
|
buildInputs = [ glibmm ];
|
|
|
|
propagatedBuildInputs = [ libxml2 ];
|
|
|
|
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
|
|
|
meta = {
|
|
description = "C++ wrapper for the libxml2 XML parser library";
|
|
homepage = "https://libxmlplusplus.sourceforge.net/";
|
|
license = lib.licenses.lgpl2Plus;
|
|
maintainers = [ lib.maintainers.normalcea ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|