mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 05:20:00 +00:00
opensaml-cpp: modernize
drop dead configure flag and track release tags
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user