@@ -0,0 +1,29 @@
1+{ stdenv, pythonPackages, fetchFromGitHub }:
2+
3+with pythonPackages;
4+
5+buildPythonPackage rec {
6+ namePrefix = "";
7+ name = "wakatime-${version}";
8+ version = "6.0.1";
9+
10+ src = fetchFromGitHub {
11+ sha256 = "0bkzchivkz39jiz78jy7zkpsg6fd94wd7nsmrnijvxb3dn35l7l2";
12+ rev = version;
13+ repo = "wakatime";
14+ owner = "wakatime";
15+ };
16+
17+ meta = with stdenv.lib; {
18+ inherit (src.meta) homepage;
19+ description = "WakaTime command line interface";
20+ longDescription = ''
21+ Command line interface to WakaTime used by all WakaTime text editor
22+ plugins. You shouldn't need to directly use this package unless you
23+ are building your own plugin or your text editor's plugin asks you
24+ to install the wakatime CLI interface manually.
25+ '';
26+ license = licenses.bsd3;
27+ maintainers = with maintainers; [ nckx ];
28+ };
29+}