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