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
|
2019-12-31 14:48:45 +00:00
|
|
|
, fetchFromGitHub
|
2019-08-08 22:09:40 +01:00
|
|
|
, fsspec
|
2020-04-22 07:27:42 +01:00
|
|
|
, pytestCheckHook
|
2019-08-09 01:45:34 +01:00
|
|
|
, pythonOlder
|
2017-06-02 16:05:50 +01:00
|
|
|
, cloudpickle
|
|
|
|
, numpy
|
|
|
|
, toolz
|
|
|
|
, dill
|
|
|
|
, pandas
|
|
|
|
, partd
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dask";
|
2020-04-22 07:27:42 +01:00
|
|
|
version = "2.14.0";
|
2017-06-02 16:05:50 +01:00
|
|
|
|
2019-08-09 01:45:34 +01:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
2019-12-31 14:48:45 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dask";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-04-22 07:27:42 +01:00
|
|
|
sha256 = "0kj46pwzvdw8ii1h45y48wxvjid89yp4cfak2h4b8z8xic73fqgj";
|
2017-06-02 16:05:50 +01:00
|
|
|
};
|
|
|
|
|
2019-12-31 14:48:45 +00:00
|
|
|
checkInputs = [
|
2020-04-22 07:27:42 +01:00
|
|
|
pytestCheckHook
|
2019-12-31 14:48:45 +00:00
|
|
|
];
|
|
|
|
|
2020-04-22 07:27:42 +01:00
|
|
|
dontUseSetuptoolsCheck = true;
|
|
|
|
|
2019-08-08 22:09:40 +01:00
|
|
|
propagatedBuildInputs = [
|
2019-12-31 14:48:45 +00:00
|
|
|
bokeh
|
|
|
|
cloudpickle
|
|
|
|
dill
|
|
|
|
fsspec
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
partd
|
|
|
|
toolz
|
|
|
|
];
|
2017-06-02 16:05:50 +01:00
|
|
|
|
2019-12-31 14:48:45 +00:00
|
|
|
postPatch = ''
|
|
|
|
# versioneer hack to set version of github package
|
|
|
|
echo "def get_versions(): return {'dirty': False, 'error': None, 'full-revisionid': None, 'version': '${version}'}" > dask/_version.py
|
|
|
|
|
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace "version=versioneer.get_version()," "version='${version}'," \
|
|
|
|
--replace "cmdclass=versioneer.get_cmdclass()," ""
|
2017-06-02 16:05:50 +01:00
|
|
|
'';
|
|
|
|
|
2020-04-22 07:27:42 +01:00
|
|
|
disabledTests = [
|
|
|
|
"test_argwhere_str"
|
|
|
|
"test_count_nonzero_str"
|
|
|
|
];
|
2017-06-02 16:05:50 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Minimal task scheduling abstraction";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ContinuumIO/dask/";
|
2017-06-02 16:05:50 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|