From 3b4e40f0a36ffe5b4a94df25c4cb1da0bb67f06e Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 5 Jan 2026 00:01:15 +0100 Subject: [PATCH] python3Packages.case-converter: use finalAttrs --- .../development/python-modules/case-converter/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/case-converter/default.nix b/pkgs/development/python-modules/case-converter/default.nix index b3795d39494c..77f738eaacbf 100644 --- a/pkgs/development/python-modules/case-converter/default.nix +++ b/pkgs/development/python-modules/case-converter/default.nix @@ -6,7 +6,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "case-converter"; version = "1.2.0"; pyproject = true; @@ -14,7 +14,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "chrisdoherty4"; repo = "python-case-converter"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-PS/9Ndl3oD9zimEf819dNoSAeNJPndVjT+dkfW7FIJs="; }; @@ -29,8 +29,8 @@ buildPythonPackage rec { meta = { description = "Case conversion library for Python"; homepage = "https://github.com/chrisdoherty4/python-case-converter"; - changelog = "https://github.com/chrisdoherty4/python-case-converter/releases/tag/${src.tag}"; + changelog = "https://github.com/chrisdoherty4/python-case-converter/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; }; -} +})