2021-07-05 04:21:04 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-05-08 04:52:57 +02:00
|
|
|
|
2021-07-05 04:21:04 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "wakatime";
|
2022-02-13 13:18:38 +01:00
|
|
|
version = "1.35.4";
|
2016-05-08 04:52:57 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wakatime";
|
2021-07-05 04:21:04 +02:00
|
|
|
repo = "wakatime-cli";
|
|
|
|
rev = "v${version}";
|
2022-02-13 13:18:38 +01:00
|
|
|
sha256 = "sha256-MG2ROWQh8A7LrdOnDWLG9AsHjzfv84KjmjZXhJlMrLQ=";
|
2016-05-08 04:52:57 +02:00
|
|
|
};
|
|
|
|
|
2022-02-13 13:18:38 +01:00
|
|
|
vendorSha256 = "sha256-8FaM83+d1VQ/9le2hD0nqErhH/jOHMxbNz2o4D3qWb8=";
|
2018-01-16 04:35:49 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-05-08 04:52:57 +02: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;
|
|
|
|
};
|
|
|
|
}
|