Merge pull request #20483 from steveeJ/vim-plugins-deoplete-go

vim-plugins/deoplete-go: init at 2016-11-12
This commit is contained in:
Arseniy Seroka 2016-11-18 23:35:21 +04:00 committed by GitHub
commit 57260d4c79
3 changed files with 26 additions and 0 deletions

View File

@ -2,6 +2,7 @@
{ fetchurl, stdenv, python, go, cmake, vim, vimUtils, perl, ruby, unzip
, which, fetchgit, llvmPackages
, xkb_switch, rustracerd, fzf
, python3
, Cocoa ? null
}:
@ -1503,6 +1504,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 {

View File

@ -118,6 +118,7 @@
"github:wincent/command-t"
"github:xolox/vim-easytags"
"github:zchee/deoplete-jedi"
"github:zchee/deoplete-go"
"goyo"
"matchit.zip"
"pathogen"

View File

@ -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/ \;
'';