From 3049ef67695f7af7ed6e3ed4b2b4dfa1a2917904 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 16 Feb 2015 02:20:10 +0100 Subject: [PATCH] vim-plugins: add wakatime --- pkgs/misc/vim-plugins/default.nix | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix index 368c08c8b597..1d72e8e0a763 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 {