1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/development/libraries/xercesc/default.nix
c0bw3b 21b6635932 xercesc: disable SSE2 extension
Disable SSE2 extensions on platforms for which they are not enabled
by default. This does not disable sse2 extensions on systems for
which they are enabled by default, such as amd64.
2018-11-18 01:25:46 +01:00

23 lines
683 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "xerces-c-${version}";
version = "3.2.2";
src = fetchurl {
url = "mirror://apache/xerces/c/3/sources/${name}.tar.gz";
sha256 = "04q4c460wqzyzmprjm22igcm1d52xr20ajxnhr33nv95mbw92qfx";
};
# 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 = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
}