From cb74adafdb39be27a9f06b389218fe17317b3faa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 Feb 2026 10:59:44 +0100 Subject: [PATCH] python314Packages.pyporscheconnectapi: migrate to finalAttrs --- .../python-modules/pyporscheconnectapi/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyporscheconnectapi/default.nix b/pkgs/development/python-modules/pyporscheconnectapi/default.nix index 2e6f7f233b64..95bb88bb0ba0 100644 --- a/pkgs/development/python-modules/pyporscheconnectapi/default.nix +++ b/pkgs/development/python-modules/pyporscheconnectapi/default.nix @@ -8,7 +8,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyporscheconnectapi"; version = "0.2.6"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "CJNE"; repo = "pyporscheconnectapi"; - tag = version; + tag = finalAttrs.version; hash = "sha256-aiNCT1IYSXdlJfIoQsBnVn9FGHifkI8e35VCQGGAAZ0="; }; @@ -41,8 +41,8 @@ buildPythonPackage rec { meta = { description = "Python client library for Porsche Connect API"; homepage = "https://github.com/CJNE/pyporscheconnectapi"; - changelog = "https://github.com/CJNE/pyporscheconnectapi/releases/tag/${src.tag}"; + changelog = "https://github.com/CJNE/pyporscheconnectapi/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})