2018-08-08 20:36:58 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2018-09-13 20:10:40 +01:00
|
|
|
, fetchPypi
|
2018-08-08 20:36:58 +01: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 22:30:50 +01:00
|
|
|
, pythonOlder
|
2018-08-08 20:36:58 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "distributed";
|
2021-03-07 15:17:33 +00:00
|
|
|
version = "2021.3.0";
|
2021-02-15 22:52:51 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2018-08-08 20:36:58 +01:00
|
|
|
|
|
|
|
# get full repository need conftest.py to run tests
|
2018-09-13 20:10:40 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-07 15:17:33 +00:00
|
|
|
sha256 = "sha256-Qn/n4Ee7rXQTxl1X5W+k1rHPkh/SBqPSyquUv5FTw9s=";
|
2018-08-08 20:36:58 +01: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 22:30:50 +01:00
|
|
|
];
|
2018-08-08 20:36:58 +01:00
|
|
|
|
2018-09-11 22:14:12 +01: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 22:14:12 +01:00
|
|
|
|
2021-03-07 15:17:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-08 20:36:58 +01: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 20:36:58 +01:00
|
|
|
};
|
|
|
|
}
|