2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, xalanc, xercesc, openssl, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xml-security-c";
|
|
|
|
version = "2.0.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "mirror://apache/santuario/c-library/${pname}-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1prh5sxzipkqglpsh53iblbr7rxi54wbijxdjiahzjmrijqa40y3";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-openssl"
|
|
|
|
"--with-xerces"
|
|
|
|
"--with-xalan"
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ xalanc xercesc openssl ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://santuario.apache.org/";
|
|
|
|
description = "C++ Implementation of W3C security standards for XML";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.jagajaga ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|