python3Packages.aioesphomeapi: relax protobuf constraint

This commit is contained in:
Martin Weinelt 2022-09-17 15:29:27 +02:00 committed by Sandro Jäckel
parent 0ebde89696
commit ad824e40c5
No known key found for this signature in database
GPG Key ID: B1763F8651144063

View File

@ -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