diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2017-07-25 14:05:23 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-07-27 23:22:26 +0100 |
commit | 127b2624b75b34a2d0be4f29f17b6dfd8141d34a (patch) | |
tree | 7d61aa4fe603f9ea8007b27a8058b97b4ef500c6 /pkgs/misc | |
parent | 229b2492819ff01f1b758d485813b7ebc91914b8 (diff) |
vim-yapf: init at 2017-03-21
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/vim-plugins/default.nix | 14 | ||||
-rw-r--r-- | pkgs/misc/vim-plugins/vim-plugin-names | 1 | ||||
-rw-r--r-- | pkgs/misc/vim-plugins/vim2nix/additional-nix-code/vim-yapf | 4 |
3 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix index be22b71d2b2be..598608420d41b 100644 --- a/pkgs/misc/vim-plugins/default.nix +++ b/pkgs/misc/vim-plugins/default.nix @@ -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 { diff --git a/pkgs/misc/vim-plugins/vim-plugin-names b/pkgs/misc/vim-plugins/vim-plugin-names index 10630636b89af..608e14ef9468f 100644 --- a/pkgs/misc/vim-plugins/vim-plugin-names +++ b/pkgs/misc/vim-plugins/vim-plugin-names @@ -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" diff --git a/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/vim-yapf b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/vim-yapf new file mode 100644 index 0000000000000..63b54b22e0e07 --- /dev/null +++ b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/vim-yapf @@ -0,0 +1,4 @@ + buildPhase = '' + substituteInPlace ftplugin/python_yapf.vim \ + --replace '"yapf"' '"${pkgs.yapf}/bin/yapf"' + ''; |