mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
49 lines
1023 B
Nix
49 lines
1023 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, click
|
|
, cloudpickle
|
|
, dask
|
|
, msgpack
|
|
, psutil
|
|
, six
|
|
, sortedcontainers
|
|
, tblib
|
|
, toolz
|
|
, tornado
|
|
, zict
|
|
, pyyaml
|
|
, mpi4py
|
|
, bokeh
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "distributed";
|
|
version = "2021.3.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
# get full repository need conftest.py to run tests
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-Qn/n4Ee7rXQTxl1X5W+k1rHPkh/SBqPSyquUv5FTw9s=";
|
|
};
|
|
|
|
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 = with lib; {
|
|
description = "Distributed computation in Python.";
|
|
homepage = "https://distributed.readthedocs.io/en/latest/";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.x86; # fails on aarch64
|
|
maintainers = with maintainers; [ teh costrouc ];
|
|
};
|
|
}
|