Files
2026-05-25 06:13:09 +00:00

56 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
emoji,
fetchFromGitHub,
freezegun,
tzdata,
pydantic,
pytest-benchmark,
pytestCheckHook,
python-dateutil,
setuptools,
syrupy,
}:
buildPythonPackage (finalAttrs: {
pname = "ical";
version = "13.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "allenporter";
repo = "ical";
tag = finalAttrs.version;
hash = "sha256-u7HVutdUHwUsGfKj+PYjTrhX9I5lDUzWRhsBnjJYWOg=";
};
build-system = [ setuptools ];
dependencies = [
python-dateutil
tzdata
pydantic
];
nativeCheckInputs = [
emoji
freezegun
pytest-benchmark
pytestCheckHook
syrupy
];
pytestFlags = [ "--benchmark-disable" ];
pythonImportsCheck = [ "ical" ];
meta = {
description = "Library for handling iCalendar";
homepage = "https://github.com/allenporter/ical";
changelog = "https://github.com/allenporter/ical/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
})