20 buildPythonPackage rec {
25 disabled = pythonOlder "3.9";
27 src = fetchFromGitHub {
28 owner = "xarray-contrib";
30 rev = "refs/tags/v${version}";
31 hash = "sha256-qcoHz/yZoPVu0uBKKx4AV7MOokiuXSCaWPD/92VlRFk=";
41 propagatedBuildInputs = [
45 passthru.optional-dependencies = {
60 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
62 pythonImportsCheck = [
67 # Tests require network access
68 "cf_xarray/tests/test_accessor.py"
69 "cf_xarray/tests/test_helpers.py"
73 description = "An accessor for xarray objects that interprets CF attributes";
74 homepage = "https://github.com/xarray-contrib/cf-xarray";
75 changelog = "https://github.com/xarray-contrib/cf-xarray/releases/tag/v${version}";
76 license = licenses.asl20;
77 maintainers = with maintainers; [ fab ];