nixpkgs/pkgs/development/libraries/xercesc/default.nix

23 lines
671 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "xerces-c";
2020-05-11 02:51:38 +01:00
version = "3.2.3";
src = fetchurl {
url = "mirror://apache/xerces/c/3/sources/${pname}-${version}.tar.gz";
2020-05-11 02:51:38 +01:00
sha256 = "0zicsydx6s7carwr7q0csgkg1xncibd6lfp5chg2v2gvn54zr5pv";
};
# Disable SSE2 extensions on platforms for which they are not enabled by default
configureFlags = [ "--disable-sse2" ];
enableParallelBuilding = true;
meta = {
homepage = "https://xerces.apache.org/xerces-c/";
description = "Validating XML parser written in a portable subset of C++";
license = lib.licenses.asl20;
2021-01-23 17:15:07 +00:00
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}