python3Packages.ftfy: use pytestCheckHook
This commit is contained in:
parent
7273800f1e
commit
cc4e9f3835
@ -2,10 +2,8 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, html5lib
|
|
||||||
, wcwidth
|
, wcwidth
|
||||||
, setuptools
|
, pytestCheckHook
|
||||||
, pytest
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -20,18 +18,15 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
html5lib
|
|
||||||
wcwidth
|
wcwidth
|
||||||
setuptools
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# We suffix PATH like this because the tests want the ftfy executable
|
preCheck = ''
|
||||||
checkPhase = ''
|
export PATH=$out/bin:$PATH
|
||||||
PATH=$out/bin:$PATH pytest
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user