668a5dd07b
* nco: 4.8.1 -> 4.9.0 * nco: fetchurl -> fetchzip Source is a GitHub archive
24 lines
811 B
Nix
24 lines
811 B
Nix
{ stdenv, fetchzip, netcdf, netcdfcxx4, gsl, udunits, antlr, which, curl, flex }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.9.0";
|
|
pname = "nco";
|
|
|
|
nativeBuildInputs = [ flex which ];
|
|
buildInputs = [ netcdf netcdfcxx4 gsl udunits antlr curl ];
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/nco/nco/archive/${version}.tar.gz";
|
|
sha256 = "0k371b1w369dchmxskd9191i1p47xcwxqwbxsgmdhs8n477wj74b";
|
|
};
|
|
|
|
meta = {
|
|
description = "NetCDF Operator toolkit";
|
|
longDescription = "The NCO (netCDF Operator) toolkit manipulates and analyzes data stored in netCDF-accessible formats, including DAP, HDF4, and HDF5";
|
|
homepage = "http://nco.sourceforge.net/";
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = [ stdenv.lib.maintainers.bzizou ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|