soundfile: replace pytest with pytestCheckHook

This commit is contained in:
Zhong Jianxin 2022-03-10 20:40:44 +08:00
parent 3a8720c6cd
commit cc7fe816c3

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, fetchpatch
, pytest
, pytestCheckHook
, numpy
, libsndfile
, cffi
@ -34,7 +34,7 @@ buildPythonPackage rec {
substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'"
'';
checkInputs = [ pytest ];
checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ numpy libsndfile cffi ];
propagatedNativeBuildInputs = [ cffi ];