vim-yapf: init at 2017-03-21

This commit is contained in:
Jörg Thalheim 2017-07-25 14:05:23 +01:00
parent 229b249281
commit 127b2624b7
3 changed files with 19 additions and 0 deletions

View File

@ -1173,6 +1173,20 @@ rec {
};
vim-yapf = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-yapf-2017-03-21";
src = fetchgit {
url = "https://github.com/mindriot101/vim-yapf";
rev = "324380d77c9cf8e46e22b2e4391702273a53f563";
sha256 = "0vsd53k5k8absc60qka8nlj2ij6k4zgff2a65ixc7vqcmawxr3nw";
};
dependencies = [];
buildPhase = ''
substituteInPlace ftplugin/python_yapf.vim \
--replace '"yapf"' '"${pkgs.yapf}/bin/yapf"'
'';
};
lushtags = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "lushtags-2017-04-19";
src = fetchgit {

View File

@ -92,6 +92,7 @@
"github:mhinz/vim-startify"
"github:michaeljsmith/vim-indent-object"
"github:mileszs/ack.vim"
"github:mindriot101/vim-yapf"
"github:mkasa/lushtags"
"github:mpickering/hlint-refactor-vim"
"github:nathanaelkane/vim-indent-guides"

View File

@ -0,0 +1,4 @@
buildPhase = ''
substituteInPlace ftplugin/python_yapf.vim \
--replace '"yapf"' '"${pkgs.yapf}/bin/yapf"'
'';