nco: 4.9.7 -> 4.9.8 + fix license and deps
This commit is contained in:
parent
474664683c
commit
cc302fcbec
|
@ -1,15 +1,15 @@
|
||||||
{ lib, stdenv, fetchzip, netcdf, netcdfcxx4, gsl, udunits, antlr, which, curl, flex, coreutils }:
|
{ lib, stdenv, fetchzip, netcdf, netcdfcxx4, gsl, udunits, antlr, which, curl, flex, coreutils }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "4.9.7";
|
version = "4.9.8";
|
||||||
pname = "nco";
|
pname = "nco";
|
||||||
|
|
||||||
nativeBuildInputs = [ flex which ];
|
nativeBuildInputs = [ flex which antlr ];
|
||||||
buildInputs = [ netcdf netcdfcxx4 gsl udunits antlr curl coreutils ];
|
buildInputs = [ netcdf netcdfcxx4 gsl udunits curl coreutils ];
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/nco/nco/archive/${version}.tar.gz";
|
url = "https://github.com/nco/nco/archive/${version}.tar.gz";
|
||||||
sha256 = "sha256-Q4okOoyodofAsMrSmAhFISeY05Be+i7OX4qy2annQq4=";
|
sha256 = "sha256-fOdmM0I/UGhxacofEBfw9UmOOrMDUXs59ca8uvkQKqw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
@ -19,11 +19,13 @@ stdenv.mkDerivation rec {
|
||||||
--replace "/bin/mv" "${coreutils}/bin/mv"
|
--replace "/bin/mv" "${coreutils}/bin/mv"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
parallelBuild = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "NetCDF Operator toolkit";
|
description = "NetCDF Operator toolkit";
|
||||||
longDescription = "The NCO (netCDF Operator) toolkit manipulates and analyzes data stored in netCDF-accessible formats, including DAP, HDF4, and HDF5";
|
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/";
|
homepage = "http://nco.sourceforge.net/";
|
||||||
license = lib.licenses.gpl3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = [ lib.maintainers.bzizou ];
|
maintainers = [ lib.maintainers.bzizou ];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue