Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / clarifai-grpc / default.nix
blobe163bc4159e10d258ee95f2765a896447f22a207
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   setuptools,
7   googleapis-common-protos,
8   grpcio,
9   protobuf,
10   requests,
13 buildPythonPackage rec {
14   pname = "clarifai-grpc";
15   version = "10.3.2";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "Clarifai";
22     repo = "clarifai-python-grpc";
23     rev = "refs/tags/${version}";
24     hash = "sha256-rymu9BUbU8d0BgBpE/1bOAqGxVN3ksyvq6Wy0KZ+KkY=";
25   };
27   build-system = [ setuptools ];
29   dependencies = [
30     googleapis-common-protos
31     grpcio
32     protobuf
33     requests
34   ];
36   # almost all tests require network access
37   doCheck = false;
39   pythonImportsCheck = [ "clarifai_grpc" ];
41   meta = with lib; {
42     description = "Clarifai gRPC API Client";
43     homepage = "https://github.com/Clarifai/clarifai-python-grpc";
44     changelog = "https://github.com/Clarifai/clarifai-python-grpc/releases/tag/${version}";
45     license = licenses.asl20;
46     maintainers = with maintainers; [ natsukium ];
47   };