git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #60326 from risicle/ris-fastpair-fix

pythonPackages.fastpair: force use of pytest_3

commitaba815d84c75a9cb275ab403735ccb6aba2256f4 authorworldofpeace <worldofpeace@users.noreply.github.com> dateTue 7 May 2019, 15:40 (8 years ago) parentd61543a83e01aa
1 file changed+4−4
pkgs/development/python-modules/fastpair/default.nix+4−4
pkgs/development/python-modules/fastpair/default.nix+4−4
@@ -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; {