Add ngi team to pycalendar packages (#589544)

This commit is contained in:
Kerstin Humm
2026-11-19 12:01:05 +00:00
committed by GitHub
6 changed files with 27 additions and 18 deletions

View File

@@ -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 ];
};
})

View File

@@ -52,5 +52,6 @@ buildPythonPackage (finalAttrs: {
gpl3Plus
];
maintainers = [ lib.maintainers.dotlambda ];
teams = [ lib.teams.ngi ];
};
})

View File

@@ -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 ];
};
}
})

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,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 ];
};
}
})

View File

@@ -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 ];
};
}
})

View File

@@ -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 ];
};
}
})