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 ]; }; -} +})