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