From 12cd62ccaa5594c76e18f1083654c8f286ab408d Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 5 Jan 2026 00:15:28 +0100 Subject: [PATCH] python3Packages.sure: use finalAttrs --- pkgs/development/python-modules/sure/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/sure/default.nix b/pkgs/development/python-modules/sure/default.nix index 8306a1a96a8f..f7e5ea7382bd 100644 --- a/pkgs/development/python-modules/sure/default.nix +++ b/pkgs/development/python-modules/sure/default.nix @@ -10,13 +10,13 @@ isPyPy, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "sure"; version = "2.0.1"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-yPxvq8Dn9phO6ruUJUDkVkblvvC7mf5Z4C2mNOTUuco="; }; @@ -54,8 +54,8 @@ buildPythonPackage rec { description = "Utility belt for automated testing"; mainProgram = "sure"; homepage = "https://sure.readthedocs.io/"; - changelog = "https://github.com/gabrielfalcao/sure/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/gabrielfalcao/sure/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ sigmanificient ]; }; -} +})