Skip to content

Commit 37b1cd7

Browse files
committed
python312Packages.aiovlc: add optional-dependencies
1 parent 5aef700 commit 37b1cd7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pkgs/development/python-modules/aiovlc/default.nix

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
pytest-timeout,
99
pytestCheckHook,
1010
pythonOlder,
11-
rich,
1211
typer,
1312
}:
1413

@@ -28,17 +27,16 @@ buildPythonPackage rec {
2827

2928
build-system = [ poetry-core ];
3029

31-
dependencies = [
32-
rich
33-
typer
34-
];
30+
optional-dependencies = {
31+
cli = [ typer ];
32+
};
3533

3634
nativeCheckInputs = [
3735
pytest-asyncio
3836
pytest-cov-stub
3937
pytest-timeout
4038
pytestCheckHook
41-
];
39+
] ++ lib.flatten (builtins.attrValues optional-dependencies);
4240

4341
pythonImportsCheck = [ "aiovlc" ];
4442

0 commit comments

Comments
 (0)