xml-security-c: init at 1.7.3

This commit is contained in:
Arseniy Seroka 2016-04-26 19:13:09 +03:00
parent 6f90f44734
commit 12944261c2
No known key found for this signature in database
GPG Key ID: C4F131DF7F7B40E3
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ stdenv, fetchurl, xalanc, xercesc, openssl, pkgconfig }:
stdenv.mkDerivation rec {
name = "xml-security-c-${version}";
version = "1.7.3";
src = fetchurl {
url = "http://www.apache.org/dist/santuario/c-library/${name}.tar.gz";
sha256 = "e5226e7319d44f6fd9147a13fb853f5c711b9e75bf60ec273a0ef8a190592583";
};
patchPhase = ''
mkdir -p xsec/yes/lib
sed -i -e 's/-O2 -DNDEBUG/-DNDEBUG/g' configure
'';
configurePhase = ''
./configure --prefix=$out \
--with-openssl \
--with-xerces \
--with-xalan \
--disable-static
'';
buildInputs = [ xalanc xercesc openssl pkgconfig ];
meta = {
homepage = http://santuario.apache.org/;
description = "C++ Implementation of W3C security standards for XML";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.jagajaga ];
};
}

View File

@ -9159,6 +9159,8 @@ in
xmlsec = callPackage ../development/libraries/xmlsec { };
xml-security-c = callPackage ../development/libraries/xml-security-c { };
xlslib = callPackage ../development/libraries/xlslib { };
xvidcore = callPackage ../development/libraries/xvidcore { };