at 22.05-pre 716 B view raw
1{ lib 2, buildPythonPackage 3, isPy3k 4, fetchPypi 5, wcwidth 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "ftfy"; 11 version = "6.0.3"; 12 13 disabled = !isPy3k; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "ba71121a9c8d7790d3e833c6c1021143f3e5c4118293ec3afb5d43ed9ca8e72b"; 18 }; 19 20 propagatedBuildInputs = [ 21 wcwidth 22 ]; 23 24 checkInputs = [ 25 pytestCheckHook 26 ]; 27 28 preCheck = '' 29 export PATH=$out/bin:$PATH 30 ''; 31 32 meta = with lib; { 33 description = "Given Unicode text, make its representation consistent and possibly less broken"; 34 homepage = "https://github.com/LuminosoInsight/python-ftfy"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ aborsu ]; 37 }; 38}