1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "pyphen"; 9 version = "0.11.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "e2c3ed82c3a04317df5102addafe89652b0876bc6c6265f5dd4c3efaf02315e8"; 14 }; 15 16 preCheck = '' 17 sed -i '/addopts/d' pyproject.toml 18 ''; 19 20 checkInputs = [ 21 pytestCheckHook 22 ]; 23 24 meta = with lib; { 25 description = "Pure Python module to hyphenate text"; 26 homepage = "https://github.com/Kozea/Pyphen"; 27 license = with licenses; [gpl2 lgpl21 mpl20]; 28 maintainers = with maintainers; [ rvl ]; 29 }; 30}