blob: 39f6c827158c97e870c0f08af10c88f665511dbc (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools-scm,
# dependencies
h5py,
numpy,
# tests
pytestCheckHook,
pytest-cov-stub,
scipy,
tables,
}:
buildPythonPackage rec {
pname = "h5io";
version = "0.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "h5io";
repo = "h5io";
tag = "h5io-${version}";
hash = "sha256-ZkG9e7KtDvoRq9XCExYseE+Z7tMQTWcSiwsSrN5prdI=";
};
build-system = [ setuptools-scm ];
dependencies = [
h5py
numpy
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
scipy
tables
];
disabledTests = [
# See https://github.com/h5io/h5io/issues/86
"test_state_with_pathlib"
];
pythonImportsCheck = [ "h5io" ];
meta = {
description = "Read and write simple Python objects using HDF5";
homepage = "https://github.com/h5io/h5io";
changelog = "https://github.com/h5io/h5io/releases/tag/h5io-${version}";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|