From db4cc957a05b543394481ea90040f8fa0425e148 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 19 May 2025 17:58:17 +0200 Subject: [PATCH] python313Packages.uart-devices: 0.1.0 -> 0.1.1 Diff: https://github.com/bdraco/uart-devices/compare/refs/tags/v0.1.0...refs/tags/v0.1.1 Changelog: https://github.com/bdraco/uart-devices/blob/v0.1.1/CHANGELOG.md --- .../python-modules/uart-devices/default.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/uart-devices/default.nix b/pkgs/development/python-modules/uart-devices/default.nix index a8ae51c93c63..c2081edc3c58 100644 --- a/pkgs/development/python-modules/uart-devices/default.nix +++ b/pkgs/development/python-modules/uart-devices/default.nix @@ -4,33 +4,27 @@ fetchFromGitHub, poetry-core, pytest-asyncio, - pythonOlder, + pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { pname = "uart-devices"; - version = "0.1.0"; + version = "0.1.1"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "bdraco"; repo = "uart-devices"; tag = "v${version}"; - hash = "sha256-rmOWyTdOwnlr8Rwsvd2oeZq79LuGVJDAkIW2/9gGrKQ="; + hash = "sha256-vBwQXeXw9y7eETtlC4dcqGytIgrAm7iomnvoaxhl6JI="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "-Wdefault --cov=uart_devices --cov-report=term-missing:skip-covered" "" - ''; - - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytestCheckHook ]; @@ -39,7 +33,7 @@ buildPythonPackage rec { meta = with lib; { description = "UART Devices for Linux"; homepage = "https://github.com/bdraco/uart-devices"; - changelog = "https://github.com/bdraco/uart-devices/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/bdraco/uart-devices/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; platforms = platforms.linux;