2024-08-12 18:41:20 +05:30
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
setuptools,
|
|
|
|
flit-core,
|
|
|
|
nltk,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "textblob";
|
2025-01-15 18:14:57 +00:00
|
|
|
version = "0.19.0";
|
2024-08-12 18:41:20 +05:30
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2025-01-15 18:14:57 +00:00
|
|
|
hash = "sha256-Cj0GpHz3dZRB2jQYxIQ67TeXqZi+uiEIxiRaICD4OwE=";
|
2024-08-12 18:41:20 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|