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