diff options
Diffstat (limited to 'pkgs/misc/vim-plugins/default.nix')
-rw-r--r-- | pkgs/misc/vim-plugins/default.nix | 53 |
1 files changed, 50 insertions, 3 deletions
diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix index 2cd10593aeb4..81c8472045b7 100644 --- a/pkgs/misc/vim-plugins/default.nix +++ b/pkgs/misc/vim-plugins/default.nix @@ -2,6 +2,7 @@ { fetchurl, stdenv, python, go, cmake, vim, vimUtils, perl, ruby, unzip , which, fetchgit, llvmPackages , xkb_switch, rustracerd, fzf +, python3, boost, icu , Cocoa ? null }: @@ -303,16 +304,14 @@ rec { }; ctrlp-cmatcher = buildVimPluginFrom2Nix { # created by nix#NixDerivation - name = "ctrlp-cmatcher-2016-09-22"; + name = "ctrlp-cmatcher-2015-10-15"; src = fetchgit { url = "git://github.com/JazzCore/ctrlp-cmatcher"; rev = "6c36334f106b6fd981d23e724e9a618734cab43a"; sha256 = "1573kd6xf3n8sxlz2j4zadai4rnc7k3s9c54648yfzickwn57d8q"; }; dependencies = []; - buildInputs = [ python ]; - buildPhase = '' patchShebangs . ./install.sh @@ -1503,6 +1502,23 @@ rec { }; + deoplete-go = buildVimPluginFrom2Nix { # created by nix#NixDerivation + name = "deoplete-go-2016-11-12"; + src = fetchgit { + url = "git://github.com/zchee/deoplete-go"; + rev = "807b5536e7cebd06d0ce7b7d54c021a82774aee2"; + sha256 = "1ragxnlzpf17f1wdy512hkz6bd673gzl16f14v78873rcyxpiw53"; + }; + dependencies = []; + buildInputs = [ python3 ]; + buildPhase = '' + pushd ./rplugin/python3/deoplete/ujson + python3 setup.py build --build-base=$PWD/build --build-lib=$PWD/build + popd + find ./rplugin/ -name "ujson*.so" -exec mv -v {} ./rplugin/python3/ \; + ''; + }; + deoplete-jedi = buildVimPluginFrom2Nix { # created by nix#NixDerivation name = "deoplete-jedi-2016-10-22"; src = fetchgit { @@ -2085,5 +2101,36 @@ rec { }; + vim-jsdoc = buildVimPluginFrom2Nix { # created by nix#NixDerivation + name = "vim-jsdoc-2016-11-05"; + src = fetchgit { + url = "git://github.com/heavenshell/vim-jsdoc"; + rev = "45c7c7cef440a29f7bf24436640413e3d5d578ff"; + sha256 = "0kr4p01pyrz9w7yfh50gsz6n60qvnqxsr1055hvsyx36nzw6l3za"; + }; + dependencies = []; + }; + + cpsm = buildVimPluginFrom2Nix { # created by nix#NixDerivation + name = "cpsm-2016-09-21"; + src = fetchgit { + url = "git://github.com/nixprime/cpsm"; + rev = "565ab53a66fa52c46d80adf6981b07f4bdffcb1d"; + sha256 = "125gcnqrg2276sp715q924cxwjxwsv3j4m0n1zj17w9srnpn4r1k"; + }; + dependencies = []; + buildInputs = [ + python3 + stdenv + cmake + boost + icu + ]; + buildPhase = '' + patchShebangs . + export PY3=ON + ./install.sh + ''; + }; } |