2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "wakatime";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "1.55.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wakatime";
|
2021-12-06 16:07:01 +00:00
|
|
|
repo = "wakatime-cli";
|
|
|
|
rev = "v${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-Gp4whRxKhZfs0eFxTTrnrtqJAaWGX4ueKKoLUgbz4Ts=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-09-14 18:05:37 +00:00
|
|
|
vendorSha256 = "sha256-ANRcgeZYtcWGbK8c9KE8joo97d8LKvKA8/A+/rrjOoM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "WakaTime command line interface";
|
|
|
|
longDescription = ''
|
|
|
|
Command line interface to WakaTime used by all WakaTime text editor
|
|
|
|
plugins. You shouldn't need to directly use this package unless you
|
|
|
|
are building your own plugin or your text editor's plugin asks you
|
|
|
|
to install the wakatime CLI interface manually.
|
|
|
|
'';
|
|
|
|
license = licenses.bsd3;
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "wakatime-cli";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|