Merge pull request #240557 from MrTarantoga/update_cdo

CDO: 2.0.5 -> 2.2.0
This commit is contained in:
Pol Dellaiera 2023-07-25 02:58:39 +02:00 committed by GitHub
commit 9f62095a0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, curl, hdf5, netcdf, eccodes
{ lib, stdenv, fetchurl, curl, hdf5, netcdf, eccodes, python3
, # build, install and link to a CDI library [default=no]
enable_cdi_lib ? false
, # build a completely statically linked CDO binary
@ -9,14 +9,14 @@
stdenv.mkDerivation rec {
pname = "cdo";
version = "2.0.5";
version = "2.2.0";
# Dependencies
buildInputs = [ curl netcdf hdf5 ];
buildInputs = [ curl netcdf hdf5 python3 ];
src = fetchurl {
url = "https://code.mpimet.mpg.de/attachments/download/26823/${pname}-${version}.tar.gz";
sha256 = "sha256-7e678cOxofDGQtrmvIx2JODFS6vkYQZNxcfaykpbDc4=";
url = "https://code.mpimet.mpg.de/attachments/download/28013/${pname}-${version}.tar.gz";
sha256 = "sha256-Z5yNEFcGyv/LoJYOxd3EoTMsG0DFL4LDk3NWmZ2PrfI=";
};
configureFlags = [
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
There are more than 600 operators available.
'';
homepage = "https://code.mpimet.mpg.de/projects/cdo/";
license = licenses.gpl2;
license = licenses.bsd3;
maintainers = [ maintainers.ltavard ];
platforms = with platforms; linux ++ darwin;
};