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