From 93610de496b30d257c12a45a0842ff33fd8a4d3d Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 5 Jan 2026 00:05:02 +0100 Subject: [PATCH] python3Packages.outspin: use finalAttrs --- pkgs/development/python-modules/outspin/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/outspin/default.nix b/pkgs/development/python-modules/outspin/default.nix index 6785689cc7ed..bddf1efb92ca 100644 --- a/pkgs/development/python-modules/outspin/default.nix +++ b/pkgs/development/python-modules/outspin/default.nix @@ -6,7 +6,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finaAttrs: { pname = "outspin"; version = "0.3.2"; pyproject = true; @@ -14,7 +14,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "trag1c"; repo = "outspin"; - tag = "v${version}"; + tag = "v${finaAttrs.version}"; hash = "sha256-j+J3n/p+DcfnhGfC4/NDBDl5bF39L5kIPeGJW0Zm7ls="; }; @@ -24,9 +24,9 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; meta = { - changelog = "https://github.com/trag1c/outspin/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/trag1c/outspin/blob/${finaAttrs.src.tag}/CHANGELOG.md"; description = "Conveniently read single char inputs in the console"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; }; -} +})