nixpkgs/pkgs/development/python-modules/dask/default.nix

45 lines
775 B
Nix
Raw Normal View History

2017-06-02 15:05:50 +00:00
{ lib
2019-08-08 21:09:40 +00:00
, bokeh
2017-06-02 15:05:50 +00:00
, buildPythonPackage
, fetchPypi
2019-08-08 21:09:40 +00:00
, fsspec
2017-06-02 15:05:50 +00:00
, pytest
, pythonOlder
2017-06-02 15:05:50 +00:00
, cloudpickle
, numpy
, toolz
, dill
, pandas
, partd
}:
buildPythonPackage rec {
pname = "dask";
2019-10-16 15:00:50 +00:00
version = "2.6.0";
2017-06-02 15:05:50 +00:00
disabled = pythonOlder "3.5";
2017-06-02 15:05:50 +00:00
src = fetchPypi {
inherit pname version;
2019-10-16 15:00:50 +00:00
sha256 = "81c7891f0d2e7ac03d1f7fabf1f639360a1db52c03a7155ba9b08e9ee6280f2b";
2017-06-02 15:05:50 +00:00
};
checkInputs = [ pytest ];
2019-08-08 21:09:40 +00:00
propagatedBuildInputs = [
bokeh cloudpickle dill fsspec numpy pandas partd toolz ];
2017-06-02 15:05:50 +00:00
checkPhase = ''
py.test dask
'';
# URLError
doCheck = false;
meta = {
description = "Minimal task scheduling abstraction";
homepage = https://github.com/ContinuumIO/dask/;
2017-06-02 15:05:50 +00:00
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}