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-12-29 09:28:06 +00:00
version = "2.9.1";
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-12-29 09:28:06 +00:00
sha256 = "eec200032922b2249f7f1061f8701eaf3e68488cfa78ff2b47c3262f442bede7";
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 ];
};
}