python313Packages.xarray-dataclass: init at 3.0.0

Changed files
+50
pkgs
development
python-modules
xarray-dataclass
top-level
+48
pkgs/development/python-modules/xarray-dataclass/default.nix
···
+
{
+
lib,
+
buildPythonPackage,
+
fetchFromGitHub,
+
pythonOlder,
+
hatchling,
+
pytestCheckHook,
+
numpy,
+
typing-extensions,
+
xarray,
+
}:
+
+
buildPythonPackage rec {
+
pname = "xarray-dataclass";
+
version = "3.0.0";
+
pyproject = true;
+
+
src = fetchFromGitHub {
+
owner = "xarray-contrib";
+
repo = "xarray-dataclass";
+
tag = "v${version}";
+
hash = "sha256-NHJvrkoRhq5cPSBBMWzrWVn+3sPvveMRgTXc/NdLfuA=";
+
};
+
+
build-system = [
+
hatchling
+
];
+
+
pythonRelaxDeps = [ "xarray" ];
+
+
dependencies = [
+
numpy
+
typing-extensions
+
xarray
+
];
+
+
nativeCheckInputs = [ pytestCheckHook ];
+
+
pythonImportsCheck = [ "xarray_dataclass" ];
+
+
meta = with lib; {
+
description = "Xarray data creation made easy by dataclass";
+
homepage = "https://xarray-contrib.github.io/xarray-dataclass";
+
changelog = "https://github.com/xarray-contrib/xarray-dataclass/releases/tag/v${version}";
+
license = licenses.mit;
+
maintainers = with maintainers; [ bcdarwin ];
+
};
+
}
+2
pkgs/top-level/python-packages.nix
···
xarray = callPackage ../development/python-modules/xarray { };
+
xarray-dataclass = callPackage ../development/python-modules/xarray-dataclass { };
+
xarray-dataclasses = callPackage ../development/python-modules/xarray-dataclasses { };
xarray-einstats = callPackage ../development/python-modules/xarray-einstats { };