python3Packages.serialx: expose esphome extra
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user