1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

pythonPackages.dask-mpi: init at 1.0.2

Address issue with PR #55212
This commit is contained in:
Chris Ostrouchov 2019-02-07 16:06:03 -05:00 committed by Frederik Rietdijk
parent 309c6d315b
commit 34beeb7d51
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, dask
, distributed
, mpi4py
, pytest
, requests
}:
buildPythonPackage rec {
version = "1.0.2";
pname = "dask-mpi";
src = fetchPypi {
inherit pname version;
sha256 = "1apzzh90gl9jx43z0gjmgpniplhvqziafi2l8688a0g01vw7ibjv";
};
checkInputs = [ pytest requests ];
propagatedBuildInputs = [ dask distributed mpi4py ];
checkPhase = ''
py.test dask_mpi
'';
# hardcoded mpirun path in tests
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/dask/dask-mpi;
description = "Deploy Dask using mpi4py";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -1611,6 +1611,8 @@ in {
dask-ml = callPackage ../development/python-modules/dask-ml { };
dask-mpi = callPackage ../development/python-modules/dask-mpi { };
dask-xgboost = callPackage ../development/python-modules/dask-xgboost { };
datrie = callPackage ../development/python-modules/datrie { };