3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/xml-security-c/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

37 lines
929 B
Nix

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