From 4bb0f504821f97e2c1fa24ecd1b57253a86bb304 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 5 Jan 2026 00:02:49 +0100 Subject: [PATCH] python3Packages.hikari-crescent: use finalAttrs --- pkgs/development/python-modules/hikari-crescent/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hikari-crescent/default.nix b/pkgs/development/python-modules/hikari-crescent/default.nix index 6cf3a71cdac1..2f876df33965 100644 --- a/pkgs/development/python-modules/hikari-crescent/default.nix +++ b/pkgs/development/python-modules/hikari-crescent/default.nix @@ -12,7 +12,7 @@ pynacl, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "hikari-crescent"; version = "1.4.0"; pyproject = true; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "hikari-crescent"; repo = "hikari-crescent"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-86NCAlN5/JGrxPVIMs6ARr6H4G3shPcgxASwukptyJo="; }; @@ -50,4 +50,4 @@ buildPythonPackage rec { maintainers = with lib.maintainers; [ sigmanificient ]; mainProgram = "hikari-crescent"; }; -} +})