python313Pacakges.aioesphomeapi: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-11 14:38:19 +01:00
committed by GitHub
parent 44a7fc83cf
commit f38462cb02
@@ -24,7 +24,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "aioesphomeapi";
version = "43.12.0";
pyproject = true;
@@ -32,7 +32,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "esphome";
repo = "aioesphomeapi";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-XCs+M2Au3+711pUnDAEMM2MKZgSgD+Xjlp6pDQoxVMc=";
};
@@ -76,11 +76,11 @@ buildPythonPackage rec {
meta = {
description = "Python Client for ESPHome native API";
homepage = "https://github.com/esphome/aioesphomeapi";
changelog = "https://github.com/esphome/aioesphomeapi/releases/tag/${src.tag}";
changelog = "https://github.com/esphome/aioesphomeapi/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
fab
hexa
];
};
}
})