python3Packages.ansiwrap: switch to pytestCheckHook
This commit is contained in:
parent
dd65c8b2a7
commit
827bad2edc
1 changed files with 8 additions and 14 deletions
|
@ -1,11 +1,10 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, tox
|
||||
, pytest
|
||||
, ansicolors
|
||||
, buildPythonPackage
|
||||
, coverage
|
||||
, pytestcov
|
||||
, fetchPypi
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
, textwrap3
|
||||
}:
|
||||
|
||||
|
@ -20,20 +19,15 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
checkInputs = [
|
||||
tox
|
||||
pytest
|
||||
ansicolors
|
||||
coverage
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
textwrap3
|
||||
];
|
||||
propagatedBuildInputs = [ textwrap3 ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
pythonImportsCheck = [ "ansiwrap" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Textwrap, but savvy to ANSI colors and styles";
|
||||
|
|
Loading…
Reference in a new issue