2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, click
|
|
|
|
, cloudpickle
|
|
|
|
, dask
|
2022-06-26 10:26:21 +00:00
|
|
|
, fetchPypi
|
|
|
|
, jinja2
|
|
|
|
, locket
|
2020-04-24 23:36:52 +00:00
|
|
|
, msgpack
|
2022-06-26 10:26:21 +00:00
|
|
|
, packaging
|
2020-04-24 23:36:52 +00:00
|
|
|
, psutil
|
2022-06-26 10:26:21 +00:00
|
|
|
, pythonOlder
|
|
|
|
, pyyaml
|
2020-04-24 23:36:52 +00:00
|
|
|
, sortedcontainers
|
|
|
|
, tblib
|
|
|
|
, toolz
|
|
|
|
, tornado
|
2022-06-26 10:26:21 +00:00
|
|
|
, urllib3
|
2020-04-24 23:36:52 +00:00
|
|
|
, zict
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "distributed";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "2022.5.2";
|
2022-03-05 16:20:37 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-06-26 10:26:21 +00:00
|
|
|
hash = "sha256-BEqsUfpk/Z4WsaLEMVIg0oHw5cwbBfTT03hSQm8efLY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-07-04 02:40:35 +00:00
|
|
|
click
|
|
|
|
cloudpickle
|
|
|
|
dask
|
2022-06-26 10:26:21 +00:00
|
|
|
jinja2
|
|
|
|
locket
|
2021-07-04 02:40:35 +00:00
|
|
|
msgpack
|
2022-06-26 10:26:21 +00:00
|
|
|
packaging
|
2021-07-04 02:40:35 +00:00
|
|
|
psutil
|
|
|
|
pyyaml
|
|
|
|
sortedcontainers
|
|
|
|
tblib
|
|
|
|
toolz
|
|
|
|
tornado
|
2022-06-26 10:26:21 +00:00
|
|
|
urllib3
|
2021-07-04 02:40:35 +00:00
|
|
|
zict
|
2020-09-25 04:45:31 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
# When tested random tests would fail and not repeatably
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
2021-07-04 02:40:35 +00:00
|
|
|
|
2022-03-05 16:20:37 +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
|
|
|
};
|
|
|
|
}
|