From b7cc9fe261df4d188de79e887469ca5685ebf6e7 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 24 May 2026 20:11:20 +0200 Subject: [PATCH] python3Packages.adax: use finalAttrs --- pkgs/development/python-modules/adax/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/adax/default.nix b/pkgs/development/python-modules/adax/default.nix index 34d18e08af2b..f49ba99fd73f 100644 --- a/pkgs/development/python-modules/adax/default.nix +++ b/pkgs/development/python-modules/adax/default.nix @@ -7,7 +7,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "adax"; version = "0.4.0"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Danielhiversen"; repo = "pyadax"; - tag = version; + tag = finalAttrs.version; hash = "sha256-wmcZtiML02i1XfqpFzni2WDrxutTvP5laVvTAGtNg0Y="; }; @@ -34,8 +34,8 @@ buildPythonPackage rec { meta = { description = "Python module to communicate with Adax"; homepage = "https://github.com/Danielhiversen/pyAdax"; - changelog = "https://github.com/Danielhiversen/pyAdax/releases/tag/${version}"; + changelog = "https://github.com/Danielhiversen/pyAdax/releases/tag/${finalAttrs.version}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; }; -} +})