15 buildPythonPackage rec {
16 pname = "xarray-einstats";
20 disabled = pythonOlder "3.10";
22 src = fetchFromGitHub {
24 repo = "xarray-einstats";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-XvxsyH8cwsA9B36uhM1Pr5XaNd0d0/nEamA4axdJe24=";
29 build-system = [ flit-core ];
37 optional-dependencies = {
42 nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (builtins.attrValues optional-dependencies);
44 pythonImportsCheck = [ "xarray_einstats" ];
52 description = "Stats, linear algebra and einops for xarray";
53 homepage = "https://github.com/arviz-devs/xarray-einstats";
54 license = licenses.asl20;
55 maintainers = with maintainers; [ fab ];