depot/third_party/nixpkgs/pkgs/by-name/xm/xml-tooling-c/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

49 lines
916 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 = "A 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 ];
};
}