biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / xarray-datatree / default.nix
blob1d99f300cb7bb092e679f53846e2101f32ecfb62
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   check-manifest,
7   setuptools,
8   setuptools-scm,
9   packaging,
10   pytestCheckHook,
11   xarray,
12   zarr,
15 buildPythonPackage rec {
16   pname = "datatree";
17   version = "0.0.14";
18   pyproject = true;
20   disabled = pythonOlder "3.9";
22   src = fetchFromGitHub {
23     owner = "xarray-contrib";
24     repo = "datatree";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-C6+WcHc2+sftJ5Yyh/9TTIHhAEwhAqSsSkaDwtq7J90=";
27   };
29   build-system = [
30     check-manifest
31     setuptools
32     setuptools-scm
33   ];
35   dependencies = [
36     packaging
37     xarray
38   ];
40   nativeCheckInputs = [
41     pytestCheckHook
42     zarr
43   ];
45   pythonImportsCheck = [ "datatree" ];
47   disabledTests = [
48     # output formatting issue, likely due to underlying library version difference:
49     "test_diff_node_data"
50   ];
52   meta = with lib; {
53     description = "Tree-like hierarchical data structure for xarray";
54     homepage = "https://xarray-datatree.readthedocs.io";
55     changelog = "https://github.com/xarray-contrib/datatree/releases/tag/v${version}";
56     license = licenses.asl20;
57     maintainers = with maintainers; [ bcdarwin ];
58   };