Commit 37b1cd76 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.aiovlc: add optional-dependencies

parent 5aef7008
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -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" ];