mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
cdo: 2.4.2 -> 2.5.1
This commit is contained in:
parent
19286d4409
commit
3a6de0d71e
1 changed files with 12 additions and 12 deletions
|
@ -15,9 +15,14 @@
|
||||||
enable_cxx ? false,
|
enable_cxx ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "cdo";
|
pname = "cdo";
|
||||||
version = "2.4.2";
|
version = "2.5.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://code.mpimet.mpg.de/attachments/download/29864/cdo-${finalAttrs.version}.tar.gz";
|
||||||
|
hash = "sha256-QYv5HoZMv+VHw8jhUNMUGc+nFefTRVCMVZGxq9pUV9E=";
|
||||||
|
};
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -27,11 +32,6 @@ stdenv.mkDerivation rec {
|
||||||
python3
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://code.mpimet.mpg.de/attachments/download/29481/${pname}-${version}.tar.gz";
|
|
||||||
sha256 = "sha256-TfH+K4+S9Uwn6585nt+rQNkyIAWmcyyhUk71wWJ6xOc=";
|
|
||||||
};
|
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[
|
[
|
||||||
"--with-netcdf=${netcdf}"
|
"--with-netcdf=${netcdf}"
|
||||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optional enable_all_static "--enable-all-static"
|
++ lib.optional enable_all_static "--enable-all-static"
|
||||||
++ lib.optional enable_cxx "--enable-cxx";
|
++ lib.optional enable_cxx "--enable-cxx";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
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";
|
||||||
mainProgram = "cdo";
|
mainProgram = "cdo";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -50,8 +50,8 @@ stdenv.mkDerivation rec {
|
||||||
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 = licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = [ maintainers.ltavard ];
|
maintainers = [ lib.maintainers.ltavard ];
|
||||||
platforms = with platforms; linux ++ darwin;
|
platforms = with lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue