python3Packages.serialx: expose esphome extra

This commit is contained in:
Martin Weinelt
2026-05-07 02:59:17 +02:00
parent 79c49ed8ef
commit 62a8ce06c8
@@ -1,9 +1,11 @@
{
aioesphomeapi,
buildPythonPackage,
cargo,
fetchFromGitHub,
lib,
psutil,
pythonAtLeast,
pytest-asyncio,
pytest-xdist,
pytestCheckHook,
@@ -49,6 +51,10 @@ buildPythonPackage (finalAttrs: {
typing-extensions
];
optional-dependencies.esphome = lib.optionals (pythonAtLeast "3.14") [
aioesphomeapi
];
pythonImportsCheck = [ "serialx" ];
nativeCheckInputs = [