forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / xm / xml-security-c / package.nix
blobe198848d0fa260dbcaecccb85213f278eea5b060
2   lib,
3   stdenv,
4   fetchgit,
5   autoreconfHook,
6   pkg-config,
7   xalanc,
8   xercesc,
9   openssl,
10   darwin,
13 let
14   inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices SystemConfiguration;
16 stdenv.mkDerivation (finalAttrs: {
17   pname = "xml-security-c";
18   version = "3.0.0";
20   src = fetchgit {
21     url = "https://git.shibboleth.net/git/cpp-xml-security";
22     rev = finalAttrs.version;
23     hash = "sha256-D60JtD4p9ERh6sowvwBHtE9XWVm3D8saooagDvA6ZtQ=";
24   };
26   configureFlags = [
27     "--with-openssl"
28     "--with-xerces"
29     "--with-xalan"
30   ];
32   nativeBuildInputs = [
33     autoreconfHook
34     pkg-config
35   ];
37   buildInputs =
38     [
39       xalanc
40       xercesc
41       openssl
42     ]
43     ++ lib.optionals stdenv.hostPlatform.isDarwin [
44       CoreFoundation
45       CoreServices
46       SystemConfiguration
47     ];
49   meta = {
50     homepage = "https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/3726671873/Santuario";
51     description = "C++ Implementation of W3C security standards for XML";
52     license = lib.licenses.asl20;
53     platforms = lib.platforms.unix;
54     maintainers = [ lib.maintainers.jagajaga ];
55   };