1{ stdenv, fetchurl, xalanc, xercesc, openssl, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 pname = "xml-security-c";
5 version = "2.0.2";
6
7 src = fetchurl {
8 url = "https://www.apache.org/dist/santuario/c-library/${pname}-${version}.tar.gz";
9 sha256 = "1prh5sxzipkqglpsh53iblbr7rxi54wbijxdjiahzjmrijqa40y3";
10 };
11
12 configureFlags = [
13 "--with-openssl"
14 "--with-xerces"
15 "--with-xalan"
16 ];
17
18 nativeBuildInputs = [ pkgconfig ];
19 buildInputs = [ xalanc xercesc openssl ];
20
21 meta = {
22 homepage = http://santuario.apache.org/;
23 description = "C++ Implementation of W3C security standards for XML";
24 license = stdenv.lib.licenses.gpl2;
25 platforms = stdenv.lib.platforms.unix;
26 maintainers = [ stdenv.lib.maintainers.jagajaga ];
27 };
28}