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 ]; }; }) 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 ]; }; }) diff --git a/pkgs/development/python-modules/icalendar-compatibility/default.nix b/pkgs/development/python-modules/icalendar-compatibility/default.nix index 0c69d09e2ad0..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,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/${finalAttrs.src.rev}/docs/changes.rst"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ erictapen ]; + teams = with lib.teams; [ ngi ]; }; -} +}) diff --git a/pkgs/development/python-modules/icalendar-searcher/default.nix b/pkgs/development/python-modules/icalendar-searcher/default.nix index 867936117b1d..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,13 +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 ]; }; -} +}) diff --git a/pkgs/development/python-modules/mergecal/default.nix b/pkgs/development/python-modules/mergecal/default.nix index 44af0cae519a..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,9 +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 ]; }; -} +}) diff --git a/pkgs/development/python-modules/x-wr-timezone/default.nix b/pkgs/development/python-modules/x-wr-timezone/default.nix index 65a9d2b507e3..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,10 +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 ]; }; -} +})