mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-04 11:50:01 +00:00
python3Packages.icalendar-searcher: use finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user