diff --git a/pkgs/development/python-modules/aiovlc/default.nix b/pkgs/development/python-modules/aiovlc/default.nix index cfebe114b4ce..126661bc1e17 100644 --- a/pkgs/development/python-modules/aiovlc/default.nix +++ b/pkgs/development/python-modules/aiovlc/default.nix @@ -8,13 +8,12 @@ pytest-timeout, pytestCheckHook, pythonOlder, - rich, typer, }: buildPythonPackage rec { pname = "aiovlc"; - version = "0.6.0"; + version = "0.6.1"; pyproject = true; disabled = pythonOlder "3.11"; @@ -23,22 +22,21 @@ buildPythonPackage rec { owner = "MartinHjelmare"; repo = "aiovlc"; rev = "refs/tags/v${version}"; - hash = "sha256-2YG/m/z2xHUep2VJuCQs4+gGHUolj/u3kycpYZmUyBs="; + hash = "sha256-NnctcSgEHWEJUB0yDrSYMochh20CfT5jgtcALKmDjdo="; }; 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" ];