python3Packages.gardena-bluetooth: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-01 08:44:00 -07:00
committed by Robert Schütz
parent f3ad867aa3
commit b9caab164f
@@ -11,7 +11,7 @@
tzlocal,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "gardena-bluetooth";
version = "2.1.0";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "elupus";
repo = "gardena-bluetooth";
tag = version;
tag = finalAttrs.version;
hash = "sha256-H02Uq/n2iWAtrO/Reg+yWkFxVkLJWUhq3frc50EF4fo=";
};
@@ -45,8 +45,8 @@ buildPythonPackage rec {
meta = {
description = "Module for interacting with Gardena Bluetooth";
homepage = "https://github.com/elupus/gardena-bluetooth";
changelog = "https://github.com/elupus/gardena-bluetooth/releases/tag/${version}";
changelog = "https://github.com/elupus/gardena-bluetooth/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})