1{
2 lib,
3 symlinkJoin,
4 aw-server-rust,
5 aw-qt,
6 aw-notify,
7 aw-watcher-afk,
8 aw-watcher-window,
9 extraWatchers ? [ ],
10}:
11
12symlinkJoin {
13 name = "activitywatch-${aw-server-rust.version}";
14 paths = [
15 aw-server-rust.out
16 aw-qt.out
17 aw-notify.out
18 aw-watcher-afk.out
19 aw-watcher-window.out
20 ]
21 ++ (lib.forEach extraWatchers (p: p.out));
22
23 meta = with lib; {
24 description = "Best free and open-source automated time tracker";
25 homepage = "https://activitywatch.net/";
26 downloadPage = "https://github.com/ActivityWatch/activitywatch/releases";
27 changelog = "https://github.com/ActivityWatch/activitywatch/releases/tag/v${aw-server-rust.version}";
28 maintainers = with maintainers; [ huantian ];
29 mainProgram = "aw-qt";
30 platforms = platforms.linux;
31 license = licenses.mpl20;
32 };
33}