python312Packages.aiovlc: add optional-dependencies

This commit is contained in:
Fabian Affolter
2024-11-08 23:02:52 +01:00
parent 5aef70086f
commit 37b1cd761d
@@ -8,7 +8,6 @@
pytest-timeout,
pytestCheckHook,
pythonOlder,
rich,
typer,
}:
@@ -28,17 +27,16 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
dependencies = [
rich
typer
];
optional-dependencies = {
cli = [ typer ];
};
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytest-timeout
pytestCheckHook
];
] ++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "aiovlc" ];