depot/third_party/nixpkgs/pkgs/development/python-modules/recurring-ical-events/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

59 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
icalendar,
python-dateutil,
tzdata,
x-wr-timezone,
pytestCheckHook,
pytz,
restructuredtext-lint,
pygments,
}:
buildPythonPackage rec {
pname = "recurring-ical-events";
version = "3.3.2";
disabled = pythonOlder "3.8";
pyproject = true;
src = fetchFromGitHub {
owner = "niccokunzmann";
repo = "python-recurring-ical-events";
rev = "v${version}";
hash = "sha256-1cWjOaL+STrHMux/fc+FaRVQIOMcseznNRcghsV+DtM=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [ "icalendar" ];
dependencies = [
icalendar
python-dateutil
tzdata
x-wr-timezone
];
nativeCheckInputs = [
pytestCheckHook
pytz
restructuredtext-lint
pygments
];
pythonImportsCheck = [ "recurring_ical_events" ];
meta = {
changelog = "https://github.com/niccokunzmann/python-recurring-ical-events/blob/${src.rev}/README.rst#changelog";
description = "Repeat ICalendar events by RRULE, RDATE and EXDATE";
homepage = "https://github.com/niccokunzmann/python-recurring-ical-events";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}