Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 48 lines 1.0 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, click 5, cloudpickle 6, dask 7, msgpack 8, psutil 9, six 10, sortedcontainers 11, tblib 12, toolz 13, tornado 14, zict 15, pyyaml 16, mpi4py 17, bokeh 18, pythonOlder 19}: 20 21buildPythonPackage rec { 22 pname = "distributed"; 23 version = "2021.3.0"; 24 disabled = pythonOlder "3.6"; 25 26 # get full repository need conftest.py to run tests 27 src = fetchPypi { 28 inherit pname version; 29 sha256 = "sha256-Qn/n4Ee7rXQTxl1X5W+k1rHPkh/SBqPSyquUv5FTw9s="; 30 }; 31 32 propagatedBuildInputs = [ 33 click cloudpickle dask msgpack psutil six 34 sortedcontainers tblib toolz tornado zict pyyaml mpi4py bokeh 35 ]; 36 37 # when tested random tests would fail and not repeatably 38 doCheck = false; 39 pythonImportsCheck = [ "distributed" ]; 40 41 meta = with lib; { 42 description = "Distributed computation in Python."; 43 homepage = "https://distributed.readthedocs.io/en/latest/"; 44 license = licenses.bsd3; 45 platforms = platforms.x86; # fails on aarch64 46 maintainers = with maintainers; [ teh costrouc ]; 47 }; 48}