at master 692 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 setuptools, 6 flit-core, 7 nltk, 8}: 9 10buildPythonPackage rec { 11 pname = "textblob"; 12 version = "0.19.0"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-Cj0GpHz3dZRB2jQYxIQ67TeXqZi+uiEIxiRaICD4OwE="; 18 }; 19 20 build-system = [ flit-core ]; 21 22 dependencies = [ nltk ]; 23 24 doCheck = true; 25 26 pythonImportsCheck = [ "textblob" ]; 27 28 meta = with lib; { 29 changelog = "https://github.com/sloria/TextBlob/releases/tag/${version}"; 30 description = "Simplified Text processing"; 31 homepage = "https://textblob.readthedocs.io/"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ idlip ]; 34 }; 35}