python3Packages.avea: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-05-18 23:47:29 +02:00
committed by GitHub
parent c9e35521a2
commit 5a5a725065
@@ -7,7 +7,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "avea";
version = "1.7.0";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "k0rventen";
repo = "avea";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-cBYS8Q70K5MXZ63uI6OGkUsskJ7rkgTBPjlAsxmtmVA=";
};
@@ -34,8 +34,8 @@ buildPythonPackage rec {
meta = {
description = "Python module for interacting with Elgato's Avea bulb";
homepage = "https://github.com/k0rventen/avea";
changelog = "https://github.com/k0rventen/avea/releases/tag/${src.tag}";
changelog = "https://github.com/k0rventen/avea/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})