blob: 733cabe24d752f87b4e65180c394d14205e87757 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
h5py,
pytestCheckHook,
netcdf4,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "h5netcdf";
version = "1.6.4";
pyproject = true;
src = fetchFromGitHub {
owner = "h5netcdf";
repo = "h5netcdf";
tag = "v${version}";
hash = "sha256-SFlea/ABP78GQgGkh7hscAlGfpKVnXN2zr99D9LCpeQ=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ h5py ];
nativeCheckInputs = [
pytestCheckHook
netcdf4
];
pythonImportsCheck = [ "h5netcdf" ];
meta = {
description = "Pythonic interface to netCDF4 via h5py";
homepage = "https://github.com/shoyer/h5netcdf";
changelog = "https://github.com/h5netcdf/h5netcdf/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|