cdo: 1.9.0 -> 1.9.7.1

This commit is contained in:
Jonathan Ringer 2019-08-06 02:49:05 -07:00
parent d95b118554
commit 8759ff6cad
2 changed files with 9 additions and 11 deletions

View File

@ -5,15 +5,15 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.9.0"; pname = "cdo";
name = "cdo-${version}"; version = "1.9.7.1";
# Dependencies # Dependencies
buildInputs = [ curl netcdf hdf5 ]; buildInputs = [ curl netcdf hdf5 ];
src = fetchurl { src = fetchurl {
url = "https://code.mpimet.mpg.de/attachments/download/15187/${name}.tar.gz"; url = "https://code.mpimet.mpg.de/attachments/download/20124/${pname}-${version}.tar.gz";
sha256 = "024hsr6qfg2dicwvm0vvkg3fr998bchf0qgwpj2v0jmz7a67ydnz"; sha256 = "0b4n8dwxfsdbz4jflsx0b75hwapdf1rp14p48dfr7ksv0qp9aw9p";
}; };
# Configure phase # Configure phase
@ -23,15 +23,15 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (enable_all_static) "--enable-all-static" ++ stdenv.lib.optional (enable_all_static) "--enable-all-static"
++ stdenv.lib.optional (enable_cxx) "--enable-cxx"; ++ stdenv.lib.optional (enable_cxx) "--enable-cxx";
meta = { meta = with stdenv.lib; {
description = "Collection of command line Operators to manipulate and analyse Climate and NWP model Data"; description = "Collection of command line Operators to manipulate and analyse Climate and NWP model Data";
longDescription = '' longDescription = ''
Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG. Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG.
There are more than 600 operators available. There are more than 600 operators available.
''; '';
homepage = https://code.mpimet.mpg.de/projects/cdo/; homepage = https://code.mpimet.mpg.de/projects/cdo/;
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.ltavard ]; maintainers = [ maintainers.ltavard ];
platforms = with stdenv.lib.platforms; linux ++ darwin; platforms = with platforms; linux ++ darwin;
}; };
} }

View File

@ -10204,9 +10204,7 @@ in
cdk = callPackage ../development/libraries/cdk {}; cdk = callPackage ../development/libraries/cdk {};
cdo = callPackage ../development/libraries/cdo { cdo = callPackage ../development/libraries/cdo { };
stdenv = gccStdenv;
};
cimg = callPackage ../development/libraries/cimg { }; cimg = callPackage ../development/libraries/cimg { };