Something went wrong. Try again.
lol
Something went wrong. Try again.
988 B · 49 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, setuptools, googleapis-common-protos, grpcio, protobuf, requests,}:
buildPythonPackage rec { pname = "clarifai-grpc"; version = "12.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "Clarifai"; repo = "clarifai-python-grpc"; tag = version; hash = "sha256-glPzDXIOqR6fek9gFwE7Hu1MkWPIsuTuBwQpruqo2mA="; };
build-system = [ setuptools ];
dependencies = [ googleapis-common-protos grpcio protobuf requests ];
pythonRelaxDeps = [ "grpcio" ];
# almost all tests require network access doCheck = false;
pythonImportsCheck = [ "clarifai_grpc" ];
meta = { description = "Clarifai gRPC API Client"; homepage = "https://github.com/Clarifai/clarifai-python-grpc"; changelog = "https://github.com/Clarifai/clarifai-python-grpc/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ natsukium ]; };}