mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 22:51:21 +00:00
python3Packages.netcdf4: 1.7.2 -> 1.7.4
https://github.com/Unidata/netcdf4-python/raw/v1.7.4rel/Changelog
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
netcdf,
|
||||
numpy,
|
||||
oldest-supported-numpy,
|
||||
pytest,
|
||||
python,
|
||||
setuptools-scm,
|
||||
stdenv,
|
||||
@@ -20,7 +21,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.7.2";
|
||||
version = "1.7.4";
|
||||
suffix = lib.optionalString (lib.match ''.*\.post[0-9]+'' version == null) "rel";
|
||||
tag = "v${version}${suffix}";
|
||||
in
|
||||
@@ -35,7 +36,7 @@ buildPythonPackage {
|
||||
owner = "Unidata";
|
||||
repo = "netcdf4-python";
|
||||
inherit tag;
|
||||
hash = "sha256-orwCHKOSam+2eRY/yAduFYWREOkJlWIJGIZPZwQZ/RI=";
|
||||
hash = "sha256-b91Y6RnZ8JpaRBLwJqQ/I3a2rGGl9jv9tyGiI67Zbp4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -59,6 +60,10 @@ buildPythonPackage {
|
||||
zlib
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
|
||||
Reference in New Issue
Block a user