2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, fetchurl, xalanc, xercesc, openssl, pkg-config }:
|
2016-04-26 17:13:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "xml-security-c";
|
2019-07-29 23:03:24 +01:00
|
|
|
version = "2.0.2";
|
2016-04-26 17:13:09 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://www.apache.org/dist/santuario/c-library/${pname}-${version}.tar.gz";
|
2019-07-29 23:03:24 +01:00
|
|
|
sha256 = "1prh5sxzipkqglpsh53iblbr7rxi54wbijxdjiahzjmrijqa40y3";
|
2016-04-26 17:13:09 +01:00
|
|
|
};
|
|
|
|
|
2017-08-26 09:23:16 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-openssl"
|
|
|
|
"--with-xerces"
|
|
|
|
"--with-xalan"
|
|
|
|
];
|
2016-04-26 17:13:09 +01:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ xalanc xercesc openssl ];
|
2016-04-26 17:13:09 +01:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://santuario.apache.org/";
|
2016-04-26 17:13:09 +01:00
|
|
|
description = "C++ Implementation of W3C security standards for XML";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2017-04-25 22:50:02 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-04-26 17:13:09 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
}
|