2015-09-11 14:34:34 +02:00
|
|
|
{ stdenv, fetchurl, netcdf, hdf5, curl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "netcdf-cxx4-${version}";
|
|
|
|
version = "4.2.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1g0fsmz59dnjib4a7r899lm99j3z6yxsw10c0wlihclzr6znmmds";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ netcdf hdf5 curl ];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ API to manipulate netcdf files";
|
|
|
|
homepage = "http://www.unidata.ucar.edu/software/netcdf/";
|
|
|
|
license = stdenv.lib.licenses.free;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-09-11 14:34:34 +02:00
|
|
|
};
|
|
|
|
}
|