pythonPackages.fastpair: disable tests

This commit is contained in:
Mario Rodas 2019-07-13 04:26:00 -05:00 committed by Frederik Rietdijk
parent 59d07914da
commit 0a59ea6076

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest_3, scipy }: { stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy }:
buildPythonPackage { buildPythonPackage {
pname = "fastpair"; pname = "fastpair";
@ -11,14 +11,17 @@ buildPythonPackage {
sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71"; sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71";
}; };
nativeBuildInputs = [ (pytestrunner.override { pytest = pytest_3; }) ]; nativeBuildInputs = [ pytestrunner ];
checkInputs = [ pytest_3 ]; checkInputs = [ pytest ];
propagatedBuildInputs = [ propagatedBuildInputs = [
scipy scipy
]; ];
# Does not support pytest 4 https://github.com/carsonfarmer/fastpair/issues/14
doCheck = false;
checkPhase = '' checkPhase = ''
pytest fastpair pytest fastpair
''; '';