2021-07-05 03:21:04 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-05-08 03:52:57 +01:00
|
|
|
|
2021-07-05 03:21:04 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "wakatime";
|
2021-07-05 03:21:04 +01:00
|
|
|
version = "1.18.7";
|
2016-05-08 03:52:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wakatime";
|
2021-07-05 03:21:04 +01:00
|
|
|
repo = "wakatime-cli";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "171x4pixmh5ni89iawdjl1fk9gr10bgp5bnslpskhspcqzyl1y5b";
|
2016-05-08 03:52:57 +01:00
|
|
|
};
|
|
|
|
|
2021-07-05 03:21:04 +01:00
|
|
|
vendorSha256 = "01c2vbnafhhm345nyfmvbvj5mga6laf9w46lhh0flq6kdgdw168s";
|
2018-01-16 03:35:49 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-05-08 03:52:57 +01: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;
|
|
|
|
};
|
|
|
|
}
|