From f1dbe9cd97e246e95accf9c9ef56572037e4aaa4 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Wed, 13 Nov 2024 21:06:46 +0800 Subject: [PATCH] python3Packages.clarifai-grpc: fix build --- .../python-modules/clarifai-grpc/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/clarifai-grpc/default.nix b/pkgs/development/python-modules/clarifai-grpc/default.nix index 9751552d04c2..39c789f822be 100644 --- a/pkgs/development/python-modules/clarifai-grpc/default.nix +++ b/pkgs/development/python-modules/clarifai-grpc/default.nix @@ -33,16 +33,20 @@ buildPythonPackage rec { requests ]; + pythonRelaxDeps = [ + "grpcio" + ]; + # almost all tests require network access doCheck = false; pythonImportsCheck = [ "clarifai_grpc" ]; - meta = with lib; { + meta = { 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 ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ natsukium ]; }; }