Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / xarray-dataclasses / default.nix
blobaae2cdd7f1d7904096b1b839bd4d651b0b84193a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , poetry-core
6 , pytestCheckHook
7 , numpy
8 , typing-extensions
9 , xarray
12 buildPythonPackage rec {
13   pname = "xarray-dataclasses";
14   version = "1.7.0";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "astropenguin";
21     repo = "xarray-dataclasses";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-fyRUH6t2+9tsxRQFfJR2EHinYtwCmWeCB77kpmBgdBA=";
24   };
26   nativeBuildInputs = [
27     poetry-core
28   ];
30   propagatedBuildInputs = [
31     numpy
32     typing-extensions
33     xarray
34   ];
36   nativeCheckInputs = [ pytestCheckHook ];
38   pythonImportsCheck = [ "xarray_dataclasses" ];
40   meta = with lib; {
41     description = "xarray data creation made easy by dataclass";
42     homepage = "https://github.com/astropenguin/xarray-dataclasses";
43     changelog = "https://github.com/astropenguin/xarray-dataclasses/releases/tag/v${version}";
44     license = licenses.mit;
45     maintainers = with maintainers; [ bcdarwin ];
46   };