nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "xerces-c";
5 version = "3.2.4";
6
7 src = fetchurl {
8 url = "mirror://apache/xerces/c/3/sources/${pname}-${version}.tar.gz";
9 sha256 = "sha256-PY7Bx/lOOP7g5Mpa0eHZ2yPL86ELumJva0r6Le2v5as=";
10 };
11
12 # Disable SSE2 extensions on platforms for which they are not enabled by default
13 configureFlags = [ "--disable-sse2" ];
14 enableParallelBuilding = true;
15
16 meta = {
17 homepage = "https://xerces.apache.org/xerces-c/";
18 description = "Validating XML parser written in a portable subset of C++";
19 license = lib.licenses.asl20;
20 platforms = lib.platforms.linux ++ lib.platforms.darwin;
21 };
22}