From 1dc696ddc4aef41487e933e9582ac25b9e91dd2a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 2 Mar 2026 09:59:50 +0100 Subject: [PATCH] python3Packages.ical: migrate to finalAttrs --- pkgs/development/python-modules/ical/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/ical/default.nix b/pkgs/development/python-modules/ical/default.nix index c629f4f141f1..719cdc343263 100644 --- a/pkgs/development/python-modules/ical/default.nix +++ b/pkgs/development/python-modules/ical/default.nix @@ -13,7 +13,7 @@ syrupy, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ical"; version = "13.2.1"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "allenporter"; repo = "ical"; - tag = version; + tag = finalAttrs.version; hash = "sha256-SSOonK+iFD3JT9aTceyM/nHiGrp3/7ud8NLMXsgqlI8="; }; @@ -48,8 +48,8 @@ buildPythonPackage rec { meta = { description = "Library for handling iCalendar"; homepage = "https://github.com/allenporter/ical"; - changelog = "https://github.com/allenporter/ical/releases/tag/${src.tag}"; + changelog = "https://github.com/allenporter/ical/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +})