From ccce3fcb58e000354835dda97fb0183585e2a213 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 28 Sep 2022 18:13:22 +0200 Subject: [PATCH] python3Packages.grpcio-tools: relax protobuf constraint --- pkgs/development/python-modules/grpcio-tools/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/grpcio-tools/default.nix b/pkgs/development/python-modules/grpcio-tools/default.nix index 9fdcdce48927..d386deb44221 100644 --- a/pkgs/development/python-modules/grpcio-tools/default.nix +++ b/pkgs/development/python-modules/grpcio-tools/default.nix @@ -9,6 +9,11 @@ buildPythonPackage rec { sha256 = "1178f2ea531f80cc2027ec64728df6ffc8e98cf1df61652a496eafd612127183"; }; + postPatch = '' + substituteInPlace setup.py \ + --replace 'protobuf>=3.12.0, < 4.0dev' 'protobuf' + ''; + outputs = [ "out" "dev" ]; enableParallelBuilding = true;