about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-05-07 15:40:13 -0400
committerGitHub <noreply@github.com>2019-05-07 15:40:13 -0400
commitaba815d84c75a9cb275ab403735ccb6aba2256f4 (patch)
treef08a60fe6149b1626a53a7f199586b3e143facf4 /pkgs
parentd61543ad0ac4b5aa594384dbb8b440d042985b55 (diff)
parent83e01aa5e48a9107f3b988c9d4c1c21d610626fb (diff)
downloadnixlib-aba815d84c75a9cb275ab403735ccb6aba2256f4.tar
nixlib-aba815d84c75a9cb275ab403735ccb6aba2256f4.tar.gz
nixlib-aba815d84c75a9cb275ab403735ccb6aba2256f4.tar.bz2
nixlib-aba815d84c75a9cb275ab403735ccb6aba2256f4.tar.lz
nixlib-aba815d84c75a9cb275ab403735ccb6aba2256f4.tar.xz
nixlib-aba815d84c75a9cb275ab403735ccb6aba2256f4.tar.zst
nixlib-aba815d84c75a9cb275ab403735ccb6aba2256f4.zip
Merge pull request #60326 from risicle/ris-fastpair-fix
pythonPackages.fastpair: force use of pytest_3
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/fastpair/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/fastpair/default.nix b/pkgs/development/python-modules/fastpair/default.nix
index f065bc6ac77f..090f9dd82601 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, scipy }:
+{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest_3, scipy }:
 
 buildPythonPackage {
   pname = "fastpair";
@@ -11,16 +11,16 @@ buildPythonPackage {
     sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71";
   };
 
-  buildInputs = [ pytestrunner ];
+  nativeBuildInputs = [ (pytestrunner.override { pytest = pytest_3; }) ];
 
-  checkInputs = [ pytest ];
+  checkInputs = [ pytest_3 ];
 
   propagatedBuildInputs = [
     scipy
   ];
 
   checkPhase = ''
-    py.test fastpair
+    pytest fastpair
   '';
 
   meta = with stdenv.lib; {