2018-09-13 21:42:25 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, xgboost
|
|
|
|
, dask
|
|
|
|
, distributed
|
|
|
|
, pytest
|
|
|
|
, scikitlearn
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-08-16 18:30:56 +01:00
|
|
|
version = "0.1.11";
|
2018-09-13 21:42:25 +01:00
|
|
|
pname = "dask-xgboost";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:30:56 +01:00
|
|
|
sha256 = "3fbe1bf4344dc74edfbe9f928c7e3e6acc26dc57cefd8da8ae56a15469c6941c";
|
2018-09-13 21:42:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest scikitlearn ];
|
|
|
|
propagatedBuildInputs = [ xgboost dask distributed ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test dask_xgboost/tests/test_core.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/dask/dask-xgboost";
|
2018-09-13 21:42:25 +01:00
|
|
|
description = "Interactions between Dask and XGBoost";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|