2021-04-23 18:23:09 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "calendar-cli";
|
2022-11-27 21:16:23 +00:00
|
|
|
version = "0.14.1";
|
2021-04-23 18:23:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tobixen";
|
|
|
|
repo = "calendar-cli";
|
|
|
|
rev = "v${version}";
|
2022-11-27 21:16:23 +00:00
|
|
|
hash = "sha256-VVE4+qoUam2szbMsdWetq6hyhXoE1V3Pw5j/bYbfGVQ=";
|
2021-04-23 18:23:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
icalendar
|
|
|
|
caldav
|
|
|
|
pytz
|
|
|
|
tzlocal
|
2022-11-27 21:16:23 +00:00
|
|
|
click
|
2021-04-23 18:23:09 +00:00
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests require networking
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple command-line CalDav client";
|
|
|
|
homepage = "https://github.com/tobixen/calendar-cli";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|