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