nixpkgs-suyu/pkgs/development/libraries/xml-security-c/default.nix
2019-07-30 00:03:24 +02:00

29 lines
783 B
Nix

{ stdenv, fetchurl, xalanc, xercesc, openssl, pkgconfig }:
stdenv.mkDerivation rec {
name = "xml-security-c-${version}";
version = "2.0.2";
src = fetchurl {
url = "https://www.apache.org/dist/santuario/c-library/${name}.tar.gz";
sha256 = "1prh5sxzipkqglpsh53iblbr7rxi54wbijxdjiahzjmrijqa40y3";
};
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 ];
};
}