biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / h5netcdf / default.nix
blobcc43f6d6dff2d93236d638fc6fbaefd6a0c51277
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   h5py,
6   pytestCheckHook,
7   netcdf4,
8   pythonOlder,
9   setuptools,
10   setuptools-scm,
13 buildPythonPackage rec {
14   pname = "h5netcdf";
15   version = "1.3.0";
16   format = "pyproject";
18   disabled = pythonOlder "3.6";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-oXHAJ9rrNLJMJKO2MEGVuOq7tvEMdIJW7Tz+GYBjg88=";
23   };
25   nativeBuildInputs = [
26     setuptools
27     setuptools-scm
28   ];
30   propagatedBuildInputs = [ h5py ];
32   nativeCheckInputs = [
33     pytestCheckHook
34     netcdf4
35   ];
37   dontUseSetuptoolsCheck = true;
39   pythonImportsCheck = [ "h5netcdf" ];
41   meta = with lib; {
42     description = "netCDF4 via h5py";
43     homepage = "https://github.com/shoyer/h5netcdf";
44     changelog = "https://github.com/h5netcdf/h5netcdf/releases/tag/v${version}";
45     license = licenses.bsd3;
46     maintainers = [ ];
47   };