nixpkgs/pkgs/development/libraries/xml-security-c/default.nix

28 lines
738 B
Nix

{ lib, stdenv, fetchurl, xalanc, xercesc, openssl, pkg-config }:
stdenv.mkDerivation rec {
pname = "xml-security-c";
version = "2.0.4";
src = fetchurl {
url = "mirror://apache/santuario/c-library/${pname}-${version}.tar.gz";
sha256 = "sha256-p42mcg9sK6FBANJCYTHg0z6sWi26XMEb3QSXS364kAM=";
};
configureFlags = [
"--with-openssl"
"--with-xerces"
"--with-xalan"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ xalanc xercesc openssl ];
meta = {
homepage = "https://santuario.apache.org/";
description = "C++ Implementation of W3C security standards for XML";
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.jagajaga ];
};
}