mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:28:51 +00:00
60 lines
1 KiB
Nix
60 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, click
|
|
, cloudpickle
|
|
, dask
|
|
, msgpack
|
|
, psutil
|
|
, sortedcontainers
|
|
, tblib
|
|
, toolz
|
|
, tornado
|
|
, zict
|
|
, pyyaml
|
|
, mpi4py
|
|
, bokeh
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "distributed";
|
|
version = "2021.10.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
# get full repository need conftest.py to run tests
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0kfq7lwv2n2wiws4v2rj36wx56jvkp2fl6zxg04p2lc3vcgha9za";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
bokeh
|
|
click
|
|
cloudpickle
|
|
dask
|
|
mpi4py
|
|
msgpack
|
|
psutil
|
|
pyyaml
|
|
sortedcontainers
|
|
tblib
|
|
toolz
|
|
tornado
|
|
zict
|
|
];
|
|
|
|
# when tested random tests would fail and not repeatably
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "distributed" ];
|
|
|
|
meta = with lib; {
|
|
description = "Distributed computation in Python";
|
|
homepage = "https://distributed.readthedocs.io/";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.x86; # fails on aarch64
|
|
maintainers = with maintainers; [ teh costrouc ];
|
|
};
|
|
}
|