python3Packages.nexia: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-06-23 21:26:46 +02:00
parent fb9e7833a5
commit c0c7aa378f
@@ -12,7 +12,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "nexia";
version = "2.12.0";
pyproject = true;
@@ -20,7 +20,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "bdraco";
repo = "nexia";
tag = version;
tag = finalAttrs.version;
hash = "sha256-d3mV7kzUoM6JvZ82FLNxapkRZDjFH7V/rf4qjIyf2is=";
};
@@ -44,8 +44,8 @@ buildPythonPackage rec {
meta = {
description = "Python module for Nexia thermostats";
homepage = "https://github.com/bdraco/nexia";
changelog = "https://github.com/bdraco/nexia/releases/tag/${src.tag}";
changelog = "https://github.com/bdraco/nexia/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})