2023-08-04 22:07:22 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, curl
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xerces-c";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "3.2.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://apache/xerces/c/3/sources/${pname}-${version}.tar.gz";
|
2022-12-17 10:02:37 +00:00
|
|
|
sha256 = "sha256-PY7Bx/lOOP7g5Mpa0eHZ2yPL86ELumJva0r6Le2v5as=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
buildInputs = [
|
|
|
|
curl
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
# Disable SSE2 extensions on platforms for which they are not enabled by default
|
|
|
|
"--disable-sse2"
|
|
|
|
"--enable-netaccessor-curl"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://xerces.apache.org/xerces-c/";
|
|
|
|
description = "Validating XML parser written in a portable subset of C++";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|