@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy }:
1+{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest_3, scipy }:
22
33buildPythonPackage {
44 pname = "fastpair";
@@ -11,16 +11,16 @@ buildPythonPackage {
1111 sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71";
1212 };
1313
14− buildInputs = [ pytestrunner ];
14+ nativeBuildInputs = [ (pytestrunner.override { pytest = pytest_3; }) ];
1515
16− checkInputs = [ pytest ];
16+ checkInputs = [ pytest_3 ];
1717
1818 propagatedBuildInputs = [
1919 scipy
2020 ];
2121
2222 checkPhase = ''
23− py.test fastpair
23+ pytest fastpair
2424 '';
2525
2626 meta = with stdenv.lib; {