depot/third_party/nixpkgs/pkgs/development/python-modules/dask-mpi/default.nix
Default email a6d62be0d1 Project import generated by Copybara.
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
2021-12-26 18:43:05 +01:00

30 lines
628 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, dask
, distributed
, mpi4py
}:
buildPythonPackage rec {
version = "2021.11.0";
pname = "dask-mpi";
src = fetchPypi {
inherit pname version;
sha256 = "602d2e2d7816a4abc1eb17998e1acc93a43b6f82bf94a6accca169a42de21898";
};
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 ];
};
}