python3Packages.pychromecast: relax protobuf constraint

This commit is contained in:
Martin Weinelt 2022-09-17 15:35:29 +02:00 committed by Sandro Jäckel
parent ad67fa6947
commit 1fbc586713
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

@ -21,6 +21,11 @@ buildPythonPackage rec {
sha256 = "sha256-nlfcmFpKBdtb3NXaIZy/bO0lVIygk/jXS8EHs8VU7AA=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace "protobuf>=3.19.1,<4" "protobuf>=3.19.1"
'';
propagatedBuildInputs = [
casttube
protobuf