pythonPackages.dask-xgboost: init at 0.1.5

This commit is contained in:
Chris Ostrouchov 2018-09-13 16:42:25 -04:00
parent 72bd196b89
commit bd6873774e
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, xgboost
, dask
, distributed
, pytest
, scikitlearn
, scipy
}:
buildPythonPackage rec {
version = "0.1.5";
pname = "dask-xgboost";
src = fetchPypi {
inherit pname version;
sha256 = "1860d06965fe68def1c83b9195130a92050fd4bc28bf2be689898a3a74ee1316";
};
checkInputs = [ pytest scikitlearn ];
propagatedBuildInputs = [ xgboost dask distributed ];
checkPhase = ''
py.test dask_xgboost/tests/test_core.py
'';
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/dask/dask-xgboost;
description = "Interactions between Dask and XGBoost";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1996,6 +1996,8 @@ in {
dask-ml = callPackage ../development/python-modules/dask-ml { };
dask-xgboost = callPackage ../development/python-modules/dask-xgboost { };
datrie = callPackage ../development/python-modules/datrie { };
heapdict = callPackage ../development/python-modules/heapdict { };