pythonPackages.fastpair: force use of pytest_3
This commit is contained in:
parent
2a2ca8ca7e
commit
83e01aa5e4
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy }:
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest_3, scipy }:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
pname = "fastpair";
|
pname = "fastpair";
|
||||||
@ -11,16 +11,16 @@ buildPythonPackage {
|
|||||||
sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71";
|
sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytestrunner ];
|
nativeBuildInputs = [ (pytestrunner.override { pytest = pytest_3; }) ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest_3 ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test fastpair
|
pytest fastpair
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user