diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-05-08 04:52:57 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-05-08 04:52:57 +0200 |
commit | ea9f28a46e0ac6c147becea4a7f411e660722a2a (patch) | |
tree | 34fc45966c22b686935ecc6810147a7d6367dfcf /pkgs/tools/misc/wakatime | |
parent | 666250bd3bc35abcb3cbf92cadbea39fa1e1b41a (diff) | |
download | nixpkgs-ea9f28a46e0ac6c147becea4a7f411e660722a2a.tar nixpkgs-ea9f28a46e0ac6c147becea4a7f411e660722a2a.tar.gz nixpkgs-ea9f28a46e0ac6c147becea4a7f411e660722a2a.tar.bz2 nixpkgs-ea9f28a46e0ac6c147becea4a7f411e660722a2a.tar.lz nixpkgs-ea9f28a46e0ac6c147becea4a7f411e660722a2a.tar.xz nixpkgs-ea9f28a46e0ac6c147becea4a7f411e660722a2a.tar.zst nixpkgs-ea9f28a46e0ac6c147becea4a7f411e660722a2a.zip |
wakatime: init at 6.0.1
To hack together a working WakaTime under emacs on NixOS: * Install both `wakatime` and `(emacsWithPackages [ wakatime-mode ])` * Add the following to your initialisation file (default: ~/.emacs): (custom-set-variables ;; ... '(wakatime-api-key "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX") '(wakatime-cli-path "") ; sic '(wakatime-python-bin "/path/to/profile/bin/wakatime")) ; sic * `M-x global-wakatime-mode` to test your settings.
Diffstat (limited to 'pkgs/tools/misc/wakatime')
-rw-r--r-- | pkgs/tools/misc/wakatime/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/misc/wakatime/default.nix b/pkgs/tools/misc/wakatime/default.nix new file mode 100644 index 00000000000..cf3b75be3f6 --- /dev/null +++ b/pkgs/tools/misc/wakatime/default.nix @@ -0,0 +1,29 @@ +{ stdenv, pythonPackages, fetchFromGitHub }: + +with pythonPackages; + +buildPythonPackage rec { + namePrefix = ""; + name = "wakatime-${version}"; + version = "6.0.1"; + + src = fetchFromGitHub { + sha256 = "0bkzchivkz39jiz78jy7zkpsg6fd94wd7nsmrnijvxb3dn35l7l2"; + rev = version; + repo = "wakatime"; + owner = "wakatime"; + }; + + 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 ]; + }; +} |