2018-09-13 20:12:21 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, dask
|
|
|
|
, numpy, toolz # dask[array]
|
|
|
|
, numba
|
|
|
|
, pandas
|
|
|
|
, scikitlearn
|
|
|
|
, scipy
|
|
|
|
, dask-glm
|
|
|
|
, six
|
|
|
|
, multipledispatch
|
|
|
|
, packaging
|
|
|
|
, pytest
|
|
|
|
, xgboost
|
|
|
|
, tensorflow
|
|
|
|
, joblib
|
|
|
|
, distributed
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-24 07:47:28 +01:00
|
|
|
version = "1.0.0";
|
2018-09-13 20:12:21 +01:00
|
|
|
pname = "dask-ml";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:28 +01:00
|
|
|
sha256 = "dde926478653bd03a3fbc501d3873a1534836608217b94d04320d1e1c07e59dc";
|
2018-09-13 20:12:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest xgboost tensorflow joblib distributed ];
|
|
|
|
propagatedBuildInputs = [ dask numpy toolz numba pandas scikitlearn scipy dask-glm six multipledispatch packaging ];
|
|
|
|
|
|
|
|
# dask-ml has some heavy test requirements
|
|
|
|
# and requires some very new packages
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/dask/dask-ml;
|
|
|
|
description = "Scalable Machine Learn with Dask";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|