1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 setuptools-scm, 7 wheel, 8}: 9 10buildPythonPackage rec { 11 pname = "wordninja"; 12 version = "2.0.0"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-GhzH7BRq0Z1vcZQe6CrvPTEiFwDw2L+EQTbPjfedKBo="; 18 }; 19 20 build-system = [ 21 setuptools 22 setuptools-scm 23 wheel 24 ]; 25 26 pythonImportsCheck = [ "wordninja" ]; 27 28 meta = { 29 description = "Probabilistically split concatenated words using NLP based on English Wikipedia unigram frequencies"; 30 homepage = "https://github.com/keredson/wordninja"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ getchoo ]; 33 }; 34}