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