Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 736 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, cloudpickle 5, dask 6, numpy, toolz # dask[array] 7, multipledispatch 8, scipy 9, scikitlearn 10, pytest 11}: 12 13buildPythonPackage rec { 14 version = "0.2.0"; 15 pname = "dask-glm"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "58b86cebf04fe5b9e58092e1c467e32e60d01e11b71fdc628baaa9fc6d1adee5"; 20 }; 21 22 checkInputs = [ pytest ]; 23 propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ]; 24 25 checkPhase = '' 26 py.test dask_glm 27 ''; 28 29 meta = with stdenv.lib; { 30 homepage = "https://github.com/dask/dask-glm/"; 31 description = "Generalized Linear Models with Dask"; 32 license = licenses.bsd3; 33 maintainers = [ maintainers.costrouc ]; 34 }; 35}