nixpkgs/pkgs/development/python-modules/nlpcloud/default.nix
2023-11-11 07:17:43 +00:00

36 lines
699 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "nlpcloud";
version = "1.1.45";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-W/O7GhZuACUFCSCCJUUB6UfMB9WSF8uU7Yd/tgPsE0Q=";
};
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 ];
};
}