blob: 1d99f300cb7bb092e679f53846e2101f32ecfb62 (
plain) (
blame)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
check-manifest,
setuptools,
setuptools-scm,
packaging,
pytestCheckHook,
xarray,
zarr,
}:
buildPythonPackage rec {
pname = "datatree";
version = "0.0.14";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "xarray-contrib";
repo = "datatree";
rev = "refs/tags/v${version}";
hash = "sha256-C6+WcHc2+sftJ5Yyh/9TTIHhAEwhAqSsSkaDwtq7J90=";
};
build-system = [
check-manifest
setuptools
setuptools-scm
];
dependencies = [
packaging
xarray
];
nativeCheckInputs = [
pytestCheckHook
zarr
];
pythonImportsCheck = [ "datatree" ];
disabledTests = [
# output formatting issue, likely due to underlying library version difference:
"test_diff_node_data"
];
meta = with lib; {
description = "Tree-like hierarchical data structure for xarray";
homepage = "https://xarray-datatree.readthedocs.io";
changelog = "https://github.com/xarray-contrib/datatree/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ bcdarwin ];
};
}
|