2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-09-13 22:42:25 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, xgboost
|
|
|
|
, dask
|
|
|
|
, distributed
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-08-16 19:30:56 +02:00
|
|
|
version = "0.1.11";
|
2018-09-13 22:42:25 +02:00
|
|
|
pname = "dask-xgboost";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 19:30:56 +02:00
|
|
|
sha256 = "3fbe1bf4344dc74edfbe9f928c7e3e6acc26dc57cefd8da8ae56a15469c6941c";
|
2018-09-13 22:42:25 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ xgboost dask distributed ];
|
|
|
|
|
|
|
|
doCheck = false;
|
2021-02-16 01:24:10 +01:00
|
|
|
pythonImportsCheck = [ "dask_xdgboost" ];
|
2018-09-13 22:42:25 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/dask/dask-xgboost";
|
2018-09-13 22:42:25 +02:00
|
|
|
description = "Interactions between Dask and XGBoost";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
2021-02-16 01:24:10 +01:00
|
|
|
# TypeError: __init__() got an unexpected keyword argument 'iid'
|
|
|
|
broken = true;
|
2018-09-13 22:42:25 +02:00
|
|
|
};
|
|
|
|
}
|