From 219f5595b9ce61e86fec22703172f016dc26d831 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 26 Nov 2023 16:55:10 +0900 Subject: [PATCH] python311Packages.clarifai-grpc: 9.10.0 -> 9.10.5 Diff: https://github.com/Clarifai/clarifai-python-grpc/compare/9.10.0...9.10.5 Changelog: https://github.com/Clarifai/clarifai-python-grpc/releases/tag/9.10.5 --- .../python-modules/clarifai-grpc/default.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/clarifai-grpc/default.nix b/pkgs/development/python-modules/clarifai-grpc/default.nix index e6bff88f43210..4aa60582bfc49 100644 --- a/pkgs/development/python-modules/clarifai-grpc/default.nix +++ b/pkgs/development/python-modules/clarifai-grpc/default.nix @@ -1,7 +1,8 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub , pythonOlder +, setuptools , googleapis-common-protos , grpcio , protobuf @@ -10,16 +11,22 @@ buildPythonPackage rec { pname = "clarifai-grpc"; - version = "9.10.0"; - format = "setuptools"; + version = "9.10.5"; + pyproject = true; disabled = pythonOlder "3.8"; - src = fetchPypi { - inherit pname version; - hash = "sha256-8jx2OP1VcQtGmen58r1k/w7srjSJC/53sNxFrRm7IXs="; + src = fetchFromGitHub { + owner = "Clarifai"; + repo = "clarifai-python-grpc"; + rev = "refs/tags/${version}"; + hash = "sha256-lTvxafPdWET0p6dRnaTiOd8oPOjcRFZ45AtXkObNSBQ="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ googleapis-common-protos grpcio