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

45 lines
763 B
Nix
Raw Normal View History

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