python310Packages.clarifai-grpc: init at 9.5.0
This commit is contained in:
parent
bf0b22ff02
commit
c0957e49d1
2 changed files with 44 additions and 0 deletions
42
pkgs/development/python-modules/clarifai-grpc/default.nix
Normal file
42
pkgs/development/python-modules/clarifai-grpc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue