From 46b34a2f179434b9d0354147b379581310014aaa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 13 Aug 2024 08:45:32 +0200 Subject: [PATCH] python312Packages.aiovlc: 0.3.2 -> 0.4.0 Diff: https://github.com/MartinHjelmare/aiovlc/compare/refs/tags/v0.3.2...v0.4.0 Changelog: https://github.com/MartinHjelmare/aiovlc/blob/v0.4.0/CHANGELOG.md --- .../python-modules/aiovlc/default.nix | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) 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 ];