2016-04-26 18:13:09 +02:00
|
|
|
{ stdenv, fetchurl, xalanc, xercesc, openssl, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xml-security-c-${version}";
|
2019-07-30 00:03:24 +02:00
|
|
|
version = "2.0.2";
|
2016-04-26 18:13:09 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://www.apache.org/dist/santuario/c-library/${name}.tar.gz";
|
2019-07-30 00:03:24 +02:00
|
|
|
sha256 = "1prh5sxzipkqglpsh53iblbr7rxi54wbijxdjiahzjmrijqa40y3";
|
2016-04-26 18:13:09 +02:00
|
|
|
};
|
|
|
|
|
2017-08-26 10:23:16 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--with-openssl"
|
|
|
|
"--with-xerces"
|
|
|
|
"--with-xalan"
|
|
|
|
"--disable-static"
|
|
|
|
];
|
2016-04-26 18:13:09 +02:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ xalanc xercesc openssl ];
|
2016-04-26 18:13:09 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://santuario.apache.org/;
|
|
|
|
description = "C++ Implementation of W3C security standards for XML";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2017-04-25 23:50:02 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-04-26 18:13:09 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
}
|