opensaml-cpp: modernize

drop dead configure flag and track release tags
This commit is contained in:
Clément
2026-09-25 15:39:42 +02:00
parent 1d8161324a
commit 7ec37fffd1

View File

@@ -11,13 +11,20 @@
xml-security-c,
xml-tooling-c,
zlib,
unstableGitUpdater,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "opensaml-cpp";
version = "3.3.1";
outputs = [
"out"
"bin"
"dev"
"doc"
];
src = fetchFromCodeberg {
owner = "Shibboleth";
repo = "cpp-opensaml";
@@ -41,14 +48,13 @@ stdenv.mkDerivation (finalAttrs: {
configureFlags = [
"--with-boost=${boost.dev}"
"--with-xmltooling=${xml-tooling-c}"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.hostPlatform.isDarwin) "-std=c++14";
enableParallelBuilding = true;
passthru.updateScript = unstableGitUpdater { };
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://shibboleth.net/products/opensaml-cpp.html";