2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, 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";
|
2018-01-28 16:51:45 +00:00
|
|
|
version = "4.3.0";
|
2015-09-11 13:34:34 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
|
2018-01-28 16:51:45 +00:00
|
|
|
sha256 = "13zi8cbk18gggx1c12a580wdsbl714lw68a1wg7c86x0sybirni5";
|
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
|
|
|
};
|
|
|
|
}
|