nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchgit,
5 autoreconfHook,
6 pkg-config,
7 xalanc,
8 xercesc,
9 openssl,
10}:
11
12stdenv.mkDerivation (finalAttrs: {
13 pname = "xml-security-c";
14 version = "3.0.0";
15
16 src = fetchgit {
17 url = "https://git.shibboleth.net/git/cpp-xml-security";
18 rev = finalAttrs.version;
19 hash = "sha256-D60JtD4p9ERh6sowvwBHtE9XWVm3D8saooagDvA6ZtQ=";
20 };
21
22 configureFlags = [
23 "--with-openssl"
24 "--with-xerces"
25 "--with-xalan"
26 ];
27
28 nativeBuildInputs = [
29 autoreconfHook
30 pkg-config
31 ];
32
33 buildInputs = [
34 xalanc
35 xercesc
36 openssl
37 ];
38
39 meta = {
40 homepage = "https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/3726671873/Santuario";
41 description = "C++ Implementation of W3C security standards for XML";
42 license = lib.licenses.asl20;
43 platforms = lib.platforms.unix;
44 maintainers = [ lib.maintainers.jagajaga ];
45 };
46})