python3Packages.icalendar-searcher: use finalAttrs

This commit is contained in:
eljamm
2026-11-18 16:29:19 +01:00
parent 865ca9fae1
commit fe207b8e99

View File

@@ -10,7 +10,7 @@
recurring-ical-events,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "icalendar-searcher";
version = "1.3.0";
pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "PyCalendar";
repo = "icalendar-searcher";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-FNrc+SQar8vftn2zGtMtQW5Tb9KwELSozt8oO4ogxn0=";
};
@@ -41,14 +41,14 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
]
++ lib.concatAttrValues optional-dependencies;
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
meta = {
changelog = "https://github.com/PyCalendar/icalendar-searcher/blob/${src.tag}/CHANGELOG.md";
changelog = "https://github.com/PyCalendar/icalendar-searcher/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Search, filter and sort iCalendar components";
homepage = "https://github.com/PyCalendar/icalendar-searcher";
license = lib.licenses.agpl3Only;
maintainers = [ lib.maintainers.dotlambda ];
teams = [ lib.teams.ngi ];
};
}
})