From 83e01aa5e48a9107f3b988c9d4c1c21d610626fb Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 27 Apr 2019 15:59:25 +0100 Subject: pythonPackages.fastpair: force use of pytest_3 --- pkgs/development/python-modules/fastpair/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs') 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; { -- cgit 1.4.1