2019-12-14 23:48:56 +00:00
|
|
|
{ stdenv, fetchzip, netcdf, netcdfcxx4, gsl, udunits, antlr, which, curl, flex }:
|
2016-02-22 13:53:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-12-24 02:45:12 +00:00
|
|
|
version = "4.9.1";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "nco";
|
2016-02-22 13:53:34 +00:00
|
|
|
|
2019-12-14 23:48:56 +00:00
|
|
|
nativeBuildInputs = [ flex which ];
|
|
|
|
buildInputs = [ netcdf netcdfcxx4 gsl udunits antlr curl ];
|
2016-02-22 13:53:34 +00:00
|
|
|
|
2019-12-14 23:48:56 +00:00
|
|
|
src = fetchzip {
|
2016-02-22 13:53:34 +00:00
|
|
|
url = "https://github.com/nco/nco/archive/${version}.tar.gz";
|
2019-12-24 02:45:12 +00:00
|
|
|
sha256 = "14r44wi9ina8h8gh5cmkcddxl5ziwv42mv60sp4l5wfmjz5xwa4x";
|
2016-02-22 13:53:34 +00:00
|
|
|
};
|
|
|
|
|
2019-07-17 08:52:01 +01:00
|
|
|
meta = {
|
2016-02-23 14:07:18 +00:00
|
|
|
description = "NetCDF Operator toolkit";
|
|
|
|
longDescription = "The NCO (netCDF Operator) toolkit manipulates and analyzes data stored in netCDF-accessible formats, including DAP, HDF4, and HDF5";
|
2019-12-14 23:48:56 +00:00
|
|
|
homepage = "http://nco.sourceforge.net/";
|
2016-02-22 13:53:34 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bzizou ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|