vim-plugins/deoplete-go: init at 2016-11-12

This commit is contained in:
Stefan Junker 2016-11-16 21:47:27 +01:00
parent 811be54156
commit da23970660
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 { fetchurl, stdenv, python, go, cmake, vim, vimUtils, perl, ruby, unzip
, which, fetchgit, llvmPackages , which, fetchgit, llvmPackages
, xkb_switch, rustracerd, fzf , xkb_switch, rustracerd, fzf
, python3
, Cocoa ? null , Cocoa ? null
}: }:
@ -1493,6 +1494,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 deoplete-jedi = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "deoplete-jedi-2016-10-22"; name = "deoplete-jedi-2016-10-22";
src = fetchgit { src = fetchgit {

View File

@ -117,6 +117,7 @@
"github:wincent/command-t" "github:wincent/command-t"
"github:xolox/vim-easytags" "github:xolox/vim-easytags"
"github:zchee/deoplete-jedi" "github:zchee/deoplete-jedi"
"github:zchee/deoplete-go"
"goyo" "goyo"
"matchit.zip" "matchit.zip"
"pathogen" "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/ \;
'';