50 lines
974 B
Nix
50 lines
974 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchFromGitHub
|
||
|
, icalendar
|
||
|
, pytz
|
||
|
, python-dateutil
|
||
|
, x-wr-timezone
|
||
|
, pytestCheckHook
|
||
|
, restructuredtext_lint
|
||
|
, pygments
|
||
|
, tzdata
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "recurring-ical-events";
|
||
|
version = "1.1.0b0";
|
||
|
|
||
|
format = "setuptools";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "niccokunzmann";
|
||
|
repo = "python-recurring-ical-events";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-ePbyZd/l/O3p/6Mbq1kMFsktkFKpPAw/u7uUynZYP2Y=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
icalendar
|
||
|
pytz
|
||
|
python-dateutil
|
||
|
x-wr-timezone
|
||
|
];
|
||
|
|
||
|
checkInputs = [
|
||
|
pytestCheckHook
|
||
|
restructuredtext_lint
|
||
|
pygments
|
||
|
tzdata
|
||
|
];
|
||
|
|
||
|
pythonImportsCheck = [ "recurring_ical_events" ];
|
||
|
|
||
|
meta = {
|
||
|
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 ];
|
||
|
};
|
||
|
}
|