depot/third_party/nixpkgs/pkgs/development/libraries/xml-security-c/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

56 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchgit,
autoreconfHook,
pkg-config,
xalanc,
xercesc,
openssl,
darwin,
}:
let
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices SystemConfiguration;
in
stdenv.mkDerivation (finalAttrs: {
pname = "xml-security-c";
version = "2.0.4";
src = fetchgit {
url = "https://git.shibboleth.net/git/cpp-xml-security";
rev = finalAttrs.version;
hash = "sha256-60A6LqUUGmoZMmIvhuZWjrZl6utp7WLhPe738oNd/AA=";
};
configureFlags = [
"--with-openssl"
"--with-xerces"
"--with-xalan"
];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs =
[
xalanc
xercesc
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
CoreFoundation
CoreServices
SystemConfiguration
];
meta = {
homepage = "https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/3726671873/Santuario";
description = "C++ Implementation of W3C security standards for XML";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.jagajaga ];
};
})