python311Packages.yowsup: fix build

This commit is contained in:
Moraxyc
2024-11-09 15:38:26 +08:00
parent ab7489d373
commit c0ec6c8c3c
@@ -33,6 +33,12 @@ buildPythonPackage rec {
pythonRelaxDeps = true;
pythonRemoveDeps = [ "argparse" ];
env = {
# make protobuf compatible with old versions
# https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];