1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "nlpcloud"; 9 version = "1.1.45"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-W/O7GhZuACUFCSCCJUUB6UfMB9WSF8uU7Yd/tgPsE0Q="; 15 }; 16 17 propagatedBuildInputs = [ 18 requests 19 ]; 20 21 # upstream has no tests 22 doCheck = false; 23 24 pythonImportsCheck = [ 25 "nlpcloud" 26 ]; 27 28 meta = with lib; { 29 description = "Python client for the NLP Cloud API"; 30 homepage = "https://nlpcloud.com/"; 31 changelog = "https://github.com/nlpcloud/nlpcloud-python/releases/tag/v${version}"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ natsukium ]; 34 }; 35}