pythonPackages.python-utils: convert to pytestCheckHook
This commit is contained in:
parent
86be4c0005
commit
539d6cf79a
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pytestcov, pytest-flakes, sphinx, six }:
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytestrunner, pytestcov, pytest-flakes, sphinx, six }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-utils";
|
pname = "python-utils";
|
||||||
@ -15,11 +15,7 @@ buildPythonPackage rec {
|
|||||||
substituteInPlace pytest.ini --replace "--pep8" ""
|
substituteInPlace pytest.ini --replace "--pep8" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ pytest pytestrunner pytestcov pytest-flakes sphinx ];
|
checkInputs = [ pytestCheckHook pytestrunner pytestcov pytest-flakes sphinx ];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user