2019-10-18 16:21:45 +00:00
|
|
|
{ lib, stdenv, fetchzip, netcdf, hdf5, curl }:
|
2015-09-11 12:34:34 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "netcdf-cxx4";
|
2019-09-27 20:02:14 +00:00
|
|
|
version = "4.3.1";
|
2015-09-11 12:34:34 +00:00
|
|
|
|
2019-10-18 16:21:45 +00:00
|
|
|
src = fetchzip {
|
2015-09-11 12:34:34 +00:00
|
|
|
url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
|
2019-10-18 16:21:45 +00:00
|
|
|
sha256 = "05kydd5z9iil5iv4fp7l11cicda5n5lsg5sdmsmc55xpspnsg7hr";
|
2015-09-11 12:34:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ netcdf hdf5 curl ];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ API to manipulate netcdf files";
|
2020-04-01 01:11:51 +00: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 12:34:34 +00:00
|
|
|
};
|
|
|
|
}
|