python3Packages.ical: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-02 09:59:50 +01:00
committed by GitHub
parent 0776c79283
commit 1dc696ddc4
@@ -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 ];
};
}
})