Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, setuptools, googleapis-common-protos, grpcio, protobuf, requests}:
buildPythonPackage rec { pname = "clarifai-grpc"; version = "10.0.4"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "Clarifai"; repo = "clarifai-python-grpc"; rev = "refs/tags/${version}"; hash = "sha256-jhM+UfyaliVmUH6e3ArZvZokB8lDKS/fx8376cZwlQM="; };
nativeBuildInputs = [ setuptools ];
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 ]; };}