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
1 changed files with 5 additions and 0 deletions

View File

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