calendar-cli: add meta.mainProgram

This commit is contained in:
Robert Schütz 2024-03-31 14:25:27 -07:00
parent 4a63197f0e
commit 8d6af72637
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ let
port = "5232"; port = "5232";
filesystem_folder = "/data/radicale"; filesystem_folder = "/data/radicale";
cli = "${pkgs.calendar-cli}/bin/calendar-cli --caldav-user ${user} --caldav-pass ${password}"; cli = "${lib.getExe pkgs.calendar-cli} --caldav-user ${user} --caldav-pass ${password}";
in { in {
name = "radicale3"; name = "radicale3";
meta.maintainers = with lib.maintainers; [ dotlambda ]; meta.maintainers = with lib.maintainers; [ dotlambda ];

View File

@ -36,6 +36,7 @@ python3.pkgs.buildPythonApplication rec {
description = "Simple command-line CalDav client"; description = "Simple command-line CalDav client";
homepage = "https://github.com/tobixen/calendar-cli"; homepage = "https://github.com/tobixen/calendar-cli";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
mainProgram = "calendar-cli";
maintainers = with maintainers; [ dotlambda ]; maintainers = with maintainers; [ dotlambda ];
}; };
} }