Merge pull request #180671 from onny/h5netcdf

python310Packages.h5netcdf: 0.8.1 -> 1.0.1
This commit is contained in:
Fabian Affolter 2022-07-09 11:39:47 +02:00 committed by GitHub
commit aae75196ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,23 +6,24 @@
, pytestCheckHook
, netcdf4
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "h5netcdf";
version = "0.8.1";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "09bbnpsvwksb07wijn7flyyza56h5b2g2cw0hb3slmwxz6cgcjmr";
hash = "sha256-d2cE+s2LgiRtbUBoxQXDibO3C5v5kgzPusfzXNxjTaw=";
};
patches = [
(fetchpatch{
url = "https://patch-diff.githubusercontent.com/raw/h5netcdf/h5netcdf/pull/82.patch";
sha256 = "0x9bq9jl4kvw152adkpcyqslhpi7miv80hrnpl2w2y798mmbs0s4";
})
];
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
h5py
@ -33,14 +34,16 @@ buildPythonPackage rec {
netcdf4
];
disabled = pythonOlder "3.6";
dontUseSetuptoolsCheck = true;
meta = {
pythonImportsCheck = [
"h5netcdf"
];
meta = with lib; {
description = "netCDF4 via h5py";
homepage = "https://github.com/shoyer/h5netcdf";
license = lib.licenses.bsd3;
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}