11 # optional-dependencies
25 buildPythonPackage rec {
30 src = fetchFromGitHub {
31 owner = "xarray-contrib";
33 rev = "refs/tags/v${version}";
34 hash = "sha256-Rz0E7GBaN/7zb0dqAxo0SJ4Bd+eQuOOv6x1WubIUh6A=";
43 dependencies = [ xarray ];
45 optional-dependencies = {
60 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
62 pythonImportsCheck = [ "cf_xarray" ];
65 # Tests require network access
66 "cf_xarray/tests/test_accessor.py"
67 "cf_xarray/tests/test_helpers.py"
71 description = "Accessor for xarray objects that interprets CF attributes";
72 homepage = "https://github.com/xarray-contrib/cf-xarray";
73 changelog = "https://github.com/xarray-contrib/cf-xarray/releases/tag/v${version}";
74 license = lib.licenses.asl20;
75 maintainers = with lib.maintainers; [ fab ];