pythonPackages.requests-unixsocket: switch to pytestCheckHook
This commit is contained in:
parent
10204ffee4
commit
30f42bd4a4
1 changed files with 11 additions and 6 deletions
|
@ -1,6 +1,11 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
, pbr, requests
|
, buildPythonPackage
|
||||||
, pytest, waitress }:
|
, fetchPypi
|
||||||
|
, pbr
|
||||||
|
, requests
|
||||||
|
, pytestCheckHook
|
||||||
|
, waitress
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "requests-unixsocket";
|
pname = "requests-unixsocket";
|
||||||
|
@ -14,10 +19,10 @@ buildPythonPackage rec {
|
||||||
nativeBuildInputs = [ pbr ];
|
nativeBuildInputs = [ pbr ];
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
checkInputs = [ pytest waitress ];
|
checkInputs = [ pytestCheckHook waitress ];
|
||||||
checkPhase = ''
|
|
||||||
|
preCheck = ''
|
||||||
rm pytest.ini
|
rm pytest.ini
|
||||||
py.test
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue