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