1{ lib 2, buildPythonPackage 3, fetchPypi 4, tox 5, pytest 6, coverage 7, pytest-cov 8}: 9 10buildPythonPackage rec { 11 pname = "textwrap3"; 12 version = "0.9.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 extension = "zip"; 17 sha256 = "5008eeebdb236f6303dcd68f18b856d355f6197511d952ba74bc75e40e0c3414"; 18 }; 19 20 checkInputs = [ 21 tox 22 pytest 23 coverage 24 pytest-cov 25 ]; 26 27 checkPhase = '' 28 pytest 29 ''; 30 31 meta = with lib; { 32 description = "Textwrap from Python 3.6 backport plus a few tweaks"; 33 homepage = "https://github.com/jonathaneunice/textwrap3"; 34 license = licenses.psfl; 35 maintainers = [ maintainers.costrouc ]; 36 }; 37}