pythonPackages.nitime: Use pytestCheckHook

This commit is contained in:
Sandro Jäckel 2021-01-04 13:56:38 +01:00
parent 90760ccb9e
commit 7452b3d853
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, python
, fetchPypi
, pytest
, pytestCheckHook
, cython
, numpy
, scipy
@ -21,11 +21,11 @@ buildPythonPackage rec {
sha256 = "0hb3x5196z2zaawb8s7lhja0vd3n983ncaynqfl9qg315x9ax7i6";
};
checkInputs = [ pytest ];
buildInputs = [ cython ];
propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ];
checkPhase = "pytest nitime/tests";
checkInputs = [ pytestCheckHook ];
meta = with lib; {
homepage = "https://nipy.org/nitime";