nixpkgs/pkgs/tools/misc/wakatime/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
807 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "wakatime";
2022-02-27 20:26:54 +00:00
version = "1.38.0";
src = fetchFromGitHub {
owner = "wakatime";
repo = "wakatime-cli";
rev = "v${version}";
2022-02-27 20:26:54 +00:00
sha256 = "sha256-nlv0NOvUi/yf2lQytdfRE7YwcSpRHQRlI0zzeKAA760=";
};
2022-02-17 02:04:26 +00:00
vendorSha256 = "sha256-WKay4/bsy8jCOTQ2jHQPMBNfIuTI3QzdmhG1aOHNK0Y=";
2018-01-16 03:35:49 +00:00
meta = with lib; {
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;
};
}