Martin Weinelt
2026-06-04 16:31:32 +02:00
parent 63827e7b4a
commit b9ab8c9d32
@@ -3,28 +3,28 @@
buildPythonPackage,
fetchFromGitHub,
hatchling,
pyserial-asyncio-fast,
pytestCheckHook,
pytz,
serialx,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "upb-lib";
version = "0.6.1";
version = "0.7.2";
pyproject = true;
src = fetchFromGitHub {
owner = "gwww";
repo = "upb-lib";
tag = version;
hash = "sha256-tjmsg8t2/WEjnRHyqN2lxsAgfISV1uAnhmq2dXAG15A=";
tag = finalAttrs.version;
hash = "sha256-J7jE/r+NkuzZxI4EnECH0HSnje2RqkZanEL8L5rUP1k=";
};
build-system = [ hatchling ];
dependencies = [
pyserial-asyncio-fast
pytz
serialx
];
nativeCheckInputs = [ pytestCheckHook ];
@@ -34,8 +34,8 @@ buildPythonPackage rec {
meta = {
description = "Library for interacting with UPB PIM";
homepage = "https://github.com/gwww/upb-lib";
changelog = "https://github.com/gwww/upb-lib/releases/tag/${src.tag}";
changelog = "https://github.com/gwww/upb-lib/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
})