pythonPackages.nitime: Use pytestCheckHook

This commit is contained in:
Sandro Jäckel
2021-01-06 11:05:13 +01:00
parent 90760ccb9e
commit 7452b3d853
@@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, python , python
, fetchPypi , fetchPypi
, pytest , pytestCheckHook
, cython , cython
, numpy , numpy
, scipy , scipy
@@ -21,11 +21,11 @@ buildPythonPackage rec {
sha256 = "0hb3x5196z2zaawb8s7lhja0vd3n983ncaynqfl9qg315x9ax7i6"; sha256 = "0hb3x5196z2zaawb8s7lhja0vd3n983ncaynqfl9qg315x9ax7i6";
}; };
checkInputs = [ pytest ];
buildInputs = [ cython ]; buildInputs = [ cython ];
propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ]; propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ];
checkPhase = "pytest nitime/tests"; checkInputs = [ pytestCheckHook ];
meta = with lib; { meta = with lib; {
homepage = "https://nipy.org/nitime"; homepage = "https://nipy.org/nitime";