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

29 lines
750 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, xalanc, xercesc, openssl, pkg-config }:
2016-04-26 17:13:09 +01:00
stdenv.mkDerivation rec {
pname = "xml-security-c";
2019-07-29 23:03:24 +01:00
version = "2.0.2";
2016-04-26 17:13:09 +01:00
src = fetchurl {
url = "https://www.apache.org/dist/santuario/c-library/${pname}-${version}.tar.gz";
2019-07-29 23:03:24 +01:00
sha256 = "1prh5sxzipkqglpsh53iblbr7rxi54wbijxdjiahzjmrijqa40y3";
2016-04-26 17:13:09 +01:00
};
2017-08-26 09:23:16 +01:00
configureFlags = [
"--with-openssl"
"--with-xerces"
"--with-xalan"
];
2016-04-26 17:13:09 +01:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ xalanc xercesc openssl ];
2016-04-26 17:13:09 +01:00
meta = {
homepage = "http://santuario.apache.org/";
2016-04-26 17:13:09 +01:00
description = "C++ Implementation of W3C security standards for XML";
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.jagajaga ];
2016-04-26 17:13:09 +01:00
};
}