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