Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 36 lines 721 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, xgboost 5, dask 6, distributed 7, pytest 8, scikitlearn 9, scipy 10}: 11 12buildPythonPackage rec { 13 version = "0.1.5"; 14 pname = "dask-xgboost"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "1860d06965fe68def1c83b9195130a92050fd4bc28bf2be689898a3a74ee1316"; 19 }; 20 21 checkInputs = [ pytest scikitlearn ]; 22 propagatedBuildInputs = [ xgboost dask distributed ]; 23 24 checkPhase = '' 25 py.test dask_xgboost/tests/test_core.py 26 ''; 27 28 doCheck = false; 29 30 meta = with stdenv.lib; { 31 homepage = https://github.com/dask/dask-xgboost; 32 description = "Interactions between Dask and XGBoost"; 33 license = licenses.bsd3; 34 maintainers = [ maintainers.costrouc ]; 35 }; 36}