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 , buildPythonPackage
, isPy3k , isPy3k
, fetchPypi , fetchPypi
, html5lib
, wcwidth , wcwidth
, setuptools , pytestCheckHook
, pytest
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ftfy"; pname = "ftfy";
version = "5.8"; version = "5.9";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "081p5z20dirrf1i3nshylc31qd5mbxibjc7gzj8x4isbiizpdisi"; sha256 = "8c4fb2863c0b82eae2ab3cf353d9ade268dfbde863d322f78d6a9fd5cefb31e9";
}; };
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; {