From eb9ce692bfb8d18943c4cd28165783a205556921 Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 13:22:05 +0100 Subject: [PATCH 01/10] python3Packages.icalendar-searcher: add ngi team and also use `srv.rev` instead of `src.tag` for changelog. See: https://github.com/NixOS/nixpkgs/pull/589544#discussion_r4613431256 --- pkgs/development/python-modules/icalendar-searcher/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/icalendar-searcher/default.nix b/pkgs/development/python-modules/icalendar-searcher/default.nix index 867936117b1d..6ef600f67c10 100644 --- a/pkgs/development/python-modules/icalendar-searcher/default.nix +++ b/pkgs/development/python-modules/icalendar-searcher/default.nix @@ -49,5 +49,6 @@ buildPythonPackage rec { homepage = "https://github.com/PyCalendar/icalendar-searcher"; license = lib.licenses.agpl3Only; maintainers = [ lib.maintainers.dotlambda ]; + teams = [ lib.teams.ngi ]; }; } From 41a5d0ef7ee0a95f53e97f2c7782fb8ca8ce93af Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 13:38:32 +0100 Subject: [PATCH 02/10] python3Packages.x-wr-timezone: add ngi team and also use `srv.rev` instead of `src.tag` for changelog. See: https://github.com/NixOS/nixpkgs/pull/589544#discussion_r4613431256 --- pkgs/development/python-modules/x-wr-timezone/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/x-wr-timezone/default.nix b/pkgs/development/python-modules/x-wr-timezone/default.nix index 65a9d2b507e3..030f6f37a305 100644 --- a/pkgs/development/python-modules/x-wr-timezone/default.nix +++ b/pkgs/development/python-modules/x-wr-timezone/default.nix @@ -53,5 +53,6 @@ buildPythonPackage rec { homepage = "https://github.com/PyCalendar/x-wr-timezone"; license = lib.licenses.lgpl3Plus; maintainers = with lib.maintainers; [ dotlambda ]; + teams = with lib.teams; [ ngi ]; }; } From 664c81c4b3eca163abca7823181e77104c20d300 Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 13:39:35 +0100 Subject: [PATCH 03/10] python3Packages.mergecal: add ngi team and also use `srv.rev` instead of `src.tag` for changelog. See: https://github.com/NixOS/nixpkgs/pull/589544#discussion_r4613431256 --- pkgs/development/python-modules/mergecal/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/mergecal/default.nix b/pkgs/development/python-modules/mergecal/default.nix index 44af0cae519a..d46bdabeabea 100644 --- a/pkgs/development/python-modules/mergecal/default.nix +++ b/pkgs/development/python-modules/mergecal/default.nix @@ -44,5 +44,6 @@ buildPythonPackage rec { changelog = "https://github.com/mergecal/python-mergecal/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ erictapen ]; + teams = with lib.teams; [ ngi ]; }; } From 70033ac08a6b75f61f8752c3e4939f8ccb51aedd Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 13:41:39 +0100 Subject: [PATCH 04/10] python3Packages.icalendar-compatibility: add ngi team and use changelog from GitHub instead of latest. See: https://github.com/NixOS/nixpkgs/pull/589544#discussion_r4613431256 --- .../python-modules/icalendar-compatibility/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/icalendar-compatibility/default.nix b/pkgs/development/python-modules/icalendar-compatibility/default.nix index 0c69d09e2ad0..4a0616c35bf8 100644 --- a/pkgs/development/python-modules/icalendar-compatibility/default.nix +++ b/pkgs/development/python-modules/icalendar-compatibility/default.nix @@ -48,9 +48,10 @@ buildPythonPackage rec { meta = { homepage = "https://icalendar-compatibility.readthedocs.io/en/latest/"; - changelog = "https://icalendar-compatibility.readthedocs.io/en/latest/changes.html"; + changelog = "https://github.com/PyCalendar/icalendar_compatibility/blob/${src.rev}/docs/changes.rst"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ erictapen ]; + teams = with lib.teams; [ ngi ]; }; } From 6bcd9bffa2de375fdc04f2419ffb1f661f3e7c11 Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 13:42:23 +0100 Subject: [PATCH 05/10] python3Packages.calendaring-config: add ngi team and also use `srv.rev` instead of `src.tag` for changelog. See: https://github.com/NixOS/nixpkgs/pull/589544#discussion_r4613431256 --- pkgs/development/python-modules/calendaring-config/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/calendaring-config/default.nix b/pkgs/development/python-modules/calendaring-config/default.nix index 7163d4118fde..25a685f92883 100644 --- a/pkgs/development/python-modules/calendaring-config/default.nix +++ b/pkgs/development/python-modules/calendaring-config/default.nix @@ -52,5 +52,6 @@ buildPythonPackage (finalAttrs: { gpl3Plus ]; maintainers = [ lib.maintainers.dotlambda ]; + teams = [ lib.teams.ngi ]; }; }) From 10a764b0fd1d6ac9166a770866c684b7fe497011 Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 13:43:02 +0100 Subject: [PATCH 06/10] calendar-cli: add ngi team --- pkgs/by-name/ca/calendar-cli/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/ca/calendar-cli/package.nix b/pkgs/by-name/ca/calendar-cli/package.nix index 6da8f19570e0..87f73ee37c34 100644 --- a/pkgs/by-name/ca/calendar-cli/package.nix +++ b/pkgs/by-name/ca/calendar-cli/package.nix @@ -75,5 +75,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { license = lib.licenses.gpl3Plus; mainProgram = "calendar-cli"; maintainers = with lib.maintainers; [ dotlambda ]; + teams = with lib.teams; [ ngi ]; }; }) From 865ca9fae1fea44cad06053d3d47b693d1a7cc6d Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 16:20:04 +0100 Subject: [PATCH 07/10] python3Packages.x-wr-timezone: use finalAttrs; add mainProgram --- .../development/python-modules/x-wr-timezone/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/x-wr-timezone/default.nix b/pkgs/development/python-modules/x-wr-timezone/default.nix index 030f6f37a305..a29bf1559d4f 100644 --- a/pkgs/development/python-modules/x-wr-timezone/default.nix +++ b/pkgs/development/python-modules/x-wr-timezone/default.nix @@ -13,7 +13,7 @@ pytest-click, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "x-wr-timezone"; version = "2.0.1"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "PyCalendar"; repo = "x-wr-timezone"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Llpe3Z0Yfd0vRgx95D4YVrnNJk0g/VqPuNvtUrUpFk0="; }; @@ -48,11 +48,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "x_wr_timezone" ]; meta = { - changelog = "https://github.com/PyCalendar/x-wr-timezone/blob/${src.tag}/README.rst#changelog"; + changelog = "https://github.com/PyCalendar/x-wr-timezone/blob/${finalAttrs.src.tag}/README.rst#changelog"; description = "Convert calendars using X-WR-TIMEZONE to standard ones"; homepage = "https://github.com/PyCalendar/x-wr-timezone"; license = lib.licenses.lgpl3Plus; + mainProgram = "x-wr-timezone"; maintainers = with lib.maintainers; [ dotlambda ]; teams = with lib.teams; [ ngi ]; }; -} +}) From fe207b8e997e78ddffdbde3d7f55cfbabfa6e39e Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 16:29:19 +0100 Subject: [PATCH 08/10] python3Packages.icalendar-searcher: use finalAttrs --- .../python-modules/icalendar-searcher/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/icalendar-searcher/default.nix b/pkgs/development/python-modules/icalendar-searcher/default.nix index 6ef600f67c10..459ac31a3106 100644 --- a/pkgs/development/python-modules/icalendar-searcher/default.nix +++ b/pkgs/development/python-modules/icalendar-searcher/default.nix @@ -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 ]; }; -} +}) From 58267be062f91f18971c6ddbfdaebb97acc84bcb Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 16:30:30 +0100 Subject: [PATCH 09/10] python3Packages.mergecal: use finalAttrs; add mainProgram and description. --- pkgs/development/python-modules/mergecal/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mergecal/default.nix b/pkgs/development/python-modules/mergecal/default.nix index d46bdabeabea..d382c40afbbd 100644 --- a/pkgs/development/python-modules/mergecal/default.nix +++ b/pkgs/development/python-modules/mergecal/default.nix @@ -11,7 +11,7 @@ pytest-cov-stub, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mergecal"; version = "0.6.1"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mergecal"; repo = "python-mergecal"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-HWUZ9MJJMTqDzCJiqt/q7YXDM9Sp9i1qcdBxheZyfrg="; }; @@ -40,10 +40,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "mergecal" ]; meta = { + description = "Merge multiple iCalendar feeds into one"; homepage = "https://mergecal.readthedocs.io/en/latest/"; - changelog = "https://github.com/mergecal/python-mergecal/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/mergecal/python-mergecal/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + mainProgram = "mergecal"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ erictapen ]; teams = with lib.teams; [ ngi ]; }; -} +}) From f8f054c62902decc066b438eb67cbfffdf3e413a Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 18 Nov 2026 16:31:12 +0100 Subject: [PATCH 10/10] python3Packages.icalendar-compatibility: use finalAttrs --- .../python-modules/icalendar-compatibility/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/icalendar-compatibility/default.nix b/pkgs/development/python-modules/icalendar-compatibility/default.nix index 4a0616c35bf8..ebd60ab964f8 100644 --- a/pkgs/development/python-modules/icalendar-compatibility/default.nix +++ b/pkgs/development/python-modules/icalendar-compatibility/default.nix @@ -9,7 +9,7 @@ git, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "icalendar-compatibility"; version = "0.1.5"; pyproject = true; @@ -17,14 +17,14 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "PyCalendar"; repo = "icalendar_compatibility"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-rHx4wuLKSBI3/3ShxtpyyuK+iWULpbzfDN8DCNUryHg="; }; # hatch-vcs tries to read the current git commit hash postPatch = '' substituteInPlace pyproject.toml \ - --replace 'dynamic = ["urls", "version"]' 'version = "${version}"' + --replace 'dynamic = ["urls", "version"]' 'version = "${finalAttrs.version}"' ''; build-system = [ @@ -48,10 +48,10 @@ buildPythonPackage rec { meta = { homepage = "https://icalendar-compatibility.readthedocs.io/en/latest/"; - changelog = "https://github.com/PyCalendar/icalendar_compatibility/blob/${src.rev}/docs/changes.rst"; + changelog = "https://github.com/PyCalendar/icalendar_compatibility/blob/${finalAttrs.src.rev}/docs/changes.rst"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ erictapen ]; teams = with lib.teams; [ ngi ]; }; -} +})