vim: remove legacy additional-nix-code
This is a left-over from https://github.com/NixOS/nixpkgs/pull/46394 We no longer use this.
This commit is contained in:
parent
ef764eb0d8
commit
aa39d5a614
|
@ -1 +0,0 @@
|
||||||
sourceRoot = ".";
|
|
|
@ -1,11 +0,0 @@
|
||||||
# In addition to the arguments you pass to your compiler, you also need to
|
|
||||||
# specify the path of the C++ std header (if you are using C++).
|
|
||||||
# These usually implicitly set by cc-wrapper around clang (pkgs/build-support/cc-wrapper).
|
|
||||||
# The linked ruby code shows generates the required '.clang_complete' for cmake based projects
|
|
||||||
# https://gist.github.com/Mic92/135e83803ed29162817fce4098dec144
|
|
||||||
# as an alternative you can execute the following command:
|
|
||||||
# $ eval echo $(nix-instantiate --eval --expr 'with (import <nixpkgs>) {}; clang.default_cxx_stdlib_compile')
|
|
||||||
preFixup = ''
|
|
||||||
substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/clang_complete.vim \
|
|
||||||
--replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc}/lib/libclang.so'"
|
|
||||||
'';
|
|
|
@ -1,4 +0,0 @@
|
||||||
preFixup = ''
|
|
||||||
sed "/^let g:clighter8_libclang_path/s|')$|${llvmPackages.clang.cc}/lib/libclang.so')|" \
|
|
||||||
-i "$out"/share/vim-plugins/clighter8/plugin/clighter8.vim
|
|
||||||
'';
|
|
|
@ -1,5 +0,0 @@
|
||||||
buildInputs = [ ruby rake ];
|
|
||||||
buildPhase = ''
|
|
||||||
rake make
|
|
||||||
rm ruby/command-t/ext/command-t/*.o
|
|
||||||
'';
|
|
|
@ -1,13 +0,0 @@
|
||||||
buildInputs = [
|
|
||||||
python3
|
|
||||||
stdenv
|
|
||||||
cmake
|
|
||||||
boost
|
|
||||||
icu
|
|
||||||
ncurses
|
|
||||||
];
|
|
||||||
buildPhase = ''
|
|
||||||
patchShebangs .
|
|
||||||
export PY3=ON
|
|
||||||
./install.sh
|
|
||||||
'';
|
|
|
@ -1,5 +0,0 @@
|
||||||
buildInputs = [ python ];
|
|
||||||
buildPhase = ''
|
|
||||||
patchShebangs .
|
|
||||||
./install.sh
|
|
||||||
'';
|
|
|
@ -1,7 +0,0 @@
|
||||||
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/ \;
|
|
||||||
'';
|
|
|
@ -1 +0,0 @@
|
||||||
passthru.python3Dependencies = ps: with ps; [ sexpdata websocket_client ];
|
|
|
@ -1,6 +0,0 @@
|
||||||
setSourceRoot = ''
|
|
||||||
export sourceRoot=taglist
|
|
||||||
mkdir taglist
|
|
||||||
mv doc taglist
|
|
||||||
mv plugin taglist
|
|
||||||
'';
|
|
|
@ -1 +0,0 @@
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Cocoa;
|
|
|
@ -1,10 +0,0 @@
|
||||||
# use `:GrammarousCheck` to initialize checking
|
|
||||||
# In neovim, you also want to use set
|
|
||||||
# let g:grammarous#show_first_error = 1
|
|
||||||
# see https://github.com/rhysd/vim-grammarous/issues/39
|
|
||||||
patches = [
|
|
||||||
(substituteAll {
|
|
||||||
src = ./patches/vim-grammarous/set_default_languagetool.patch;
|
|
||||||
inherit languagetool;
|
|
||||||
})
|
|
||||||
];
|
|
|
@ -1 +0,0 @@
|
||||||
buildInputs = [ vim ];
|
|
|
@ -1,4 +0,0 @@
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace ftplugin/python_vimisort.vim \
|
|
||||||
--replace 'import vim' 'import vim; import sys; sys.path.append("${pythonPackages.isort}/${python.sitePackages}")'
|
|
||||||
'';
|
|
|
@ -1 +0,0 @@
|
||||||
buildInputs = [ python ];
|
|
|
@ -1 +0,0 @@
|
||||||
postInstall = false;
|
|
|
@ -1,5 +0,0 @@
|
||||||
patchPhase = ''
|
|
||||||
substituteInPlace plugin/xkbswitch.vim \
|
|
||||||
--replace /usr/local/lib/libxkbswitch.so ${xkb_switch}/lib/libxkbswitch.so
|
|
||||||
'';
|
|
||||||
buildInputs = [ xkb_switch ];
|
|
|
@ -1,4 +0,0 @@
|
||||||
buildPhase = ''
|
|
||||||
substituteInPlace ftplugin/python_yapf.vim \
|
|
||||||
--replace '"yapf"' '"${python3Packages.yapf}/bin/yapf"'
|
|
||||||
'';
|
|
|
@ -1,9 +0,0 @@
|
||||||
buildInputs = [ which ];
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
substituteInPlace autoload/vimproc.vim \
|
|
||||||
--replace vimproc_mac.so vimproc_unix.so \
|
|
||||||
--replace vimproc_linux64.so vimproc_unix.so \
|
|
||||||
--replace vimproc_linux32.so vimproc_unix.so
|
|
||||||
make -f make_unix.mak
|
|
||||||
'';
|
|
|
@ -1,16 +0,0 @@
|
||||||
buildPhase = ''
|
|
||||||
substituteInPlace plugin/youcompleteme.vim \
|
|
||||||
--replace "'ycm_path_to_python_interpreter', '''" \
|
|
||||||
"'ycm_path_to_python_interpreter', '${python}/bin/python'"
|
|
||||||
|
|
||||||
rm -r third_party/ycmd
|
|
||||||
ln -s ${ycmd}/lib/ycmd third_party
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Fastest non utf-8 aware word and C completion engine for Vim";
|
|
||||||
homepage = https://github.com/Valloric/YouCompleteMe;
|
|
||||||
license = stdenv.lib.licenses.gpl3;
|
|
||||||
maintainers = with stdenv.lib.maintainers; [marcweber jagajaga];
|
|
||||||
platforms = stdenv.lib.platforms.unix;
|
|
||||||
};
|
|
Loading…
Reference in a new issue