1{ stdenv, fetchgit, autoreconfHook, boost, openssl, log4shib, xercesc, xml-security-c, xml-tooling-c, zlib }:
2
3stdenv.mkDerivation rec {
4 name = "opensaml-cpp-${version}";
5 version = "2.6.0";
6
7 src = fetchgit {
8 url = "https://git.shibboleth.net/git/cpp-opensaml.git";
9 rev = "61193de29e4c9f1ccff7ed7e1f42c2748c62be77";
10 sha256 = "1jlxa1f2qn0kd15fzjqp80apxn42v47wg3mx1vk424m31rhi00xr";
11 };
12
13 buildInputs = [ boost openssl log4shib xercesc xml-security-c xml-tooling-c zlib ];
14 nativeBuildInputs = [ autoreconfHook ];
15
16 configureFlags = [ "--with-xmltooling=${xml-tooling-c}" ];
17
18 enableParallelBuilding = true;
19
20 meta = with stdenv.lib; {
21 homepage = "https://shibboleth.net/products/opensaml-cpp.html";
22 description = "A low-level library written in C++ that provides support for producing and consuming SAML messages";
23 platforms = platforms.unix;
24 license = licenses.asl20;
25 maintainers = [ maintainers.jammerful ];
26 };
27}