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