1{ lib
2, buildPythonPackage
3, fetchPypi
4, click
5, cloudpickle
6, dask
7, msgpack
8, psutil
9, sortedcontainers
10, tblib
11, toolz
12, tornado
13, zict
14, pyyaml
15, mpi4py
16, bokeh
17, pythonOlder
18}:
19
20buildPythonPackage rec {
21 pname = "distributed";
22 version = "2021.10.0";
23 disabled = pythonOlder "3.6";
24
25 # get full repository need conftest.py to run tests
26 src = fetchPypi {
27 inherit pname version;
28 sha256 = "0kfq7lwv2n2wiws4v2rj36wx56jvkp2fl6zxg04p2lc3vcgha9za";
29 };
30
31 propagatedBuildInputs = [
32 bokeh
33 click
34 cloudpickle
35 dask
36 mpi4py
37 msgpack
38 psutil
39 pyyaml
40 sortedcontainers
41 tblib
42 toolz
43 tornado
44 zict
45 ];
46
47 # when tested random tests would fail and not repeatably
48 doCheck = false;
49
50 pythonImportsCheck = [ "distributed" ];
51
52 meta = with lib; {
53 description = "Distributed computation in Python";
54 homepage = "https://distributed.readthedocs.io/";
55 license = licenses.bsd3;
56 platforms = platforms.x86; # fails on aarch64
57 maintainers = with maintainers; [ teh costrouc ];
58 };
59}