python312Packages.wordninja: init at 2.0.0

(cherry picked from commit c3e2dace1a)
This commit is contained in:
seth
2024-11-17 21:16:23 -05:00
committed by Seth Flynn
parent 1751c9cb80
commit bfb42d4341
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
wheel,
}:
buildPythonPackage rec {
pname = "wordninja";
version = "2.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-GhzH7BRq0Z1vcZQe6CrvPTEiFwDw2L+EQTbPjfedKBo=";
};
build-system = [
setuptools
setuptools-scm
wheel
];
pythonImportsCheck = [ "wordninja" ];
meta = {
description = "Probabilistically split concatenated words using NLP based on English Wikipedia unigram frequencies";
homepage = "https://github.com/keredson/wordninja";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ getchoo ];
};
}

View File

@@ -18219,6 +18219,8 @@ self: super: with self; {
wordfreq = callPackage ../development/python-modules/wordfreq { };
wordninja = callPackage ../development/python-modules/wordninja { };
world-bank-data = callPackage ../development/python-modules/world-bank-data { };
worldengine = callPackage ../development/python-modules/worldengine { };