From a3a245c653686aab45c5ae6233d6e91769dcc992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 14 Sep 2025 18:49:08 -0700 Subject: [PATCH] python3Packages.bluetooth-auto-recovery: only use async-timeout on Python < 3.11 --- .../python-modules/bluetooth-auto-recovery/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix index 8d7812f043a7..19d60975fb10 100644 --- a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix +++ b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix @@ -31,11 +31,13 @@ buildPythonPackage rec { build-system = [ poetry-core ]; dependencies = [ - async-timeout bluetooth-adapters btsocket pyric usb-devices + ] + ++ lib.optionals (pythonOlder "3.11") [ + async-timeout ]; nativeCheckInputs = [