lol

cdo: 1.9.10 -> 2.0.5 and add eccodes dependency for GRIB files (#167743)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by

Matthias Riße
Sandro
and committed by
GitHub
f0f5be95 2210891a

+11 -9
+11 -9
pkgs/development/libraries/cdo/default.nix
··· 1 - { lib, stdenv, fetchurl, curl, hdf5, netcdf 1 + { lib, stdenv, fetchurl, curl, hdf5, netcdf, eccodes 2 2 , # build, install and link to a CDI library [default=no] 3 3 enable_cdi_lib ? false 4 4 , # build a completely statically linked CDO binary ··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "cdo"; 12 - version = "1.9.10"; 12 + version = "2.0.5"; 13 13 14 14 # Dependencies 15 15 buildInputs = [ curl netcdf hdf5 ]; 16 16 17 17 src = fetchurl { 18 - url = "https://code.mpimet.mpg.de/attachments/download/24638/${pname}-${version}.tar.gz"; 19 - sha256 = "sha256-zDnIm7tIHXs5RaBsVqhJIEcjX0asNjxPDZgPzN3mZ34="; 18 + url = "https://code.mpimet.mpg.de/attachments/download/26823/${pname}-${version}.tar.gz"; 19 + sha256 = "sha256-7e678cOxofDGQtrmvIx2JODFS6vkYQZNxcfaykpbDc4="; 20 20 }; 21 21 22 - # Configure phase 23 22 configureFlags = [ 24 - "--with-netcdf=${netcdf}" "--with-hdf5=${hdf5}"] 25 - ++ lib.optional (enable_cdi_lib) "--enable-cdi-lib" 26 - ++ lib.optional (enable_all_static) "--enable-all-static" 27 - ++ lib.optional (enable_cxx) "--enable-cxx"; 23 + "--with-netcdf=${netcdf}" 24 + "--with-hdf5=${hdf5}" 25 + "--with-eccodes=${eccodes}" 26 + ] 27 + ++ lib.optional enable_cdi_lib "--enable-cdi-lib" 28 + ++ lib.optional enable_all_static "--enable-all-static" 29 + ++ lib.optional enable_cxx "--enable-cxx"; 28 30 29 31 meta = with lib; { 30 32 description = "Collection of command line Operators to manipulate and analyse Climate and NWP model Data";