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