2017-06-02 16:05:50 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, cloudpickle
|
|
|
|
, numpy
|
|
|
|
, toolz
|
|
|
|
, dill
|
|
|
|
, pandas
|
|
|
|
, partd
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dask";
|
2017-09-05 10:16:41 +01:00
|
|
|
version = "0.15.2";
|
2017-06-02 16:05:50 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-09-05 10:16:41 +01:00
|
|
|
sha256 = "abe6758540fdbc260f14ee71cebc3ab88682e24ff147afa89375b7006f57d3ed";
|
2017-06-02 16:05:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ cloudpickle numpy toolz dill pandas partd ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test dask
|
|
|
|
'';
|
|
|
|
|
|
|
|
# URLError
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Minimal task scheduling abstraction";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://github.com/ContinuumIO/dask/;
|
2017-06-02 16:05:50 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|