diff options
Diffstat (limited to 'pkgs/misc/vim-plugins')
5 files changed, 77 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 + ''; + }; } diff --git a/pkgs/misc/vim-plugins/vim-plugin-names b/pkgs/misc/vim-plugins/vim-plugin-names index b7e33a71ff83..20f6afec41fe 100644 --- a/pkgs/misc/vim-plugins/vim-plugin-names +++ b/pkgs/misc/vim-plugins/vim-plugin-names @@ -118,6 +118,7 @@ "github:wincent/command-t" "github:xolox/vim-easytags" "github:zchee/deoplete-jedi" +"github:zchee/deoplete-go" "goyo" "matchit.zip" "pathogen" @@ -169,3 +170,5 @@ "vundle" "github:jiangmiao/auto-pairs" "github:editorconfig/editorconfig-vim" +"github:heavenshell/vim-jsdoc" +"github:nixprime/cpsm" diff --git a/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/cpsm b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/cpsm new file mode 100644 index 000000000000..ea360765925b --- /dev/null +++ b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/cpsm @@ -0,0 +1,12 @@ + buildInputs = [ + python3 + stdenv + cmake + boost + icu + ]; + buildPhase = '' + patchShebangs . + export PY3=ON + ./install.sh + ''; diff --git a/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/ctrlp-cmatcher b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/ctrlp-cmatcher new file mode 100644 index 000000000000..bd4a4fa989ba --- /dev/null +++ b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/ctrlp-cmatcher @@ -0,0 +1,5 @@ + buildInputs = [ python ]; + buildPhase = '' + patchShebangs . + ./install.sh + ''; diff --git a/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/deoplete-go b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/deoplete-go new file mode 100644 index 000000000000..80cfd9af6538 --- /dev/null +++ b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/deoplete-go @@ -0,0 +1,7 @@ + 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/ \; + ''; |