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.1"; 6 7 src = fetchgit { 8 url = "https://git.shibboleth.net/git/cpp-opensaml.git"; 9 rev = version; 10 sha256 = "0wjb6jyvh4hwpy1pvhh63i821746nqijysrd4vasbirkf4h6z7nx"; 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}