summary refs log tree commit diff
path: root/pkgs/development/libraries/xml-security-c/default.nix
blob: eb09b0e0859303adf305bd7e7d9138725754dbd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchurl, xalanc, xercesc, openssl, pkg-config }:

stdenv.mkDerivation rec {
  pname = "xml-security-c";
  version = "2.0.2";

  src = fetchurl {
    url = "https://www.apache.org/dist/santuario/c-library/${pname}-${version}.tar.gz";
    sha256 = "1prh5sxzipkqglpsh53iblbr7rxi54wbijxdjiahzjmrijqa40y3";
  };

  configureFlags = [
    "--with-openssl"
    "--with-xerces"
    "--with-xalan"
  ];

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ xalanc xercesc openssl ];

  meta = {
    homepage = "http://santuario.apache.org/";
    description = "C++ Implementation of W3C security standards for XML";
    license = stdenv.lib.licenses.gpl2;
    platforms = stdenv.lib.platforms.unix;
    maintainers = [ stdenv.lib.maintainers.jagajaga ];
  };
}