d419639f9c
GitOrigin-RevId: 6b1057b452c55bb3b463f0d7055bc4ec3fd1f381
30 lines
625 B
Nix
30 lines
625 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, dask
|
|
, distributed
|
|
, mpi4py
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "2.21.0";
|
|
pname = "dask-mpi";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "76e153fc8c58047d898970b33ede0ab1990bd4e69cc130c6627a96f11b12a1a7";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|