git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.fastpair: force use of pytest_3
commit83e01aa5e48a9107f3b988c9d4c1c21d610626fb authorRobert Scott <code@humanleg.org.uk> dateSat 27 Apr 2019, 15:59 (8 years ago) parent2a2ca8c
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; {