2017-05-26 12:46:15 +01:00
|
|
|
{ stdenv, buildPythonApplication, fetchFromGitHub }:
|
2016-05-08 03:52:57 +01:00
|
|
|
|
2017-05-26 12:46:15 +01:00
|
|
|
buildPythonApplication rec {
|
2016-05-08 03:52:57 +01:00
|
|
|
name = "wakatime-${version}";
|
2017-05-26 12:46:15 +01:00
|
|
|
version = "10.0.1";
|
2016-05-08 03:52:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wakatime";
|
2017-05-26 12:46:15 +01:00
|
|
|
repo = "wakatime";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1bg8fzd3rdc6na0a7z1d55m2gbnfq6d72mf2jlyzc817r6dr4bfx";
|
2016-05-08 03:52:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
}
|