python310Packages.clarifai-grpc: init at 9.5.0

This commit is contained in:
natsukium 2023-06-28 22:46:17 +09:00
parent bf0b22ff02
commit c0957e49d1
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, googleapis-common-protos
, grpcio
, protobuf
, requests
}:
buildPythonPackage rec {
pname = "clarifai-grpc";
version = "9.5.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-amMUgRXtvcrALfWwat7W0W60FJQnEeMvHhyxxBCMqUg=";
};
propagatedBuildInputs = [
googleapis-common-protos
grpcio
protobuf
requests
];
# almost all tests require network access
doCheck = false;
pythonImportsCheck = [ "clarifai_grpc" ];
meta = with lib; {
description = "Clarifai gRPC API Client";
homepage = "https://github.com/Clarifai/clarifai-python-grpc";
changelog = "https://github.com/Clarifai/clarifai-python-grpc/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ natsukium ];
};
}

View file

@ -1861,6 +1861,8 @@ self: super: with self; {
ckcc-protocol = callPackage ../development/python-modules/ckcc-protocol { };
clarifai-grpc = callPackage ../development/python-modules/clarifai-grpc { };
claripy = callPackage ../development/python-modules/claripy { };
classify-imports = callPackage ../development/python-modules/classify-imports { };