Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 28 lines 857 B view raw
1{ lib, stdenv, fetchgit, autoreconfHook, pkg-config 2, boost, curl, openssl, log4shib, xercesc, xml-security-c 3}: 4 5stdenv.mkDerivation rec { 6 pname = "xml-tooling-c"; 7 version = "3.0.4"; 8 9 src = fetchgit { 10 url = "https://git.shibboleth.net/git/cpp-xmltooling.git"; 11 rev = version; 12 sha256 = "0frj4w70l06nva6dvdcivgm1ax69rqbjdzzbgp0sxhiqhddslbas"; 13 }; 14 15 buildInputs = [ boost curl openssl log4shib xercesc xml-security-c ]; 16 nativeBuildInputs = [ autoreconfHook pkg-config ]; 17 18 env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.isDarwin) "-std=c++14"; 19 20 enableParallelBuilding = true; 21 22 meta = with lib; { 23 description = "A low-level library that provides a high level interface to XML processing for OpenSAML 2"; 24 platforms = platforms.unix; 25 license = licenses.asl20; 26 maintainers = [ maintainers.jammerful ]; 27 }; 28}