2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, click
|
|
|
|
, cloudpickle
|
|
|
|
, dask
|
|
|
|
, msgpack
|
|
|
|
, psutil
|
|
|
|
, sortedcontainers
|
|
|
|
, tblib
|
|
|
|
, toolz
|
|
|
|
, tornado
|
|
|
|
, zict
|
|
|
|
, pyyaml
|
|
|
|
, mpi4py
|
|
|
|
, bokeh
|
2020-09-25 04:45:31 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "distributed";
|
2021-07-04 02:40:35 +00:00
|
|
|
version = "2021.6.2";
|
2021-02-17 17:02:09 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# get full repository need conftest.py to run tests
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-07-04 02:40:35 +00:00
|
|
|
sha256 = "sha256-19ESqGqwSdzvo7If0brqQhKiwD0iwkvVWtONIaf10Ug=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-07-04 02:40:35 +00:00
|
|
|
bokeh
|
|
|
|
click
|
|
|
|
cloudpickle
|
|
|
|
dask
|
|
|
|
mpi4py
|
|
|
|
msgpack
|
|
|
|
psutil
|
|
|
|
pyyaml
|
|
|
|
sortedcontainers
|
|
|
|
tblib
|
|
|
|
toolz
|
|
|
|
tornado
|
|
|
|
zict
|
2020-09-25 04:45:31 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# when tested random tests would fail and not repeatably
|
|
|
|
doCheck = false;
|
2021-07-04 02:40:35 +00:00
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
pythonImportsCheck = [ "distributed" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
meta = with lib; {
|
2021-07-04 02:40:35 +00:00
|
|
|
description = "Distributed computation in Python";
|
|
|
|
homepage = "https://distributed.readthedocs.io/";
|
2021-03-09 03:18:52 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.x86; # fails on aarch64
|
|
|
|
maintainers = with maintainers; [ teh costrouc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|