python312Packages.yowsup: unbreak with missing pyasyncore

This commit is contained in:
Peder Bergebakken Sundt 2024-04-18 11:21:19 +02:00
parent af731570c8
commit 84871db15f

View File

@ -1,5 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, pythonOlder
, isPy3k , isPy3k
, fetchFromGitHub , fetchFromGitHub
, appdirs , appdirs
@ -7,6 +8,7 @@
, protobuf , protobuf
, python-axolotl , python-axolotl
, six , six
, pyasyncore
, pytestCheckHook , pytestCheckHook
}: }:
@ -42,6 +44,9 @@ buildPythonPackage rec {
protobuf protobuf
python-axolotl python-axolotl
six six
]
++ lib.optionals (!pythonOlder "3.12") [
pyasyncore
]; ];
meta = with lib; { meta = with lib; {