anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / xarray-dataclasses / default.nix
blob09205ea9e17773e069f0cac0d31a5ce7bb273386
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   poetry-core,
7   pytestCheckHook,
8   numpy,
9   typing-extensions,
10   xarray,
13 buildPythonPackage rec {
14   pname = "xarray-dataclasses";
15   version = "1.8.0";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "astropenguin";
22     repo = "xarray-dataclasses";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-NZBWq1G63yef6h9TjRBfCqPzhaks0Cm7bUCJfIIpmcE=";
25   };
27   nativeBuildInputs = [
28     poetry-core
29   ];
31   pythonRelaxDeps = [ "xarray" ];
33   propagatedBuildInputs = [
34     numpy
35     typing-extensions
36     xarray
37   ];
39   nativeCheckInputs = [ pytestCheckHook ];
41   pythonImportsCheck = [ "xarray_dataclasses" ];
43   meta = with lib; {
44     description = "xarray data creation made easy by dataclass";
45     homepage = "https://github.com/astropenguin/xarray-dataclasses";
46     changelog = "https://github.com/astropenguin/xarray-dataclasses/releases/tag/v${version}";
47     license = licenses.mit;
48     maintainers = with maintainers; [ bcdarwin ];
49   };