2018-08-08 21:36:58 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2018-09-13 21:10:40 +02:00
|
|
|
, fetchPypi
|
2018-08-08 21:36:58 +02:00
|
|
|
, click
|
|
|
|
, cloudpickle
|
|
|
|
, dask
|
|
|
|
, msgpack
|
|
|
|
, psutil
|
|
|
|
, sortedcontainers
|
|
|
|
, tblib
|
|
|
|
, toolz
|
|
|
|
, tornado
|
|
|
|
, zict
|
|
|
|
, pyyaml
|
2019-02-07 21:20:29 +01:00
|
|
|
, mpi4py
|
|
|
|
, bokeh
|
2020-09-20 23:30:50 +02:00
|
|
|
, pythonOlder
|
2018-08-08 21:36:58 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "distributed";
|
2021-09-17 16:04:31 +02:00
|
|
|
version = "2021.9.0";
|
2021-02-15 23:52:51 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
2018-08-08 21:36:58 +02:00
|
|
|
|
|
|
|
# get full repository need conftest.py to run tests
|
2018-09-13 21:10:40 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-17 16:04:31 +02:00
|
|
|
sha256 = "sha256-IiKc0rJYODCtGC9AAOkjbww/VG7PdfrqJ32IHU9xWbo=";
|
2018-08-08 21:36:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-07-02 23:38:33 +02:00
|
|
|
bokeh
|
|
|
|
click
|
|
|
|
cloudpickle
|
|
|
|
dask
|
|
|
|
mpi4py
|
|
|
|
msgpack
|
|
|
|
psutil
|
|
|
|
pyyaml
|
|
|
|
sortedcontainers
|
|
|
|
tblib
|
|
|
|
toolz
|
|
|
|
tornado
|
|
|
|
zict
|
2020-09-20 23:30:50 +02:00
|
|
|
];
|
2018-08-08 21:36:58 +02:00
|
|
|
|
2018-09-11 23:14:12 +02:00
|
|
|
# when tested random tests would fail and not repeatably
|
|
|
|
doCheck = false;
|
2021-07-02 23:38:33 +02:00
|
|
|
|
2021-02-15 23:52:51 +01:00
|
|
|
pythonImportsCheck = [ "distributed" ];
|
2018-09-11 23:14:12 +02:00
|
|
|
|
2021-03-07 16:17:33 +01:00
|
|
|
meta = with lib; {
|
2021-07-02 23:38:33 +02:00
|
|
|
description = "Distributed computation in Python";
|
|
|
|
homepage = "https://distributed.readthedocs.io/";
|
2021-03-07 16:17:33 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.x86; # fails on aarch64
|
|
|
|
maintainers = with maintainers; [ teh costrouc ];
|
2018-08-08 21:36:58 +02:00
|
|
|
};
|
|
|
|
}
|