2015-09-11 15:34:34 +03:00
|
|
|
{ stdenv, fetchurl, netcdf, hdf5, curl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "netcdf-cxx4-${version}";
|
2018-01-28 19:51:45 +03:00
|
|
|
version = "4.3.0";
|
2015-09-11 15:34:34 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
|
2018-01-28 19:51:45 +03:00
|
|
|
sha256 = "13zi8cbk18gggx1c12a580wdsbl714lw68a1wg7c86x0sybirni5";
|
2015-09-11 15:34:34 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ netcdf hdf5 curl ];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ API to manipulate netcdf files";
|
2018-01-05 22:42:46 +03:00
|
|
|
homepage = https://www.unidata.ucar.edu/software/netcdf/;
|
2015-09-11 15:34:34 +03:00
|
|
|
license = stdenv.lib.licenses.free;
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-09-11 15:34:34 +03:00
|
|
|
};
|
|
|
|
}
|