Merge pull request #112993 from r-ryantm/auto-update/python3.7-ftfy

python37Packages.ftfy: 5.8 -> 5.9
This commit is contained in:
Fabian Affolter 2021-03-18 19:26:26 +01:00 committed by GitHub
commit 39534fc4ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,36 +2,31 @@
, buildPythonPackage
, isPy3k
, fetchPypi
, html5lib
, wcwidth
, setuptools
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ftfy";
version = "5.8";
version = "5.9";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "081p5z20dirrf1i3nshylc31qd5mbxibjc7gzj8x4isbiizpdisi";
sha256 = "8c4fb2863c0b82eae2ab3cf353d9ade268dfbde863d322f78d6a9fd5cefb31e9";
};
propagatedBuildInputs = [
html5lib
wcwidth
setuptools
];
checkInputs = [
pytest
pytestCheckHook
];
# We suffix PATH like this because the tests want the ftfy executable
checkPhase = ''
PATH=$out/bin:$PATH pytest
preCheck = ''
export PATH=$out/bin:$PATH
'';
meta = with lib; {