From d4a04ddf5c440ea1ed859cc7719994c01caa76a1 Mon Sep 17 00:00:00 2001 From: eveeifyeve Date: Fri, 17 Jul 2026 15:56:56 +1000 Subject: [PATCH] python3Packages.generic: use finalAttrs --- pkgs/development/python-modules/generic/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix index 18b0a6f56c54..2a5145a02e75 100644 --- a/pkgs/development/python-modules/generic/default.nix +++ b/pkgs/development/python-modules/generic/default.nix @@ -6,13 +6,13 @@ poetry-core, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "generic"; version = "1.1.7"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-0U2uZihULrCEQ0WI01B1bIjy8wx+I0itX8+gH723zu0="; }; @@ -25,8 +25,8 @@ buildPythonPackage rec { meta = { description = "Generic programming (Multiple dispatch) library for Python"; homepage = "https://github.com/gaphor/generic"; - changelog = "https://github.com/gaphor/generic/releases/tag/${version}"; + changelog = "https://github.com/gaphor/generic/releases/tag/${finalAttrs.version}"; license = lib.licenses.bsd3; maintainers = [ ]; }; -} +})