mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 14:09:17 +03:00
36 lines
692 B
Nix
36 lines
692 B
Nix
![]() |
{
|
||
|
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 ];
|
||
|
};
|
||
|
}
|