From ad824e40c57f5b1d67e7c304d3915ba1cdd8c246 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 17 Sep 2022 15:29:27 +0200 Subject: [PATCH] python3Packages.aioesphomeapi: relax protobuf constraint --- pkgs/development/python-modules/aioesphomeapi/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/aioesphomeapi/default.nix b/pkgs/development/python-modules/aioesphomeapi/default.nix index 67decf5ced07..8e8ca60af7e8 100644 --- a/pkgs/development/python-modules/aioesphomeapi/default.nix +++ b/pkgs/development/python-modules/aioesphomeapi/default.nix @@ -24,6 +24,11 @@ buildPythonPackage rec { sha256 = "sha256-ZaNrSkRH9pFhzZncCs37k1M0w5svPfrY0WxePUnUlms="; }; + postPatch = '' + substituteInPlace requirements.txt \ + --replace "protobuf>=3.12.2,<4.0" "protobuf>=3.12.2" + ''; + propagatedBuildInputs = [ noiseprotocol protobuf