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