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-09-09 14:08:57 +00:00
|
|
|
version = "1.54.0";
|
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-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-HjhicBNkpyKb2GX4J3crhp2JgRGqmkQPUZe8rHrQG/g=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
vendorSha256 = "sha256-8QMrfCq5oAS+fjUccBeGrEGU5y4vtZr2o2HhpDk90K0=";
|
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
|
|
|
};
|
|
|
|
}
|