summary refs log tree commit diff
path: root/pkgs/development/python-modules/fastpair/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/fastpair/default.nix')
-rw-r--r--pkgs/development/python-modules/fastpair/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/fastpair/default.nix b/pkgs/development/python-modules/fastpair/default.nix
index 090f9dd8260..e9e6316bb61 100644
--- a/pkgs/development/python-modules/fastpair/default.nix
+++ b/pkgs/development/python-modules/fastpair/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest_3, scipy }:
+{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy }:
 
 buildPythonPackage {
   pname = "fastpair";
@@ -11,14 +11,17 @@ buildPythonPackage {
     sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71";
   };
 
-  nativeBuildInputs = [ (pytestrunner.override { pytest = pytest_3; }) ];
+  nativeBuildInputs = [ pytestrunner ];
 
-  checkInputs = [ pytest_3 ];
+  checkInputs = [ pytest ];
 
   propagatedBuildInputs = [
     scipy
   ];
 
+  # Does not support pytest 4 https://github.com/carsonfarmer/fastpair/issues/14
+  doCheck = false;
+
   checkPhase = ''
     pytest fastpair
   '';