diff --git a/pkgs/development/libraries/cdo/default.nix b/pkgs/development/libraries/cdo/default.nix index af69e23ca1f4..2a3dbc7a2d13 100644 --- a/pkgs/development/libraries/cdo/default.nix +++ b/pkgs/development/libraries/cdo/default.nix @@ -5,15 +5,15 @@ }: stdenv.mkDerivation rec { - version = "1.9.0"; - name = "cdo-${version}"; + pname = "cdo"; + version = "1.9.7.1"; # Dependencies buildInputs = [ curl netcdf hdf5 ]; src = fetchurl { - url = "https://code.mpimet.mpg.de/attachments/download/15187/${name}.tar.gz"; - sha256 = "024hsr6qfg2dicwvm0vvkg3fr998bchf0qgwpj2v0jmz7a67ydnz"; + url = "https://code.mpimet.mpg.de/attachments/download/20124/${pname}-${version}.tar.gz"; + sha256 = "0b4n8dwxfsdbz4jflsx0b75hwapdf1rp14p48dfr7ksv0qp9aw9p"; }; # Configure phase @@ -23,15 +23,15 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional (enable_all_static) "--enable-all-static" ++ 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"; longDescription = '' Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG. There are more than 600 operators available. ''; homepage = https://code.mpimet.mpg.de/projects/cdo/; - license = stdenv.lib.licenses.gpl2; - maintainers = [ stdenv.lib.maintainers.ltavard ]; - platforms = with stdenv.lib.platforms; linux ++ darwin; + license = licenses.gpl2; + maintainers = [ maintainers.ltavard ]; + platforms = with platforms; linux ++ darwin; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 77563721c587..46843a5c3b39 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10204,9 +10204,7 @@ in cdk = callPackage ../development/libraries/cdk {}; - cdo = callPackage ../development/libraries/cdo { - stdenv = gccStdenv; - }; + cdo = callPackage ../development/libraries/cdo { }; cimg = callPackage ../development/libraries/cimg { };