2017-06-02 17:05:50 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, cloudpickle
|
|
|
|
, numpy
|
|
|
|
, toolz
|
|
|
|
, dill
|
|
|
|
, pandas
|
|
|
|
, partd
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dask";
|
2018-02-17 14:19:15 +01:00
|
|
|
version = "0.17.0";
|
2017-06-02 17:05:50 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 14:19:15 +01:00
|
|
|
sha256 = "4d2b0754d16ddc3f87026c1fc4fa3b589d7604a41d3f6510268f172abc1d0a5e";
|
2017-06-02 17:05:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ cloudpickle numpy toolz dill pandas partd ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test dask
|
|
|
|
'';
|
|
|
|
|
|
|
|
# URLError
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Minimal task scheduling abstraction";
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://github.com/ContinuumIO/dask/;
|
2017-06-02 17:05:50 +02:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|