about summary refs log tree commit diff
diff options
context:
space:
mode:
authorwxt2024-11-13 21:06:46 +0800
committergithub-actions[bot]2024-11-14 20:12:06 +0000
commitb3103fee12daa6096f1a424d8e05e05fec91fd74 (patch)
tree9b7c34924cfcb993be0cd8aa23b16d1fbaaf55cc
parentf4a0fbc120cd775346111246b453f8af94afc1d1 (diff)
python3Packages.clarifai-grpc: fix build backport-355665-to-release-24.11
(cherry picked from commit f1dbe9cd97e246e95accf9c9ef56572037e4aaa4)
-rw-r--r--pkgs/development/python-modules/clarifai-grpc/default.nix10
1 files 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 ];
   };
 }