mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
23 lines
685 B
Nix
23 lines
685 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xerces-c";
|
|
version = "3.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/xerces/c/3/sources/${pname}-${version}.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;
|
|
};
|
|
}
|