at master 723 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 flit-core, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "pyphen"; 12 version = "0.17.2"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-9gZHqcmzDsbFmRAJevgrxd0tNldrkY5EFI2LB+87SqM="; 20 }; 21 22 build-system = [ flit-core ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "pyphen" ]; 27 28 meta = with lib; { 29 description = "Module to hyphenate text"; 30 homepage = "https://github.com/Kozea/Pyphen"; 31 changelog = "https://github.com/Kozea/Pyphen/releases/tag/${version}"; 32 license = with licenses; [ 33 gpl2 34 lgpl21 35 mpl20 36 ]; 37 }; 38}