2016-01-10 11:19:06 +01:00
|
|
|
buildPhase = ''
|
2016-01-16 20:14:49 +01:00
|
|
|
substituteInPlace plugin/youcompleteme.vim \
|
2017-02-10 05:58:27 +01:00
|
|
|
--replace "'ycm_path_to_python_interpreter', '''" \
|
|
|
|
"'ycm_path_to_python_interpreter', '${python}/bin/python'"
|
2016-01-10 11:19:06 +01:00
|
|
|
|
2017-02-10 05:58:27 +01:00
|
|
|
rm -r third_party/ycmd
|
|
|
|
ln -s ${ycmd}/lib/ycmd third_party
|
2016-01-10 11:19:06 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Fastest non utf-8 aware word and C completion engine for Vim";
|
|
|
|
homepage = http://github.com/Valloric/YouCompleteMe;
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [marcweber jagajaga];
|
2016-01-19 22:41:31 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-01-10 11:19:06 +01:00
|
|
|
};
|