Files
nixpkgs/pkgs/development/python-modules/mergecal/default.nix
R. Ryantm 463764ce4e python3Packages.mergecal: 0.6.1 -> 0.6.2
(cherry picked from commit c340c485b9)
2026-11-29 14:23:59 +00:00

52 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
icalendar,
rich,
typer,
x-wr-timezone,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage (finalAttrs: {
pname = "mergecal";
version = "0.6.2";
pyproject = true;
src = fetchFromGitHub {
owner = "mergecal";
repo = "python-mergecal";
tag = "v${finalAttrs.version}";
hash = "sha256-fCg6kVlPC6p0B2S/Ocx7S9yRq5CjpOoRzuXVn7stcFk=";
};
build-system = [ setuptools ];
dependencies = [
icalendar
rich
typer
x-wr-timezone
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
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/${finalAttrs.src.tag}/CHANGELOG.md";
mainProgram = "mergecal";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ erictapen ];
teams = with lib.teams; [ ngi ];
};
})