nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "xerces-c-${version}";
5 version = "3.2.2";
6
7 src = fetchurl {
8 url = "mirror://apache/xerces/c/3/sources/${name}.tar.gz";
9 sha256 = "04q4c460wqzyzmprjm22igcm1d52xr20ajxnhr33nv95mbw92qfx";
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 = stdenv.lib.licenses.asl20;
20 platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
21 };
22}