2024-05-08 16:09:38 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchgit,
|
|
|
|
autoreconfHook,
|
|
|
|
pkg-config,
|
|
|
|
boost,
|
|
|
|
curl,
|
|
|
|
openssl,
|
|
|
|
log4shib,
|
|
|
|
xercesc,
|
|
|
|
xml-security-c,
|
2019-07-29 22:05:21 +00:00
|
|
|
}:
|
2017-04-26 20:42:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xml-tooling-c";
|
2024-01-06 04:36:03 +00:00
|
|
|
version = "3.2.4";
|
2017-04-26 20:42:39 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.shibboleth.net/git/cpp-xmltooling.git";
|
2018-01-18 18:50:25 +00:00
|
|
|
rev = version;
|
2024-07-14 10:59:26 +00:00
|
|
|
hash = "sha256-FQ109ahOSWj3hvaxu1r/0FTpCuWaLgSEKM8NBio+wqU=";
|
2017-04-26 20:42:39 +00:00
|
|
|
};
|
|
|
|
|
2024-05-08 16:09:38 +00:00
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
curl
|
|
|
|
openssl
|
|
|
|
log4shib
|
|
|
|
xercesc
|
|
|
|
xml-security-c
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
2017-04-26 20:42:39 +00:00
|
|
|
|
2023-05-09 16:56:19 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.hostPlatform.isDarwin) "-std=c++14";
|
2022-05-17 17:37:55 +00:00
|
|
|
|
2017-04-27 18:06:11 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2024-05-08 16:09:38 +00:00
|
|
|
meta = {
|
2017-04-26 20:42:39 +00:00
|
|
|
description = "Low-level library that provides a high level interface to XML processing for OpenSAML 2";
|
2024-05-08 16:09:38 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.sigmanificient ];
|
2017-04-26 20:42:39 +00:00
|
|
|
};
|
|
|
|
}
|