depot/third_party/nixpkgs/pkgs/development/libraries/xml-security-c/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
764 B
Nix

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