Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 31 lines 706 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, xgboost 5, dask 6, distributed 7}: 8 9buildPythonPackage rec { 10 version = "0.1.11"; 11 pname = "dask-xgboost"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "3fbe1bf4344dc74edfbe9f928c7e3e6acc26dc57cefd8da8ae56a15469c6941c"; 16 }; 17 18 propagatedBuildInputs = [ xgboost dask distributed ]; 19 20 doCheck = false; 21 pythonImportsCheck = [ "dask_xdgboost" ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/dask/dask-xgboost"; 25 description = "Interactions between Dask and XGBoost"; 26 license = licenses.bsd3; 27 maintainers = [ maintainers.costrouc ]; 28 # TypeError: __init__() got an unexpected keyword argument 'iid' 29 broken = true; 30 }; 31}