python3Packages.dask-glm: use pytestCheckHook

This commit is contained in:
Robert Schütz 2021-04-23 10:53:37 +02:00
parent a9118b8592
commit 7e55392a4f

View File

@ -8,7 +8,7 @@
, setuptools-scm , setuptools-scm
, scipy , scipy
, scikitlearn , scikitlearn
, pytest , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -21,13 +21,9 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ pytest ]; checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ]; propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ];
checkPhase = ''
py.test dask_glm
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/dask/dask-glm/"; homepage = "https://github.com/dask/dask-glm/";
description = "Generalized Linear Models with Dask"; description = "Generalized Linear Models with Dask";