depot/third_party/nixpkgs/pkgs/applications/office/activitywatch/wrapper.nix

33 lines
831 B
Nix
Raw Permalink Normal View History

{
lib,
symlinkJoin,
aw-server-rust,
aw-qt,
aw-notify,
aw-watcher-afk,
aw-watcher-window,
extraWatchers ? [ ],
}:
symlinkJoin {
name = "activitywatch-${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 = with lib; {
description = "The 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 maintainers; [ huantian ];
mainProgram = "aw-qt";
platforms = platforms.linux;
license = licenses.mpl20;
};
}