forked from mirrors/nixpkgs
40 lines
728 B
Nix
40 lines
728 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, cloudpickle
|
|
, numpy
|
|
, toolz
|
|
, dill
|
|
, pandas
|
|
, partd
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dask";
|
|
version = "0.17.0";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "4d2b0754d16ddc3f87026c1fc4fa3b589d7604a41d3f6510268f172abc1d0a5e";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
propagatedBuildInputs = [ cloudpickle numpy toolz dill pandas partd ];
|
|
|
|
checkPhase = ''
|
|
py.test dask
|
|
'';
|
|
|
|
# URLError
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Minimal task scheduling abstraction";
|
|
homepage = https://github.com/ContinuumIO/dask/;
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
};
|
|
}
|