forked from mirrors/nixpkgs
49 lines
1 KiB
Nix
49 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, click
|
|
, cloudpickle
|
|
, dask
|
|
, msgpack
|
|
, psutil
|
|
, six
|
|
, sortedcontainers
|
|
, tblib
|
|
, toolz
|
|
, tornado
|
|
, zict
|
|
, pyyaml
|
|
, mpi4py
|
|
, bokeh
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "distributed";
|
|
version = "2.30.1";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
# get full repository need conftest.py to run tests
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1421d3b84a0885aeb2c4bdc9e8896729c0f053a9375596c9de8864e055e2ac8e";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click cloudpickle dask msgpack psutil six
|
|
sortedcontainers tblib toolz tornado zict pyyaml mpi4py bokeh
|
|
];
|
|
|
|
# when tested random tests would fail and not repeatably
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "distributed" ];
|
|
|
|
meta = {
|
|
description = "Distributed computation in Python.";
|
|
homepage = "https://distributed.readthedocs.io/en/latest/";
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.x86; # fails on aarch64
|
|
maintainers = with lib.maintainers; [ teh costrouc ];
|
|
};
|
|
}
|