2024-08-12 18:41:20 +05:30
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
setuptools,
|
|
|
|
flit-core,
|
|
|
|
nltk,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "textblob";
|
2024-12-03 16:45:08 +00:00
|
|
|
version = "0.18.0.post0";
|
2024-08-12 18:41:20 +05:30
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-12-03 16:45:08 +00:00
|
|
|
hash = "sha256-gTHFLGMLzfYdBMNZ+TnJjVuDagH7oiTZ564i/CdODMs=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|