nixpkgs/pkgs/development/python-modules/distributed/default.nix
2022-06-06 11:46:36 -07:00

67 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, click
, cloudpickle
, dask
, fetchPypi
, jinja2
, locket
, msgpack
, packaging
, psutil
, pythonOlder
, pyyaml
, sortedcontainers
, tblib
, toolz
, tornado
, urllib3
, zict
}:
buildPythonPackage rec {
pname = "distributed";
version = "2022.5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BEqsUfpk/Z4WsaLEMVIg0oHw5cwbBfTT03hSQm8efLY=";
};
propagatedBuildInputs = [
click
cloudpickle
dask
jinja2
locket
msgpack
packaging
psutil
pyyaml
sortedcontainers
tblib
toolz
tornado
urllib3
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 ];
};
}