94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
35 lines
699 B
Nix
35 lines
699 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nlpcloud";
|
|
version = "1.0.41";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-LtwN1fF/lfvXrB30P0VvuVGnsG8p1ZAalDCYL/a9uGE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"nlpcloud"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python client for the NLP Cloud API";
|
|
homepage = "https://nlpcloud.com/";
|
|
changelog = "https://github.com/nlpcloud/nlpcloud-python/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ natsukium ];
|
|
};
|
|
}
|