at 24.05-pre 1.0 kB view raw
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 env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.isDarwin) "-std=c++14"; 23 24 enableParallelBuilding = true; 25 26 meta = with lib; { 27 homepage = "https://shibboleth.net/products/opensaml-cpp.html"; 28 description = "A low-level library written in C++ that provides support for producing and consuming SAML messages"; 29 platforms = platforms.unix; 30 license = licenses.asl20; 31 maintainers = [ maintainers.jammerful ]; 32 }; 33}