python3Packages.textblob: init at 0.18.0 (#334134)

This commit is contained in:
Guillaume Girol 2024-11-23 17:50:00 +01:00 committed by GitHub
commit d657918db8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
flit-core,
nltk,
}:
buildPythonPackage rec {
pname = "textblob";
version = "0.18.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-61B7Yr8ig6cfVr7T4PxO7H04jvdrA2mc+ZQWZXKo2vM=";
};
build-system = [ flit-core ];
dependencies = [ nltk ];
doCheck = true;
pythonImportsCheck = [ "textblob" ];
meta = with lib; {
changelog = "https://github.com/sloria/TextBlob/releases/tag/${version}";
description = "Simplified Text processing";
homepage = "https://textblob.readthedocs.io/";
license = licenses.mit;
maintainers = with maintainers; [ idlip ];
};
}

View File

@ -15771,6 +15771,8 @@ self: super: with self; {
texsoup = callPackage ../development/python-modules/texsoup { };
textblob = callPackage ../development/python-modules/textblob { };
textfsm = callPackage ../development/python-modules/textfsm { };
textile = callPackage ../development/python-modules/textile { };