From 1c4f9aa6f54ba60f2d066383dc63f0531cc51daa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 20 Mar 2026 21:31:36 +0100 Subject: [PATCH] python3Packages.androidtvremote2: migrate to finalAttrs --- .../python-modules/androidtvremote2/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/androidtvremote2/default.nix b/pkgs/development/python-modules/androidtvremote2/default.nix index 6e3dcbc6c0c2..1ca07612292a 100644 --- a/pkgs/development/python-modules/androidtvremote2/default.nix +++ b/pkgs/development/python-modules/androidtvremote2/default.nix @@ -8,7 +8,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "androidtvremote2"; version = "0.3.1"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "tronikos"; repo = "androidtvremote2"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-W+L1yQ7FAoKIlYtlM7gfPv8Tco/9hCDDUQQ16xg+++s="; }; @@ -36,8 +36,8 @@ buildPythonPackage rec { meta = { description = "Library to interact with the Android TV Remote protocol v2"; homepage = "https://github.com/tronikos/androidtvremote2"; - changelog = "https://github.com/tronikos/androidtvremote2/releases/tag/${src.tag}"; + changelog = "https://github.com/tronikos/androidtvremote2/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})