depot/third_party/nixpkgs/pkgs/by-name/xm/xml-tooling-c/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

49 lines
914 B
Nix

{
lib,
stdenv,
fetchgit,
autoreconfHook,
pkg-config,
boost,
curl,
openssl,
log4shib,
xercesc,
xml-security-c,
}:
stdenv.mkDerivation rec {
pname = "xml-tooling-c";
version = "3.2.4";
src = fetchgit {
url = "https://git.shibboleth.net/git/cpp-xmltooling.git";
rev = version;
sha256 = "sha256-FQ109ahOSWj3hvaxu1r/0FTpCuWaLgSEKM8NBio+wqU=";
};
buildInputs = [
boost
curl
openssl
log4shib
xercesc
xml-security-c
];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.isDarwin) "-std=c++14";
enableParallelBuilding = true;
meta = {
description = "Low-level library that provides a high level interface to XML processing for OpenSAML 2";
platforms = lib.platforms.unix;
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.sigmanificient ];
};
}