2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, dask
|
2022-06-16 17:23:12 +00:00
|
|
|
, dask-glm
|
|
|
|
, distributed
|
|
|
|
, fetchPypi
|
|
|
|
, multipledispatch
|
2020-04-24 23:36:52 +00:00
|
|
|
, numba
|
2022-06-16 17:23:12 +00:00
|
|
|
, numpy
|
|
|
|
, packaging
|
2020-04-24 23:36:52 +00:00
|
|
|
, pandas
|
2022-06-16 17:23:12 +00:00
|
|
|
, pythonOlder
|
2021-05-20 23:08:51 +00:00
|
|
|
, scikit-learn
|
2020-04-24 23:36:52 +00:00
|
|
|
, scipy
|
2021-04-25 03:57:28 +00:00
|
|
|
, setuptools-scm
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dask-ml";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "2023.3.24";
|
2022-06-16 17:23:12 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-lsCQ220yg2U24/Ccpk3rWZ6GRYeqjj1NLGtK9YhzMwc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
dask-glm
|
|
|
|
distributed
|
|
|
|
multipledispatch
|
|
|
|
numba
|
|
|
|
numpy
|
|
|
|
packaging
|
|
|
|
pandas
|
2021-05-20 23:08:51 +00:00
|
|
|
scikit-learn
|
2020-04-24 23:36:52 +00:00
|
|
|
scipy
|
2022-06-26 10:26:21 +00:00
|
|
|
] ++ dask.optional-dependencies.array
|
|
|
|
++ dask.optional-dependencies.dataframe;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# has non-standard build from source, and pypi doesn't include tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"dask_ml"
|
|
|
|
"dask_ml.naive_bayes"
|
|
|
|
"dask_ml.wrappers"
|
|
|
|
"dask_ml.utils"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Scalable Machine Learn with Dask";
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://github.com/dask/dask-ml";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|