From 20023d0c06b00b41802d8a5303a4e1029ce67cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 3 Mar 2025 09:20:56 -0800 Subject: [PATCH] python313Packages.upb-lib: 0.5.9 -> 0.6.0 Diff: https://github.com/gwww/upb-lib/compare/refs/tags/0.5.9...0.6.0 Changelog: https://github.com/gwww/upb-lib/releases/tag/0.6.0 --- .../python-modules/upb-lib/default.nix | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/upb-lib/default.nix b/pkgs/development/python-modules/upb-lib/default.nix index 6bcdb0953fb6..88ccbc6d90d2 100644 --- a/pkgs/development/python-modules/upb-lib/default.nix +++ b/pkgs/development/python-modules/upb-lib/default.nix @@ -2,16 +2,16 @@ lib, buildPythonPackage, fetchFromGitHub, + hatchling, pyserial-asyncio-fast, pytestCheckHook, pythonOlder, pytz, - poetry-core, }: buildPythonPackage rec { pname = "upb-lib"; - version = "0.5.9"; + version = "0.6.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -20,10 +20,10 @@ buildPythonPackage rec { owner = "gwww"; repo = "upb-lib"; tag = version; - hash = "sha256-GnNzKU4mqBu2pUOju+4+HMLsTupd8s+nAAieixkBCDk="; + hash = "sha256-4RDatZXEwjNVbz1/ZNA6HY2fDHMq2dE/Huf4Ui3wU3c="; }; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; dependencies = [ pyserial-asyncio-fast @@ -34,16 +34,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "upb_lib" ]; - disabledTests = [ - # AssertionError - "test_create_control_word_all" - ]; - - meta = with lib; { + meta = { description = "Library for interacting with UPB PIM"; homepage = "https://github.com/gwww/upb-lib"; - changelog = "https://github.com/gwww/upb-lib/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ dotlambda ]; + changelog = "https://github.com/gwww/upb-lib/releases/tag/${src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ dotlambda ]; }; }