2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config
|
2019-07-30 00:05:52 +02:00
|
|
|
, boost, openssl, log4shib, xercesc, xml-security-c, xml-tooling-c, zlib
|
|
|
|
}:
|
2017-04-26 22:52:13 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "opensaml-cpp";
|
2019-07-30 00:05:52 +02:00
|
|
|
version = "3.0.1";
|
2017-04-26 22:52:13 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.shibboleth.net/git/cpp-opensaml.git";
|
2018-01-18 19:52:00 +01:00
|
|
|
rev = version;
|
2019-07-30 00:05:52 +02:00
|
|
|
sha256 = "0ms3sqmwqkrqb92d7jy2hqwnz5yd7cbrz73n321jik0jilrwl5w8";
|
2017-04-26 22:52:13 +02:00
|
|
|
};
|
|
|
|
|
2019-07-30 00:05:52 +02:00
|
|
|
buildInputs = [
|
|
|
|
boost openssl log4shib xercesc xml-security-c xml-tooling-c zlib
|
|
|
|
];
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-04-26 22:52:13 +02:00
|
|
|
|
|
|
|
configureFlags = [ "--with-xmltooling=${xml-tooling-c}" ];
|
|
|
|
|
2017-04-27 20:06:28 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2017-04-27 20:06:28 +02:00
|
|
|
homepage = "https://shibboleth.net/products/opensaml-cpp.html";
|
2017-04-26 22:52:13 +02:00
|
|
|
description = "A low-level library written in C++ that provides support for producing and consuming SAML messages";
|
2017-04-27 20:06:28 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.asl20;
|
2017-05-16 11:11:55 +02:00
|
|
|
maintainers = [ maintainers.jammerful ];
|
2017-04-26 22:52:13 +02:00
|
|
|
};
|
|
|
|
}
|