push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
libxml2,
glibmm,
perl,
gnome,
}:
stdenv.mkDerivation rec {
pname = "libxml++";
version = "2.40.1";
src = fetchurl {
url = "mirror://gnome/sources/libxml++/${lib.versions.majorMinor version}/libxml++-${version}.tar.xz";
sha256 = "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a";
};
configureFlags = [
# remove if library is updated
"CXXFLAGS=-std=c++11"
];
outputs = [
"out"
"devdoc"
];
nativeBuildInputs = [
pkg-config
perl
];
propagatedBuildInputs = [
libxml2
glibmm
];
passthru = {
updateScript = gnome.updateScript {
attrPath = "libxmlxx";
packageName = "libxml++";
versionPolicy = "odd-unstable";
freeze = true;
};
};
meta = with lib; {
homepage = "https://libxmlplusplus.sourceforge.net/";
description = "C++ wrapper for the libxml2 XML parser library";
license = licenses.lgpl2Plus;
platforms = platforms.unix;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,104 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
libxml2,
glibmm,
perl,
gnome,
meson,
ninja,
docbook5,
docbook-xsl-ns,
doxygen,
libxslt,
fop,
dblatex,
graphviz,
withDocumentation ? false,
withManual ? false, # Broken due to not being allowed to fetch file from web
withPDF ? false,
withExamples ? false,
}:
stdenv.mkDerivation rec {
pname = "libxml++";
version = "3.2.5";
src = fetchurl {
url = "mirror://gnome/sources/libxml++/${lib.versions.majorMinor version}/libxml++-${version}.tar.xz";
hash = "sha256-DJs4G1qD1rOrSwuGXXJW2rJ9V1mBtjvi+Fnty5TaWcc=";
};
outputs = [
"out"
"dev"
]
++ lib.lists.optionals withDocumentation [
"doc"
"devdoc"
];
nativeBuildInputs = [
ninja
meson
pkg-config
]
++ lib.lists.optionals withDocumentation [
perl
doxygen
libxslt
graphviz
]
++ lib.lists.optionals withManual [
docbook5
docbook-xsl-ns
]
++ lib.lists.optional withPDF [
fop
dblatex
];
buildInputs = [ glibmm ];
propagatedBuildInputs = [ libxml2 ];
mesonFlags = [
(lib.mesonBool "maintainer-mode" false)
(lib.mesonBool "build-documentation" withDocumentation)
(lib.mesonBool "build-manual" withManual)
(lib.mesonBool "build-pdf" withPDF)
(lib.mesonBool "build-examples" withExamples)
(lib.mesonBool "build-tests" doCheck)
];
preBuild = lib.strings.optionalString withDocumentation ''
doxygen -u docs/reference/Doxyfile
'';
postFixup = ''
substituteInPlace $dev/lib/pkgconfig/libxml++-3.0.pc \
--replace-fail 'docdir=''${datarootdir}' "docdir=$doc/share"
'';
passthru = {
updateScript = gnome.updateScript {
attrPath = "libxmlxx3";
packageName = "libxml++";
versionPolicy = "odd-unstable";
freeze = true;
};
};
doCheck = true;
meta = with lib; {
homepage = "https://libxmlplusplus.sourceforge.net/";
description = "C++ wrapper for the libxml2 XML parser library, version 3";
license = licenses.lgpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ willow ];
};
}