python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / netcdf-cxx4 / default.nix
blob698a8152a4459d559d0e2ca1b6bff23d552407cd
1 { lib, stdenv, fetchFromGitHub, netcdf, hdf5, curl, cmake, ninja }:
2 stdenv.mkDerivation rec {
3   pname = "netcdf-cxx4";
4   version = "4.3.1";
6   src = fetchFromGitHub {
7     owner = "Unidata";
8     repo = "netcdf-cxx4";
9     rev = "v${version}";
10     sha256 = "sha256-GZ6n7dW3l8Kqrk2Xp2mxRTUWWQj0XEd2LDTG9EtrfhY=";
11   };
13   preConfigure = ''
14     cmakeFlags+="-Dabs_top_srcdir=$(readlink -f ./)"
15   '';
17   nativeBuildInputs = [ cmake ninja ];
18   buildInputs = [ netcdf hdf5 curl ];
20   doCheck = true;
21   enableParallelChecking = false;
23   meta = {
24     description = "C++ API to manipulate netcdf files";
25     homepage = "https://www.unidata.ucar.edu/software/netcdf/";
26     license = lib.licenses.free;
27     platforms = lib.platforms.unix;
28   };