2019-10-18 17:21:45 +01:00
|
|
|
{ lib, stdenv, fetchzip, netcdf, hdf5, curl }:
|
2015-09-11 13:34:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "netcdf-cxx4";
|
2019-09-27 21:02:14 +01:00
|
|
|
version = "4.3.1";
|
2015-09-11 13:34:34 +01:00
|
|
|
|
2019-10-18 17:21:45 +01:00
|
|
|
src = fetchzip {
|
2015-09-11 13:34:34 +01:00
|
|
|
url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
|
2019-10-18 17:21:45 +01:00
|
|
|
sha256 = "05kydd5z9iil5iv4fp7l11cicda5n5lsg5sdmsmc55xpspnsg7hr";
|
2015-09-11 13:34:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ netcdf hdf5 curl ];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ API to manipulate netcdf files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.unidata.ucar.edu/software/netcdf/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.free;
|
|
|
|
platforms = lib.platforms.unix;
|
2015-09-11 13:34:34 +01:00
|
|
|
};
|
|
|
|
}
|