python312Packages.xarray-datatree: init at 0.0.14

This commit is contained in:
Ben Darwin
2024-07-25 15:23:06 -04:00
parent a75ae8c786
commit dde60413a8
2 changed files with 61 additions and 0 deletions
@@ -0,0 +1,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 ];
};
}
+2
View File
@@ -17422,6 +17422,8 @@ self: super: with self; {
xarray-dataclasses = callPackage ../development/python-modules/xarray-dataclasses { };
xarray-datatree = callPackage ../development/python-modules/xarray-datatree { };
xarray-einstats = callPackage ../development/python-modules/xarray-einstats { };
xattr = callPackage ../development/python-modules/xattr { };