depot/third_party/nixpkgs/pkgs/development/python-modules/dask-mpi/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

30 lines
614 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, dask
, distributed
, mpi4py
}:
buildPythonPackage rec {
version = "2022.4.0";
pname = "dask-mpi";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-CgTx19NaBs3/UGWTMw1EFOokLJFySYzhkfV0LqxJnhc=";
};
propagatedBuildInputs = [ dask distributed mpi4py ];
# hardcoded mpirun path in tests
doCheck = false;
pythonImportsCheck = [ "dask_mpi" ];
meta = with lib; {
homepage = "https://github.com/dask/dask-mpi";
description = "Deploy Dask using mpi4py";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}