diff --git a/pkgs/development/python-modules/std-uritemplate/default.nix b/pkgs/development/python-modules/std-uritemplate/default.nix index 55d16347bf7f..0dea59c66c6b 100644 --- a/pkgs/development/python-modules/std-uritemplate/default.nix +++ b/pkgs/development/python-modules/std-uritemplate/default.nix @@ -5,14 +5,14 @@ poetry-core, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "std-uritemplate"; version = "2.0.11"; pyproject = true; src = fetchPypi { pname = "std_uritemplate"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-afqeUkc41RG7S5Sz4jk8oFJKrRGOVJJZxU2zZ+BdmFI="; }; @@ -26,8 +26,8 @@ buildPythonPackage rec { meta = { description = "Std-uritemplate implementation for Python"; homepage = "https://github.com/std-uritemplate/std-uritemplate"; - changelog = "https://github.com/std-uritemplate/std-uritemplate/releases/tag/${version}"; + changelog = "https://github.com/std-uritemplate/std-uritemplate/releases/tag/${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})