1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "nlpcloud";
11 version = "1.1.47";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-zj6hurPEzNlbrD6trq+zQHBNg4lJMGw+XHV51rBa9Mk=";
17 };
18
19 build-system = [ setuptools ];
20
21 dependencies = [ requests ];
22
23 # upstream has no tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "nlpcloud" ];
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}