Commit cc7fe816 authored by Zhong Jianxin's avatar Zhong Jianxin
Browse files

soundfile: replace pytest with pytestCheckHook

parent 3a8720c6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 ];