From e90562a354c3b60c4cbdb5470259c75bb506b8bf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 27 Jan 2026 12:32:30 +0100 Subject: [PATCH] python314Packages.aiovodafone: migrate to finalAttrs --- pkgs/development/python-modules/aiovodafone/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiovodafone/default.nix b/pkgs/development/python-modules/aiovodafone/default.nix index 140587f11e46..5de8b2940662 100644 --- a/pkgs/development/python-modules/aiovodafone/default.nix +++ b/pkgs/development/python-modules/aiovodafone/default.nix @@ -14,7 +14,7 @@ segno, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiovodafone"; version = "3.1.1"; pyproject = true; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "chemelli74"; repo = "aiovodafone"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-NhtclSuwiEuGAA/zhKEL/5S/WTFTjo87BTQPuSVX0sE="; }; @@ -48,8 +48,8 @@ buildPythonPackage rec { meta = { description = "Library to control Vodafon Station"; homepage = "https://github.com/chemelli74/aiovodafone"; - changelog = "https://github.com/chemelli74/aiovodafone/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/chemelli74/aiovodafone/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})