diff --git a/pkgs/development/python-modules/aiovlc/default.nix b/pkgs/development/python-modules/aiovlc/default.nix index d0e0e42f33ff..7708b6806292 100644 --- a/pkgs/development/python-modules/aiovlc/default.nix +++ b/pkgs/development/python-modules/aiovlc/default.nix @@ -1,37 +1,41 @@ { lib, buildPythonPackage, - click, fetchFromGitHub, + poetry-core, pytest-asyncio, + pytest-cov-stub, pytest-timeout, pytestCheckHook, pythonOlder, + rich, + typer, }: buildPythonPackage rec { pname = "aiovlc"; - version = "0.3.2"; - format = "setuptools"; + version = "0.4.0"; + pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "MartinHjelmare"; - repo = pname; + repo = "aiovlc"; rev = "refs/tags/v${version}"; - hash = "sha256-+IpWX661Axl2Ke1NGN6W9CMMQMEu7EQ/2PeRkkByAxI="; + hash = "sha256-wUtoL3e22ufyzB7MJH0EuxE4WyxKQXEgThAOw23AwLM="; }; - postPatch = '' - substituteInPlace pyproject.toml --replace \ - " --cov=aiovlc --cov-report=term-missing:skip-covered" "" - ''; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ click ]; + dependencies = [ + rich + typer + ]; nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytest-timeout pytestCheckHook ];