diff --git a/pkgs/development/python-modules/idna/default.nix b/pkgs/development/python-modules/idna/default.nix index 7278212bf772..a8bda9b6f28f 100644 --- a/pkgs/development/python-modules/idna/default.nix +++ b/pkgs/development/python-modules/idna/default.nix @@ -6,7 +6,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "idna"; version = "3.18"; pyproject = true; @@ -14,7 +14,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "kjd"; repo = "idna"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-9nLy/9PNuLSQJsf4Jes0uN695+LGjz2LXlfiZxxvGV4="; }; @@ -26,9 +26,9 @@ buildPythonPackage rec { meta = { homepage = "https://github.com/kjd/idna/"; - changelog = "https://github.com/kjd/idna/releases/tag/${src.tag}"; + changelog = "https://github.com/kjd/idna/blob/${finalAttrs.src.tag}/HISTORY.md"; description = "Internationalized Domain Names in Applications (IDNA)"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.dotlambda ]; }; -} +})