nixpkgs/pkgs/development/libraries/xml-security-c/default.nix
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00

30 lines
785 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"
"--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 ];
};
}