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