about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-02-16 02:20:10 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-02-16 02:20:11 +0100
commit3049ef67695f7af7ed6e3ed4b2b4dfa1a2917904 (patch)
treea3bcd8f6db2f8869f61ca6fa34f29d375039ab35 /pkgs
parentdff06cdd43f09c489e8fc15c96f62951dd440aae (diff)
vim-plugins: add wakatime
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/misc/vim-plugins/default.nix25
1 files changed, 23 insertions, 2 deletions
diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix
index 368c08c8b597d..1d72e8e0a763a 100644
--- a/pkgs/misc/vim-plugins/default.nix
+++ b/pkgs/misc/vim-plugins/default.nix
@@ -1,7 +1,7 @@
 # TODO check that no license information gets lost
 { fetchurl, bash, stdenv, python, cmake, vim, vimUtils, perl, ruby, unzip,
-  which, fetchgit, fetchhg, fetchzip, llvmPackages, zip, vim_configurable,
-  vimPlugins, xkb_switch
+  which, fetchgit, fetchFromGitHub, fetchhg, fetchzip, llvmPackages, zip,
+  vim_configurable, vimPlugins, xkb_switch
 }:
 
 let
@@ -486,6 +486,27 @@ rec {
     '';
   };
 
+  wakatime = buildVimPlugin {
+    name = "wakatime-20150213";
+
+    src = fetchFromGitHub {
+      sha256 = "1vbka18av7wgpqhfaqql5mvcgjdmxgz3hzg55ih7r63qx0icpk19";
+      rev = "d639c5ea7bbd67e5a3b4974a982f6c4412f4aa3";
+      repo = "vim-wakatime";
+      owner = "wakatime";
+    };
+
+    meta = with stdenv.lib; {
+      description = "Analytics about your programming";
+      homepage = https://wakatime.com;
+      license = with licenses; bsd3;
+      platforms = with platforms; linux;
+      maintainers = with maintainers; [ nckx ];
+    };
+
+    buildInputs = [ python ];
+  };
+
   watchdogs = buildVimPlugin {
     name = "watchdogs-git-2014-10-18";
     src = fetchgit {