Files

36 lines
843 B
Nix

{
lib,
symlinkJoin,
aw-server-rust,
aw-qt,
aw-notify,
aw-watcher-afk,
aw-watcher-window,
extraWatchers ? [ ],
}:
symlinkJoin {
pname = "activitywatch";
inherit (aw-server-rust) version;
paths = [
aw-server-rust.out
aw-qt.out
aw-notify.out
aw-watcher-afk.out
aw-watcher-window.out
]
++ (lib.forEach extraWatchers (p: p.out));
meta = {
description = "Best free and open-source automated time tracker";
homepage = "https://activitywatch.net/";
downloadPage = "https://github.com/ActivityWatch/activitywatch/releases";
changelog = "https://github.com/ActivityWatch/activitywatch/releases/tag/v${aw-server-rust.version}";
maintainers = with lib.maintainers; [ huantian ];
mainProgram = "aw-qt";
platforms = lib.platforms.linux;
license = lib.licenses.mpl20;
};
}