1{ lib
2, bokeh
3, buildPythonPackage
4, fetchPypi
5, fsspec
6, pytest
7, pythonOlder
8, cloudpickle
9, numpy
10, toolz
11, dill
12, pandas
13, partd
14}:
15
16buildPythonPackage rec {
17 pname = "dask";
18 version = "2.2.0";
19
20 disabled = pythonOlder "3.5";
21
22 src = fetchPypi {
23 inherit pname version;
24 sha256 = "0wkiqkckwy7fv6m86cs3m3g6jdikkkw84ki9hiwp60xpk5xngnf0";
25 };
26
27 checkInputs = [ pytest ];
28 propagatedBuildInputs = [
29 bokeh cloudpickle dill fsspec numpy pandas partd toolz ];
30
31 checkPhase = ''
32 py.test dask
33 '';
34
35 # URLError
36 doCheck = false;
37
38 meta = {
39 description = "Minimal task scheduling abstraction";
40 homepage = https://github.com/ContinuumIO/dask/;
41 license = lib.licenses.bsd3;
42 maintainers = with lib.maintainers; [ fridh ];
43 };
44}