pythpn3Packages.rctclient: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-26 20:14:34 +02:00
committed by GitHub
parent fb40f073a5
commit 9c99b0985e
@@ -7,7 +7,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "rctclient";
version = "0.0.5";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "svalouch";
repo = "python-rctclient";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-f85ETzuZpOgnWpiLipLtAjOPn63yniCffWdPLyCEC3w=";
};
@@ -30,8 +30,8 @@ buildPythonPackage rec {
meta = {
description = "Python implementation of the RCT Power GmbH Serial Communication Protocol";
homepage = "https://github.com/svalouch/python-rctclient";
changelog = "https://github.com/svalouch/python-rctclient/releases/tag/${src.tag}";
license = with lib.licenses; [ gpl3Only ];
changelog = "https://github.com/svalouch/python-rctclient/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ _9R ];
};
}
})