diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index 2cec1543a24..6ed60028ae2 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -48,7 +48,7 @@ neovim.override { ## Managing plugins with Vim packages -To store you plugins in Vim packages the following example can be used: +To store you plugins in Vim packages (the native vim plugin manager, see `:help packages`) the following example can be used: ``` vim_configurable.customize { @@ -56,6 +56,8 @@ vim_configurable.customize { # loaded on launch start = [ youcompleteme fugitive ]; # manually loadable by calling `:packadd $plugin-name` + # however, if a vim plugin has a dependency that is not explicitly listed in + # opt that dependency will always be added to start to avoid confusion. opt = [ phpCompletion elm-vim ]; # To automatically load a plugin when opening a filetype, add vimrc lines like: # autocmd FileType php :packadd phpCompletion @@ -63,6 +65,7 @@ vim_configurable.customize { } ``` +`myVimPackage` is an arbitrary name for the generated package. You can choose any name you like. For Neovim the syntax is: ``` @@ -74,6 +77,8 @@ neovim.override { packages.myVimPackage = with pkgs.vimPlugins; { # see examples below how to use custom packages start = [ ]; + # If a vim plugin has a dependency that is not explicitly listed in + # opt that dependency will always be added to start to avoid confusion. opt = [ ]; }; }; diff --git a/pkgs/misc/vim-plugins/build-vim-plugin.nix b/pkgs/misc/vim-plugins/build-vim-plugin.nix new file mode 100644 index 00000000000..2646b55de96 --- /dev/null +++ b/pkgs/misc/vim-plugins/build-vim-plugin.nix @@ -0,0 +1,54 @@ +{ stdenv +, rtpPath ? "share/vim-plugins" +, vim +}: + +rec { + addRtp = path: attrs: derivation: + derivation // { rtp = "${derivation}/${path}"; } // { + overrideAttrs = f: buildVimPlugin (attrs // f attrs); + }; + + buildVimPlugin = attrs@{ + name ? "${attrs.pname}-${attrs.version}", + namePrefix ? "vimplugin-", + src, + unpackPhase ? "", + configurePhase ? "", + buildPhase ? "", + preInstall ? "", + postInstall ? "", + path ? (builtins.parseDrvName name).name, + addonInfo ? null, + ... + }: + addRtp "${rtpPath}/${path}" attrs (stdenv.mkDerivation (attrs // { + name = namePrefix + name; + + inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall; + + installPhase = '' + runHook preInstall + + target=$out/${rtpPath}/${path} + mkdir -p $out/${rtpPath} + cp -r . $target + + # build help tags + if [ -d "$target/doc" ]; then + ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -c "helptags $1/doc" +quit! || echo "docs to build failed" + fi + + if [ -n "$addonInfo" ]; then + echo "$addonInfo" > $target/addon-info.json + fi + + runHook postInstall + ''; + })); + + buildVimPluginFrom2Nix = attrs: buildVimPlugin ({ + buildPhase = ":"; + configurePhase =":"; + } // attrs); +} diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix index f5053c2ec6e..b30413ac79c 100644 --- a/pkgs/misc/vim-plugins/default.nix +++ b/pkgs/misc/vim-plugins/default.nix @@ -5,8 +5,8 @@ let inherit (vimUtils.override {inherit vim;}) buildVimPluginFrom2Nix; - generated = callPackage ./generated.nix { - inherit buildVimPluginFrom2Nix; + plugins = callPackage ./generated.nix { + inherit buildVimPluginFrom2Nix overrides; }; # TL;DR @@ -22,10 +22,8 @@ let inherit llvmPackages; }; - overriden = generated // (overrides generated); - - aliases = lib.optionalAttrs (config.allowAliases or true) (import ./aliases.nix lib overriden); + aliases = lib.optionalAttrs (config.allowAliases or true) (import ./aliases.nix lib plugins); in -overriden // aliases +plugins // aliases diff --git a/pkgs/misc/vim-plugins/generated.nix b/pkgs/misc/vim-plugins/generated.nix index ebb8f1868ff..5ac1793070b 100644 --- a/pkgs/misc/vim-plugins/generated.nix +++ b/pkgs/misc/vim-plugins/generated.nix @@ -1,9 +1,13 @@ # This file has been generated by ./pkgs/misc/vim-plugins/update.py. Do not edit! -{ buildVimPluginFrom2Nix, fetchFromGitHub }: +{ lib, buildVimPluginFrom2Nix, fetchFromGitHub, overrides ? (self: super: {}) }: + +let + packages = ( self: { a-vim = buildVimPluginFrom2Nix { - name = "a-vim-2010-11-06"; + pname = "a-vim"; + version = "2010-11-06"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "a.vim"; @@ -13,7 +17,8 @@ }; ack-vim = buildVimPluginFrom2Nix { - name = "ack-vim-2018-02-27"; + pname = "ack-vim"; + version = "2018-02-27"; src = fetchFromGitHub { owner = "mileszs"; repo = "ack.vim"; @@ -23,7 +28,8 @@ }; acp = buildVimPluginFrom2Nix { - name = "acp-2013-02-05"; + pname = "acp"; + version = "2013-02-05"; src = fetchFromGitHub { owner = "eikenb"; repo = "acp"; @@ -33,7 +39,8 @@ }; agda-vim = buildVimPluginFrom2Nix { - name = "agda-vim-2018-11-10"; + pname = "agda-vim"; + version = "2018-11-10"; src = fetchFromGitHub { owner = "derekelkins"; repo = "agda-vim"; @@ -43,7 +50,8 @@ }; alchemist-vim = buildVimPluginFrom2Nix { - name = "alchemist-vim-2018-12-07"; + pname = "alchemist-vim"; + version = "2018-12-07"; src = fetchFromGitHub { owner = "slashmili"; repo = "alchemist.vim"; @@ -53,17 +61,19 @@ }; ale = buildVimPluginFrom2Nix { - name = "ale-2018-12-10"; + pname = "ale"; + version = "2018-12-20"; src = fetchFromGitHub { owner = "w0rp"; repo = "ale"; - rev = "2cfa09e02d65cd06649fb1ae5f988b7a110a124d"; - sha256 = "0sbbm6wwdwqbkfxkwbiijnsazdarmr6ahs2ha58s780fhkhvf2lp"; + rev = "73ca1e71918a0b50b7bbcbed91857c3618ad93cc"; + sha256 = "0q2wmpprr6mva6k7d8280cpf8ia6g7fbzw309fb0291y7241v5j1"; }; }; align = buildVimPluginFrom2Nix { - name = "align-2012-08-08"; + pname = "align"; + version = "2012-08-08"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "align"; @@ -73,7 +83,8 @@ }; argtextobj-vim = buildVimPluginFrom2Nix { - name = "argtextobj-vim-2010-10-18"; + pname = "argtextobj-vim"; + version = "2010-10-18"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "argtextobj.vim"; @@ -83,7 +94,8 @@ }; auto-pairs = buildVimPluginFrom2Nix { - name = "auto-pairs-2018-09-23"; + pname = "auto-pairs"; + version = "2018-09-23"; src = fetchFromGitHub { owner = "jiangmiao"; repo = "auto-pairs"; @@ -93,7 +105,8 @@ }; autoload_cscope-vim = buildVimPluginFrom2Nix { - name = "autoload_cscope-vim-2011-01-28"; + pname = "autoload_cscope-vim"; + version = "2011-01-28"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "autoload_cscope.vim"; @@ -103,17 +116,19 @@ }; awesome-vim-colorschemes = buildVimPluginFrom2Nix { - name = "awesome-vim-colorschemes-2018-10-30"; + pname = "awesome-vim-colorschemes"; + version = "2018-12-16"; src = fetchFromGitHub { owner = "rafi"; repo = "awesome-vim-colorschemes"; - rev = "21d1c93da95d58bead99f3226f9447f5b035afe1"; - sha256 = "1niwwyxgq7k7mbi05lnpz12lbmn9mam9x4qvzxcbvxsqqp2zzsj8"; + rev = "680930f34bf5d4007dbaee66aba2dd688cbb3098"; + sha256 = "0jk4fm2ivf6r91yra7ddyxfbh2swf315zvmrm5ym605xcsiwv0nw"; }; }; base16-vim = buildVimPluginFrom2Nix { - name = "base16-vim-2018-11-30"; + pname = "base16-vim"; + version = "2018-11-30"; src = fetchFromGitHub { owner = "chriskempson"; repo = "base16-vim"; @@ -123,7 +138,8 @@ }; bats-vim = buildVimPluginFrom2Nix { - name = "bats-vim-2013-07-03"; + pname = "bats-vim"; + version = "2013-07-03"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "bats.vim"; @@ -133,7 +149,8 @@ }; calendar-vim = buildVimPluginFrom2Nix { - name = "calendar-vim-2018-11-02"; + pname = "calendar-vim"; + version = "2018-11-02"; src = fetchFromGitHub { owner = "itchyny"; repo = "calendar.vim"; @@ -143,17 +160,19 @@ }; caw-vim = buildVimPluginFrom2Nix { - name = "caw-vim-2018-11-07"; + pname = "caw-vim"; + version = "2018-12-25"; src = fetchFromGitHub { owner = "tyru"; repo = "caw.vim"; - rev = "e186d64b6f5f8c39c15eb07f0e2798ce05d25fe3"; - sha256 = "1wakgc5q2yj1gymn18ri660rwdwvrb1j5d6j8mr189gnhkr9isk4"; + rev = "98805a60aef339e55e5b917fdb9f69c74e8d8340"; + sha256 = "0nn3dg3lnbnfwgvxpjbalw9ff876798jrzlkrnzqkvrwxv6k7ks5"; }; }; changeColorScheme-vim = buildVimPluginFrom2Nix { - name = "changeColorScheme-vim-2010-10-18"; + pname = "changeColorScheme-vim"; + version = "2010-10-18"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "changeColorScheme.vim"; @@ -163,7 +182,8 @@ }; CheckAttach = buildVimPluginFrom2Nix { - name = "CheckAttach-2018-09-02"; + pname = "CheckAttach"; + version = "2018-09-02"; src = fetchFromGitHub { owner = "chrisbra"; repo = "CheckAttach"; @@ -173,7 +193,8 @@ }; clang_complete = buildVimPluginFrom2Nix { - name = "clang_complete-2018-09-19"; + pname = "clang_complete"; + version = "2018-09-19"; src = fetchFromGitHub { owner = "Rip-Rip"; repo = "clang_complete"; @@ -183,7 +204,8 @@ }; clighter8 = buildVimPluginFrom2Nix { - name = "clighter8-2018-07-25"; + pname = "clighter8"; + version = "2018-07-25"; src = fetchFromGitHub { owner = "bbchung"; repo = "clighter8"; @@ -193,7 +215,8 @@ }; Colour-Sampler-Pack = buildVimPluginFrom2Nix { - name = "Colour-Sampler-Pack-2012-11-30"; + pname = "Colour-Sampler-Pack"; + version = "2012-11-30"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "Colour-Sampler-Pack"; @@ -203,7 +226,8 @@ }; command-t = buildVimPluginFrom2Nix { - name = "command-t-2018-09-19"; + pname = "command-t"; + version = "2018-09-19"; src = fetchFromGitHub { owner = "wincent"; repo = "command-t"; @@ -214,7 +238,8 @@ }; committia-vim = buildVimPluginFrom2Nix { - name = "committia-vim-2018-10-23"; + pname = "committia-vim"; + version = "2018-10-23"; src = fetchFromGitHub { owner = "rhysd"; repo = "committia.vim"; @@ -224,7 +249,8 @@ }; concealedyank-vim = buildVimPluginFrom2Nix { - name = "concealedyank-vim-2013-03-24"; + pname = "concealedyank-vim"; + version = "2013-03-24"; src = fetchFromGitHub { owner = "chikatoike"; repo = "concealedyank.vim"; @@ -234,7 +260,8 @@ }; context_filetype-vim = buildVimPluginFrom2Nix { - name = "context_filetype-vim-2018-08-30"; + pname = "context_filetype-vim"; + version = "2018-08-30"; src = fetchFromGitHub { owner = "Shougo"; repo = "context_filetype.vim"; @@ -244,7 +271,8 @@ }; cosco-vim = buildVimPluginFrom2Nix { - name = "cosco-vim-2018-08-07"; + pname = "cosco-vim"; + version = "2018-08-07"; src = fetchFromGitHub { owner = "lfilho"; repo = "cosco.vim"; @@ -254,7 +282,8 @@ }; cpsm = buildVimPluginFrom2Nix { - name = "cpsm-2018-09-08"; + pname = "cpsm"; + version = "2018-09-08"; src = fetchFromGitHub { owner = "nixprime"; repo = "cpsm"; @@ -264,7 +293,8 @@ }; csapprox = buildVimPluginFrom2Nix { - name = "csapprox-2013-07-27"; + pname = "csapprox"; + version = "2013-07-27"; src = fetchFromGitHub { owner = "godlygeek"; repo = "csapprox"; @@ -274,7 +304,8 @@ }; csv-vim = buildVimPluginFrom2Nix { - name = "csv-vim-2018-10-04"; + pname = "csv-vim"; + version = "2018-10-04"; src = fetchFromGitHub { owner = "chrisbra"; repo = "csv.vim"; @@ -284,7 +315,8 @@ }; ctrlp-cmatcher = buildVimPluginFrom2Nix { - name = "ctrlp-cmatcher-2015-10-15"; + pname = "ctrlp-cmatcher"; + version = "2015-10-15"; src = fetchFromGitHub { owner = "JazzCore"; repo = "ctrlp-cmatcher"; @@ -294,7 +326,8 @@ }; ctrlp-py-matcher = buildVimPluginFrom2Nix { - name = "ctrlp-py-matcher-2017-11-01"; + pname = "ctrlp-py-matcher"; + version = "2017-11-01"; src = fetchFromGitHub { owner = "FelikZ"; repo = "ctrlp-py-matcher"; @@ -304,7 +337,8 @@ }; ctrlp-z = buildVimPluginFrom2Nix { - name = "ctrlp-z-2015-10-17"; + pname = "ctrlp-z"; + version = "2015-10-17"; src = fetchFromGitHub { owner = "amiorin"; repo = "ctrlp-z"; @@ -314,7 +348,8 @@ }; ctrlp-vim = buildVimPluginFrom2Nix { - name = "ctrlp-vim-2018-11-22"; + pname = "ctrlp-vim"; + version = "2018-11-22"; src = fetchFromGitHub { owner = "ctrlpvim"; repo = "ctrlp.vim"; @@ -324,7 +359,8 @@ }; denite-extra = buildVimPluginFrom2Nix { - name = "denite-extra-2018-09-20"; + pname = "denite-extra"; + version = "2018-09-20"; src = fetchFromGitHub { owner = "chemzqm"; repo = "denite-extra"; @@ -334,7 +370,8 @@ }; denite-git = buildVimPluginFrom2Nix { - name = "denite-git-2018-07-19"; + pname = "denite-git"; + version = "2018-07-19"; src = fetchFromGitHub { owner = "chemzqm"; repo = "denite-git"; @@ -344,38 +381,42 @@ }; denite-nvim = buildVimPluginFrom2Nix { - name = "denite-nvim-2018-12-11"; + pname = "denite-nvim"; + version = "2018-12-24"; src = fetchFromGitHub { owner = "Shougo"; repo = "denite.nvim"; - rev = "cb1daf74c51b1670ee3914c95f85ba3852525e17"; - sha256 = "02m77q14s4y12r300ndml6nc8xwb8q15838l47j9bh1h8sz5b7al"; + rev = "f20cd55d249712dd4d5ab7c2b9d8b7f0005c6290"; + sha256 = "0g31p4n1hvl0vxn7gczbkfs6bvfhabmyfggcc5sfsd27chf49q43"; }; }; deol-nvim = buildVimPluginFrom2Nix { - name = "deol-nvim-2018-10-12"; + pname = "deol-nvim"; + version = "2018-12-25"; src = fetchFromGitHub { owner = "Shougo"; repo = "deol.nvim"; - rev = "04a5295ebad2df1a2141b85dc0b78cc51ea86fb4"; - sha256 = "1v5qip8kzrsq8qmmjrvhm15d9wrn48iz2s62qddcgvc0sdzk1y64"; + rev = "04afcdd5f63153fe14795d1141fae1eb2bb5be42"; + sha256 = "1pqxscisx2rymn13z7k988n5bskbi00g3hsy711bnjnazq1wdzib"; }; }; deoplete-clang = buildVimPluginFrom2Nix { - name = "deoplete-clang-2018-07-01"; + pname = "deoplete-clang"; + version = "2018-12-24"; src = fetchFromGitHub { owner = "zchee"; repo = "deoplete-clang"; - rev = "3c4f14127b363ba9eac43d3506a563e2c8da0f97"; - sha256 = "1qi8flm0pbxw19fwj8nh4wpcmmzpwlqy5pmn4cmhn6j7b5vsm32i"; + rev = "3353ddfb956841c4d0e5a43db5184504a62c066f"; + sha256 = "07qhv2lqx4k27fhd4zhxpg0l9s8r83q5147sfh9knpbyawg5hw3i"; fetchSubmodules = true; }; }; deoplete-go = buildVimPluginFrom2Nix { - name = "deoplete-go-2018-11-23"; + pname = "deoplete-go"; + version = "2018-11-23"; src = fetchFromGitHub { owner = "zchee"; repo = "deoplete-go"; @@ -386,18 +427,20 @@ }; deoplete-jedi = buildVimPluginFrom2Nix { - name = "deoplete-jedi-2018-12-03"; + pname = "deoplete-jedi"; + version = "2018-12-24"; src = fetchFromGitHub { owner = "zchee"; repo = "deoplete-jedi"; - rev = "583ee29a0a0fe6206f3f106b8866ff2b663fde74"; - sha256 = "0lbiwk6fc1z9i3sx4y62gsl3yr8pzv09s4wwxq1k8cziddbiypig"; + rev = "73c11875fbfaabf6c0b455596cb3f9dfe5d86595"; + sha256 = "0xaa56d4scihzz2cwg9zqkv36jwpivnska936z9wq0fpr253yzxc"; fetchSubmodules = true; }; }; deoplete-julia = buildVimPluginFrom2Nix { - name = "deoplete-julia-2018-06-11"; + pname = "deoplete-julia"; + version = "2018-06-11"; src = fetchFromGitHub { owner = "JuliaEditorSupport"; repo = "deoplete-julia"; @@ -407,7 +450,8 @@ }; deoplete-rust = buildVimPluginFrom2Nix { - name = "deoplete-rust-2017-07-18"; + pname = "deoplete-rust"; + version = "2017-07-18"; src = fetchFromGitHub { owner = "sebastianmarkow"; repo = "deoplete-rust"; @@ -417,7 +461,8 @@ }; deoplete-ternjs = buildVimPluginFrom2Nix { - name = "deoplete-ternjs-2018-11-29"; + pname = "deoplete-ternjs"; + version = "2018-11-29"; src = fetchFromGitHub { owner = "carlitux"; repo = "deoplete-ternjs"; @@ -427,27 +472,30 @@ }; deoplete-nvim = buildVimPluginFrom2Nix { - name = "deoplete-nvim-2018-12-11"; + pname = "deoplete-nvim"; + version = "2018-12-26"; src = fetchFromGitHub { owner = "Shougo"; repo = "deoplete.nvim"; - rev = "04159b053ae83933d67225c53c36d98e516fa729"; - sha256 = "1d0r7jfs0b2rc1pmavn0yfqqdq9by6cd404a0vfa44ya05zrz115"; + rev = "ec014e3a8d53b7bbc8a3906013975157d09936a1"; + sha256 = "06z2d552jf7vhmk0dh8my38bmrnfrzqggbs2dyzvqlx3hxrwm14h"; }; }; dhall-vim = buildVimPluginFrom2Nix { - name = "dhall-vim-2018-12-12"; + pname = "dhall-vim"; + version = "2018-12-26"; src = fetchFromGitHub { owner = "vmchale"; repo = "dhall-vim"; - rev = "ef31cfee6d8c555d44d282e4cec1367512ad7fe9"; - sha256 = "0r7y614xld5spgpa4c8ms4rm1p8xzsayp91j4jiqhxn6ly6igv7f"; + rev = "54a0f463d098abf72c76a233a6a3f0f9dd069dfe"; + sha256 = "0yacjv7kv79yilsyij43m378shzln0qra5c3nc5g2mc2i9hxcial"; }; }; direnv-vim = buildVimPluginFrom2Nix { - name = "direnv-vim-2018-11-10"; + pname = "direnv-vim"; + version = "2018-11-10"; src = fetchFromGitHub { owner = "direnv"; repo = "direnv.vim"; @@ -457,7 +505,8 @@ }; echodoc-vim = buildVimPluginFrom2Nix { - name = "echodoc-vim-2018-12-09"; + pname = "echodoc-vim"; + version = "2018-12-09"; src = fetchFromGitHub { owner = "Shougo"; repo = "echodoc.vim"; @@ -467,7 +516,8 @@ }; editorconfig-vim = buildVimPluginFrom2Nix { - name = "editorconfig-vim-2018-11-15"; + pname = "editorconfig-vim"; + version = "2018-11-15"; src = fetchFromGitHub { owner = "editorconfig"; repo = "editorconfig-vim"; @@ -478,7 +528,8 @@ }; elm-vim = buildVimPluginFrom2Nix { - name = "elm-vim-2018-11-13"; + pname = "elm-vim"; + version = "2018-11-13"; src = fetchFromGitHub { owner = "elmcast"; repo = "elm-vim"; @@ -488,7 +539,8 @@ }; emmet-vim = buildVimPluginFrom2Nix { - name = "emmet-vim-2018-11-29"; + pname = "emmet-vim"; + version = "2018-11-29"; src = fetchFromGitHub { owner = "mattn"; repo = "emmet-vim"; @@ -499,7 +551,8 @@ }; ensime-vim = buildVimPluginFrom2Nix { - name = "ensime-vim-2018-10-10"; + pname = "ensime-vim"; + version = "2018-10-10"; src = fetchFromGitHub { owner = "ensime"; repo = "ensime-vim"; @@ -509,17 +562,19 @@ }; falcon = buildVimPluginFrom2Nix { - name = "falcon-2018-11-30"; + pname = "falcon"; + version = "2018-12-21"; src = fetchFromGitHub { owner = "fenetikm"; repo = "falcon"; - rev = "070f2132266d85059f36496ed277527d5b8f00a1"; - sha256 = "0jzibr1k0l4kbhlg7398fln6rmpwayjbj0hpy4v84gr51pa2di5r"; + rev = "92489daf912f33c743fb07b170a563aa53a8a0a6"; + sha256 = "1a3yahjvp98icfv6a6d0z0v70rb9i0580iik2jjbcdmbri5jbnj2"; }; }; fastfold = buildVimPluginFrom2Nix { - name = "fastfold-2018-09-24"; + pname = "fastfold"; + version = "2018-09-24"; src = fetchFromGitHub { owner = "konfekt"; repo = "fastfold"; @@ -529,17 +584,19 @@ }; ferret = buildVimPluginFrom2Nix { - name = "ferret-2018-12-04"; + pname = "ferret"; + version = "2018-12-25"; src = fetchFromGitHub { owner = "wincent"; repo = "ferret"; - rev = "fbef13c37f0083ecbcec131c2a8f62079f3cdacb"; - sha256 = "1ajrwg5fg3myhazsdfprlj50qlw25jk1viy1cny6mzhbvmb80qln"; + rev = "890a01f85a5ac50ad16f151aacd828b31cbe6889"; + sha256 = "0882mxa5n1cbvq4vzxnv2d5id3lxbv23anjrilbnkklgk1i5fq47"; }; }; flake8-vim = buildVimPluginFrom2Nix { - name = "flake8-vim-2017-02-17"; + pname = "flake8-vim"; + version = "2017-02-17"; src = fetchFromGitHub { owner = "andviro"; repo = "flake8-vim"; @@ -550,7 +607,8 @@ }; floobits-neovim = buildVimPluginFrom2Nix { - name = "floobits-neovim-2018-08-01"; + pname = "floobits-neovim"; + version = "2018-08-01"; src = fetchFromGitHub { owner = "floobits"; repo = "floobits-neovim"; @@ -560,7 +618,8 @@ }; forms = buildVimPluginFrom2Nix { - name = "forms-2012-11-28"; + pname = "forms"; + version = "2012-11-28"; src = fetchFromGitHub { owner = "megaannum"; repo = "forms"; @@ -570,7 +629,8 @@ }; fugitive-gitlab-vim = buildVimPluginFrom2Nix { - name = "fugitive-gitlab-vim-2018-07-04"; + pname = "fugitive-gitlab-vim"; + version = "2018-07-04"; src = fetchFromGitHub { owner = "shumphrey"; repo = "fugitive-gitlab.vim"; @@ -580,7 +640,8 @@ }; fzf-vim = buildVimPluginFrom2Nix { - name = "fzf-vim-2018-12-11"; + pname = "fzf-vim"; + version = "2018-12-11"; src = fetchFromGitHub { owner = "junegunn"; repo = "fzf.vim"; @@ -590,7 +651,8 @@ }; ghcmod-vim = buildVimPluginFrom2Nix { - name = "ghcmod-vim-2016-06-19"; + pname = "ghcmod-vim"; + version = "2016-06-19"; src = fetchFromGitHub { owner = "eagletmt"; repo = "ghcmod-vim"; @@ -600,7 +662,8 @@ }; gist-vim = buildVimPluginFrom2Nix { - name = "gist-vim-2018-11-09"; + pname = "gist-vim"; + version = "2018-11-09"; src = fetchFromGitHub { owner = "mattn"; repo = "gist-vim"; @@ -610,7 +673,8 @@ }; gitv = buildVimPluginFrom2Nix { - name = "gitv-2018-11-24"; + pname = "gitv"; + version = "2018-11-24"; src = fetchFromGitHub { owner = "gregsexton"; repo = "gitv"; @@ -620,7 +684,8 @@ }; goyo-vim = buildVimPluginFrom2Nix { - name = "goyo-vim-2017-05-31"; + pname = "goyo-vim"; + version = "2017-05-31"; src = fetchFromGitHub { owner = "junegunn"; repo = "goyo.vim"; @@ -630,7 +695,8 @@ }; gruvbox = buildVimPluginFrom2Nix { - name = "gruvbox-2018-02-25"; + pname = "gruvbox"; + version = "2018-02-25"; src = fetchFromGitHub { owner = "morhetz"; repo = "gruvbox"; @@ -640,7 +706,8 @@ }; gundo-vim = buildVimPluginFrom2Nix { - name = "gundo-vim-2017-05-09"; + pname = "gundo-vim"; + version = "2017-05-09"; src = fetchFromGitHub { owner = "sjl"; repo = "gundo.vim"; @@ -650,7 +717,8 @@ }; haskell-vim = buildVimPluginFrom2Nix { - name = "haskell-vim-2018-05-22"; + pname = "haskell-vim"; + version = "2018-05-22"; src = fetchFromGitHub { owner = "neovimhaskell"; repo = "haskell-vim"; @@ -660,7 +728,8 @@ }; hasksyn = buildVimPluginFrom2Nix { - name = "hasksyn-2014-09-04"; + pname = "hasksyn"; + version = "2014-09-04"; src = fetchFromGitHub { owner = "travitch"; repo = "hasksyn"; @@ -670,7 +739,8 @@ }; hlint-refactor-vim = buildVimPluginFrom2Nix { - name = "hlint-refactor-vim-2015-12-05"; + pname = "hlint-refactor-vim"; + version = "2015-12-05"; src = fetchFromGitHub { owner = "mpickering"; repo = "hlint-refactor-vim"; @@ -680,7 +750,8 @@ }; iceberg-vim = buildVimPluginFrom2Nix { - name = "iceberg-vim-2018-10-17"; + pname = "iceberg-vim"; + version = "2018-10-17"; src = fetchFromGitHub { owner = "cocopon"; repo = "iceberg.vim"; @@ -690,7 +761,8 @@ }; idris-vim = buildVimPluginFrom2Nix { - name = "idris-vim-2017-12-04"; + pname = "idris-vim"; + version = "2017-12-04"; src = fetchFromGitHub { owner = "idris-hackers"; repo = "idris-vim"; @@ -700,7 +772,8 @@ }; Improved-AnsiEsc = buildVimPluginFrom2Nix { - name = "Improved-AnsiEsc-2015-08-26"; + pname = "Improved-AnsiEsc"; + version = "2015-08-26"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "Improved-AnsiEsc"; @@ -710,7 +783,8 @@ }; incsearch-easymotion-vim = buildVimPluginFrom2Nix { - name = "incsearch-easymotion-vim-2016-01-18"; + pname = "incsearch-easymotion-vim"; + version = "2016-01-18"; src = fetchFromGitHub { owner = "haya14busa"; repo = "incsearch-easymotion.vim"; @@ -720,7 +794,8 @@ }; incsearch-vim = buildVimPluginFrom2Nix { - name = "incsearch-vim-2017-11-24"; + pname = "incsearch-vim"; + version = "2017-11-24"; src = fetchFromGitHub { owner = "haya14busa"; repo = "incsearch.vim"; @@ -730,7 +805,8 @@ }; intero-neovim = buildVimPluginFrom2Nix { - name = "intero-neovim-2018-08-07"; + pname = "intero-neovim"; + version = "2018-08-07"; src = fetchFromGitHub { owner = "parsonsmatt"; repo = "intero-neovim"; @@ -740,7 +816,8 @@ }; iosvkem = buildVimPluginFrom2Nix { - name = "iosvkem-2018-08-26"; + pname = "iosvkem"; + version = "2018-08-26"; src = fetchFromGitHub { owner = "neutaaaaan"; repo = "iosvkem"; @@ -750,7 +827,8 @@ }; jedi-vim = buildVimPluginFrom2Nix { - name = "jedi-vim-2018-12-03"; + pname = "jedi-vim"; + version = "2018-12-03"; src = fetchFromGitHub { owner = "davidhalter"; repo = "jedi-vim"; @@ -761,7 +839,8 @@ }; Jenkinsfile-vim-syntax = buildVimPluginFrom2Nix { - name = "Jenkinsfile-vim-syntax-2018-11-25"; + pname = "Jenkinsfile-vim-syntax"; + version = "2018-11-25"; src = fetchFromGitHub { owner = "martinda"; repo = "Jenkinsfile-vim-syntax"; @@ -771,7 +850,8 @@ }; julia-vim = buildVimPluginFrom2Nix { - name = "julia-vim-2018-12-11"; + pname = "julia-vim"; + version = "2018-12-11"; src = fetchFromGitHub { owner = "JuliaEditorSupport"; repo = "julia-vim"; @@ -781,7 +861,8 @@ }; last256 = buildVimPluginFrom2Nix { - name = "last256-2017-06-10"; + pname = "last256"; + version = "2017-06-10"; src = fetchFromGitHub { owner = "sk1418"; repo = "last256"; @@ -791,7 +872,8 @@ }; latex-box = buildVimPluginFrom2Nix { - name = "latex-box-2015-06-01"; + pname = "latex-box"; + version = "2015-06-01"; src = fetchFromGitHub { owner = "latex-box-team"; repo = "latex-box"; @@ -801,7 +883,8 @@ }; lightline-vim = buildVimPluginFrom2Nix { - name = "lightline-vim-2018-12-12"; + pname = "lightline-vim"; + version = "2018-12-12"; src = fetchFromGitHub { owner = "itchyny"; repo = "lightline.vim"; @@ -811,7 +894,8 @@ }; limelight-vim = buildVimPluginFrom2Nix { - name = "limelight-vim-2016-06-23"; + pname = "limelight-vim"; + version = "2016-06-23"; src = fetchFromGitHub { owner = "junegunn"; repo = "limelight.vim"; @@ -821,7 +905,8 @@ }; lushtags = buildVimPluginFrom2Nix { - name = "lushtags-2017-04-19"; + pname = "lushtags"; + version = "2017-04-19"; src = fetchFromGitHub { owner = "mkasa"; repo = "lushtags"; @@ -831,7 +916,8 @@ }; matchit-zip = buildVimPluginFrom2Nix { - name = "matchit-zip-2010-10-18"; + pname = "matchit-zip"; + version = "2010-10-18"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "matchit.zip"; @@ -841,7 +927,8 @@ }; mayansmoke = buildVimPluginFrom2Nix { - name = "mayansmoke-2010-10-18"; + pname = "mayansmoke"; + version = "2010-10-18"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "mayansmoke"; @@ -851,7 +938,8 @@ }; molokai = buildVimPluginFrom2Nix { - name = "molokai-2015-11-11"; + pname = "molokai"; + version = "2015-11-11"; src = fetchFromGitHub { owner = "tomasr"; repo = "molokai"; @@ -861,17 +949,19 @@ }; ncm2 = buildVimPluginFrom2Nix { - name = "ncm2-2018-12-08"; + pname = "ncm2"; + version = "2018-12-27"; src = fetchFromGitHub { owner = "ncm2"; repo = "ncm2"; - rev = "40d1eb9b52805e0e81bbaac4bb87788007ad19de"; - sha256 = "1awbzm3vgp31afjlbagxjzzxxgwmy2axhnyhcal7x1rk93cr78iw"; + rev = "3b2749be3bb039ce0df34bca2eea4d6cdfe95caa"; + sha256 = "152fyvkksqkzkcrr2lj9w26v46b0n9pzia10adbka0jx9ppnsv0k"; }; }; ncm2-bufword = buildVimPluginFrom2Nix { - name = "ncm2-bufword-2018-12-06"; + pname = "ncm2-bufword"; + version = "2018-12-06"; src = fetchFromGitHub { owner = "ncm2"; repo = "ncm2-bufword"; @@ -880,8 +970,20 @@ }; }; + ncm2-jedi = buildVimPluginFrom2Nix { + pname = "ncm2-jedi"; + version = "2018-07-18"; + src = fetchFromGitHub { + owner = "ncm2"; + repo = "ncm2-jedi"; + rev = "0418d5ca8d4fe6996500eb04517a946f7de83d34"; + sha256 = "1rbwxsycrn3nis9mj08k70hb174z7cw9p610r6nd8lv4zk1h341z"; + }; + }; + ncm2-path = buildVimPluginFrom2Nix { - name = "ncm2-path-2018-09-12"; + pname = "ncm2-path"; + version = "2018-09-12"; src = fetchFromGitHub { owner = "ncm2"; repo = "ncm2-path"; @@ -891,7 +993,8 @@ }; ncm2-tmux = buildVimPluginFrom2Nix { - name = "ncm2-tmux-2018-12-06"; + pname = "ncm2-tmux"; + version = "2018-12-06"; src = fetchFromGitHub { owner = "ncm2"; repo = "ncm2-tmux"; @@ -901,7 +1004,8 @@ }; ncm2-ultisnips = buildVimPluginFrom2Nix { - name = "ncm2-ultisnips-2018-08-01"; + pname = "ncm2-ultisnips"; + version = "2018-08-01"; src = fetchFromGitHub { owner = "ncm2"; repo = "ncm2-ultisnips"; @@ -911,7 +1015,8 @@ }; neco-ghc = buildVimPluginFrom2Nix { - name = "neco-ghc-2018-05-13"; + pname = "neco-ghc"; + version = "2018-05-13"; src = fetchFromGitHub { owner = "eagletmt"; repo = "neco-ghc"; @@ -921,7 +1026,8 @@ }; neco-look = buildVimPluginFrom2Nix { - name = "neco-look-2018-11-09"; + pname = "neco-look"; + version = "2018-11-09"; src = fetchFromGitHub { owner = "ujihisa"; repo = "neco-look"; @@ -931,7 +1037,8 @@ }; neco-syntax = buildVimPluginFrom2Nix { - name = "neco-syntax-2017-10-01"; + pname = "neco-syntax"; + version = "2017-10-01"; src = fetchFromGitHub { owner = "Shougo"; repo = "neco-syntax"; @@ -941,7 +1048,8 @@ }; neco-vim = buildVimPluginFrom2Nix { - name = "neco-vim-2018-10-30"; + pname = "neco-vim"; + version = "2018-10-30"; src = fetchFromGitHub { owner = "Shougo"; repo = "neco-vim"; @@ -951,7 +1059,8 @@ }; neocomplete-vim = buildVimPluginFrom2Nix { - name = "neocomplete-vim-2018-11-19"; + pname = "neocomplete-vim"; + version = "2018-11-19"; src = fetchFromGitHub { owner = "Shougo"; repo = "neocomplete.vim"; @@ -961,7 +1070,8 @@ }; neodark-vim = buildVimPluginFrom2Nix { - name = "neodark-vim-2018-10-17"; + pname = "neodark-vim"; + version = "2018-10-17"; src = fetchFromGitHub { owner = "KeitaNakamura"; repo = "neodark.vim"; @@ -971,17 +1081,19 @@ }; neoformat = buildVimPluginFrom2Nix { - name = "neoformat-2018-09-22"; + pname = "neoformat"; + version = "2018-12-21"; src = fetchFromGitHub { owner = "sbdchd"; repo = "neoformat"; - rev = "5ea3abc08f3f0db3600e9f6f36f096c64bffdc07"; - sha256 = "0yb2mias9pc4f2hgb5lrc7k5xs3pq96c6zsahd74jb1hcjb5j5sw"; + rev = "fec5be9e3ee10d8311fb78944fdaa8547480f3d9"; + sha256 = "0wzw59pw22gqd9db6j1yvyz5l2xvrcw3gwjcg03pys9ynwd0vcjs"; }; }; neoinclude-vim = buildVimPluginFrom2Nix { - name = "neoinclude-vim-2018-05-21"; + pname = "neoinclude-vim"; + version = "2018-05-21"; src = fetchFromGitHub { owner = "Shougo"; repo = "neoinclude.vim"; @@ -991,17 +1103,19 @@ }; neomake = buildVimPluginFrom2Nix { - name = "neomake-2018-12-15"; + pname = "neomake"; + version = "2018-12-27"; src = fetchFromGitHub { owner = "benekastah"; repo = "neomake"; - rev = "b84769baf9f04e1018ca16bb5d22287500c25e43"; - sha256 = "0wfh0332yczq42pr2fyv5bv3ryf09021n1nsfrgiyrcy00k62r4j"; + rev = "27eef4e95ca18c6b4c01a779b49446b4ddcbe314"; + sha256 = "038a8ja5rwm6cx804vqzp85gklyfw3gc7d79snc94g8jj6ply6w5"; }; }; neomru-vim = buildVimPluginFrom2Nix { - name = "neomru-vim-2018-11-29"; + pname = "neomru-vim"; + version = "2018-11-29"; src = fetchFromGitHub { owner = "Shougo"; repo = "neomru.vim"; @@ -1011,7 +1125,8 @@ }; neosnippet-snippets = buildVimPluginFrom2Nix { - name = "neosnippet-snippets-2018-09-30"; + pname = "neosnippet-snippets"; + version = "2018-09-30"; src = fetchFromGitHub { owner = "Shougo"; repo = "neosnippet-snippets"; @@ -1021,7 +1136,8 @@ }; neosnippet-vim = buildVimPluginFrom2Nix { - name = "neosnippet-vim-2018-12-03"; + pname = "neosnippet-vim"; + version = "2018-12-03"; src = fetchFromGitHub { owner = "Shougo"; repo = "neosnippet.vim"; @@ -1031,7 +1147,8 @@ }; neovim-sensible = buildVimPluginFrom2Nix { - name = "neovim-sensible-2017-09-20"; + pname = "neovim-sensible"; + version = "2017-09-20"; src = fetchFromGitHub { owner = "jeffkreeftmeijer"; repo = "neovim-sensible"; @@ -1041,7 +1158,8 @@ }; neoyank-vim = buildVimPluginFrom2Nix { - name = "neoyank-vim-2018-12-03"; + pname = "neoyank-vim"; + version = "2018-12-03"; src = fetchFromGitHub { owner = "Shougo"; repo = "neoyank.vim"; @@ -1051,17 +1169,19 @@ }; nerdcommenter = buildVimPluginFrom2Nix { - name = "nerdcommenter-2018-12-03"; + pname = "nerdcommenter"; + version = "2018-12-26"; src = fetchFromGitHub { owner = "scrooloose"; repo = "nerdcommenter"; - rev = "d24868bc85de599ee2424ca93aa5f6991bd3128c"; - sha256 = "1xrnngrn537757as4jfiaamjq7yymgh8cdbciiwpc6a2qpiscmdb"; + rev = "371e4d0e099abb86a3016fefd1efae28a4e13856"; + sha256 = "0rdfjkd85w1d22mnfxy4ly35d7vi7q09i32hypxnhk7120hjmzdg"; }; }; nerdtree = buildVimPluginFrom2Nix { - name = "nerdtree-2018-12-12"; + pname = "nerdtree"; + version = "2018-12-12"; src = fetchFromGitHub { owner = "scrooloose"; repo = "nerdtree"; @@ -1071,7 +1191,8 @@ }; nerdtree-git-plugin = buildVimPluginFrom2Nix { - name = "nerdtree-git-plugin-2018-11-15"; + pname = "nerdtree-git-plugin"; + version = "2018-11-15"; src = fetchFromGitHub { owner = "albfan"; repo = "nerdtree-git-plugin"; @@ -1081,17 +1202,19 @@ }; nim-vim = buildVimPluginFrom2Nix { - name = "nim-vim-2018-12-13"; + pname = "nim-vim"; + version = "2018-12-16"; src = fetchFromGitHub { owner = "zah"; repo = "nim.vim"; - rev = "358e2e013056af5ad09b3e2963e3390db8677680"; - sha256 = "0ygyxcbbf6vqimzi71gdq40xx7kyi03yc73h5lyycnzwqc7wyxm2"; + rev = "21731384b8f0675e3d666e98dd6625508c30f3af"; + sha256 = "15l897xyli4wr5adgciizqnpqv80l95ykf2xq5kvc4icgj93gwga"; }; }; nvim-cm-racer = buildVimPluginFrom2Nix { - name = "nvim-cm-racer-2017-07-27"; + pname = "nvim-cm-racer"; + version = "2017-07-27"; src = fetchFromGitHub { owner = "roxma"; repo = "nvim-cm-racer"; @@ -1101,7 +1224,8 @@ }; nvim-completion-manager = buildVimPluginFrom2Nix { - name = "nvim-completion-manager-2018-07-27"; + pname = "nvim-completion-manager"; + version = "2018-07-27"; src = fetchFromGitHub { owner = "roxma"; repo = "nvim-completion-manager"; @@ -1111,17 +1235,19 @@ }; nvim-yarp = buildVimPluginFrom2Nix { - name = "nvim-yarp-2018-09-14"; + pname = "nvim-yarp"; + version = "2018-12-23"; src = fetchFromGitHub { owner = "roxma"; repo = "nvim-yarp"; - rev = "5443ac06b3989baa9262adec810503e0234c316e"; - sha256 = "0b6gmsbgzgwidl0rpkwzr2l1qxd9aw5pvj8izflf6gz36r2irszq"; + rev = "1524cf7988d1e1ed7475ead3654987f64943a1f0"; + sha256 = "1iblb9hy4svbabhkid1qh7v085dkpq7dwg4aj38d8xvhj9b7mf6v"; }; }; nvimdev-nvim = buildVimPluginFrom2Nix { - name = "nvimdev-nvim-2018-11-07"; + pname = "nvimdev-nvim"; + version = "2018-11-07"; src = fetchFromGitHub { owner = "neovim"; repo = "nvimdev.nvim"; @@ -1131,7 +1257,8 @@ }; onehalf = buildVimPluginFrom2Nix { - name = "onehalf-2018-10-21"; + pname = "onehalf"; + version = "2018-10-21"; src = fetchFromGitHub { owner = "sonph"; repo = "onehalf"; @@ -1141,7 +1268,8 @@ }; open-browser-vim = buildVimPluginFrom2Nix { - name = "open-browser-vim-2018-11-29"; + pname = "open-browser-vim"; + version = "2018-11-29"; src = fetchFromGitHub { owner = "tyru"; repo = "open-browser.vim"; @@ -1151,7 +1279,8 @@ }; papercolor-theme = buildVimPluginFrom2Nix { - name = "papercolor-theme-2018-09-04"; + pname = "papercolor-theme"; + version = "2018-09-04"; src = fetchFromGitHub { owner = "NLKNguyen"; repo = "papercolor-theme"; @@ -1161,7 +1290,8 @@ }; peskcolor-vim = buildVimPluginFrom2Nix { - name = "peskcolor-vim-2016-06-11"; + pname = "peskcolor-vim"; + version = "2016-06-11"; src = fetchFromGitHub { owner = "andsild"; repo = "peskcolor.vim"; @@ -1171,7 +1301,8 @@ }; pig-vim = buildVimPluginFrom2Nix { - name = "pig-vim-2017-06-08"; + pname = "pig-vim"; + version = "2017-06-08"; src = fetchFromGitHub { owner = "motus"; repo = "pig.vim"; @@ -1181,7 +1312,8 @@ }; pony-vim-syntax = buildVimPluginFrom2Nix { - name = "pony-vim-syntax-2017-09-26"; + pname = "pony-vim-syntax"; + version = "2017-09-26"; src = fetchFromGitHub { owner = "dleonard0"; repo = "pony-vim-syntax"; @@ -1191,7 +1323,8 @@ }; PreserveNoEOL = buildVimPluginFrom2Nix { - name = "PreserveNoEOL-2013-06-14"; + pname = "PreserveNoEOL"; + version = "2013-06-14"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "PreserveNoEOL"; @@ -1201,7 +1334,8 @@ }; psc-ide-vim = buildVimPluginFrom2Nix { - name = "psc-ide-vim-2018-03-11"; + pname = "psc-ide-vim"; + version = "2018-03-11"; src = fetchFromGitHub { owner = "frigoeu"; repo = "psc-ide-vim"; @@ -1211,7 +1345,8 @@ }; purescript-vim = buildVimPluginFrom2Nix { - name = "purescript-vim-2018-12-10"; + pname = "purescript-vim"; + version = "2018-12-10"; src = fetchFromGitHub { owner = "raichoo"; repo = "purescript-vim"; @@ -1221,7 +1356,8 @@ }; python-mode = buildVimPluginFrom2Nix { - name = "python-mode-2018-04-29"; + pname = "python-mode"; + version = "2018-04-29"; src = fetchFromGitHub { owner = "python-mode"; repo = "python-mode"; @@ -1231,7 +1367,8 @@ }; quickfixstatus = buildVimPluginFrom2Nix { - name = "quickfixstatus-2011-09-03"; + pname = "quickfixstatus"; + version = "2011-09-03"; src = fetchFromGitHub { owner = "dannyob"; repo = "quickfixstatus"; @@ -1241,7 +1378,8 @@ }; rainbow = buildVimPluginFrom2Nix { - name = "rainbow-2018-07-31"; + pname = "rainbow"; + version = "2018-07-31"; src = fetchFromGitHub { owner = "luochen1990"; repo = "rainbow"; @@ -1251,7 +1389,8 @@ }; rainbow_parentheses-vim = buildVimPluginFrom2Nix { - name = "rainbow_parentheses-vim-2013-03-05"; + pname = "rainbow_parentheses-vim"; + version = "2013-03-05"; src = fetchFromGitHub { owner = "kien"; repo = "rainbow_parentheses.vim"; @@ -1261,7 +1400,8 @@ }; random-vim = buildVimPluginFrom2Nix { - name = "random-vim-2010-10-18"; + pname = "random-vim"; + version = "2010-10-18"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "random.vim"; @@ -1271,17 +1411,19 @@ }; ranger-vim = buildVimPluginFrom2Nix { - name = "ranger-vim-2018-11-30"; + pname = "ranger-vim"; + version = "2018-12-21"; src = fetchFromGitHub { owner = "rafaqz"; repo = "ranger.vim"; - rev = "9ba30ca2f219bc0eaa02102573de8f8ba33078f2"; - sha256 = "0dccb5rsvazqlxiqcwxb8w4093j9c2klgd30d90nf7vaz40a4988"; + rev = "0bd9e8122f79655f58142389c595513b855cf05d"; + sha256 = "0vpfdn01vy065hpc9ii56dsx35cxpmw2k6cidjdl0czy30vyjy94"; }; }; Recover-vim = buildVimPluginFrom2Nix { - name = "Recover-vim-2018-10-22"; + pname = "Recover-vim"; + version = "2018-10-22"; src = fetchFromGitHub { owner = "chrisbra"; repo = "Recover.vim"; @@ -1291,7 +1433,8 @@ }; Rename = buildVimPluginFrom2Nix { - name = "Rename-2011-08-31"; + pname = "Rename"; + version = "2011-08-31"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "Rename"; @@ -1301,7 +1444,8 @@ }; ReplaceWithRegister = buildVimPluginFrom2Nix { - name = "ReplaceWithRegister-2014-10-31"; + pname = "ReplaceWithRegister"; + version = "2014-10-31"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "ReplaceWithRegister"; @@ -1311,7 +1455,8 @@ }; riv-vim = buildVimPluginFrom2Nix { - name = "riv-vim-2018-10-17"; + pname = "riv-vim"; + version = "2018-10-17"; src = fetchFromGitHub { owner = "Rykka"; repo = "riv.vim"; @@ -1321,7 +1466,8 @@ }; robotframework-vim = buildVimPluginFrom2Nix { - name = "robotframework-vim-2017-04-14"; + pname = "robotframework-vim"; + version = "2017-04-14"; src = fetchFromGitHub { owner = "mfukar"; repo = "robotframework-vim"; @@ -1331,7 +1477,8 @@ }; rtorrent-syntax-file = buildVimPluginFrom2Nix { - name = "rtorrent-syntax-file-2016-03-19"; + pname = "rtorrent-syntax-file"; + version = "2016-03-19"; src = fetchFromGitHub { owner = "ccarpita"; repo = "rtorrent-syntax-file"; @@ -1341,17 +1488,19 @@ }; rust-vim = buildVimPluginFrom2Nix { - name = "rust-vim-2018-11-29"; + pname = "rust-vim"; + version = "2018-12-23"; src = fetchFromGitHub { owner = "rust-lang"; repo = "rust.vim"; - rev = "fabad27559c5bde02e0f0a855d07d9dda9aef9a9"; - sha256 = "0b05hn75ahhk2yz5mgjn2vr68391f53cdfdrav23zx0jfqibd4vf"; + rev = "c6312525ce948e603aec827fba8842a5dea92a9c"; + sha256 = "11ki4zfnnizvdpymddxb7l1qmx1090xn5hiwhxifsrlg1c0dn3dp"; }; }; self = buildVimPluginFrom2Nix { - name = "self-2014-05-28"; + pname = "self"; + version = "2014-05-28"; src = fetchFromGitHub { owner = "megaannum"; repo = "self"; @@ -1361,7 +1510,8 @@ }; shabadou-vim = buildVimPluginFrom2Nix { - name = "shabadou-vim-2016-07-19"; + pname = "shabadou-vim"; + version = "2016-07-19"; src = fetchFromGitHub { owner = "osyo-manga"; repo = "shabadou.vim"; @@ -1371,7 +1521,8 @@ }; sourcemap-vim = buildVimPluginFrom2Nix { - name = "sourcemap-vim-2012-09-19"; + pname = "sourcemap-vim"; + version = "2012-09-19"; src = fetchFromGitHub { owner = "chikatoike"; repo = "sourcemap.vim"; @@ -1381,17 +1532,19 @@ }; Spacegray-vim = buildVimPluginFrom2Nix { - name = "Spacegray-vim-2018-06-21"; + pname = "Spacegray-vim"; + version = "2018-12-25"; src = fetchFromGitHub { owner = "ajh17"; repo = "Spacegray.vim"; - rev = "f9e5205319cbb5c598bbf02b16c3d05277817f81"; + rev = "5dfdefbe083666bf7f3fe2d6cdff650efaa5e1f7"; sha256 = "1s32zf75ybqs9jjjvqk5z4x9a6lr43gjbwlgw8k01qf4lsxkzkn9"; }; }; spacevim = buildVimPluginFrom2Nix { - name = "spacevim-2018-03-29"; + pname = "spacevim"; + version = "2018-03-29"; src = fetchFromGitHub { owner = "ctjhoa"; repo = "spacevim"; @@ -1401,7 +1554,8 @@ }; sparkup = buildVimPluginFrom2Nix { - name = "sparkup-2012-06-11"; + pname = "sparkup"; + version = "2012-06-11"; src = fetchFromGitHub { owner = "chrisgeo"; repo = "sparkup"; @@ -1411,7 +1565,8 @@ }; splice-vim = buildVimPluginFrom2Nix { - name = "splice-vim-2017-09-03"; + pname = "splice-vim"; + version = "2017-09-03"; src = fetchFromGitHub { owner = "sjl"; repo = "splice.vim"; @@ -1421,7 +1576,8 @@ }; supertab = buildVimPluginFrom2Nix { - name = "supertab-2017-11-14"; + pname = "supertab"; + version = "2017-11-14"; src = fetchFromGitHub { owner = "ervandew"; repo = "supertab"; @@ -1431,7 +1587,8 @@ }; swift-vim = buildVimPluginFrom2Nix { - name = "swift-vim-2018-09-12"; + pname = "swift-vim"; + version = "2018-09-12"; src = fetchFromGitHub { owner = "keith"; repo = "swift.vim"; @@ -1441,7 +1598,8 @@ }; syntastic = buildVimPluginFrom2Nix { - name = "syntastic-2018-11-24"; + pname = "syntastic"; + version = "2018-11-24"; src = fetchFromGitHub { owner = "scrooloose"; repo = "syntastic"; @@ -1451,7 +1609,8 @@ }; tabmerge = buildVimPluginFrom2Nix { - name = "tabmerge-2010-10-18"; + pname = "tabmerge"; + version = "2010-10-18"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "tabmerge"; @@ -1461,7 +1620,8 @@ }; tabpagebuffer-vim = buildVimPluginFrom2Nix { - name = "tabpagebuffer-vim-2014-09-30"; + pname = "tabpagebuffer-vim"; + version = "2014-09-30"; src = fetchFromGitHub { owner = "Shougo"; repo = "tabpagebuffer.vim"; @@ -1471,7 +1631,8 @@ }; tabular = buildVimPluginFrom2Nix { - name = "tabular-2016-05-04"; + pname = "tabular"; + version = "2016-05-04"; src = fetchFromGitHub { owner = "godlygeek"; repo = "tabular"; @@ -1481,7 +1642,8 @@ }; tagbar = buildVimPluginFrom2Nix { - name = "tagbar-2017-12-17"; + pname = "tagbar"; + version = "2017-12-17"; src = fetchFromGitHub { owner = "majutsushi"; repo = "tagbar"; @@ -1491,7 +1653,8 @@ }; taglist-vim = buildVimPluginFrom2Nix { - name = "taglist-vim-2010-10-18"; + pname = "taglist-vim"; + version = "2010-10-18"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "taglist.vim"; @@ -1501,17 +1664,19 @@ }; targets-vim = buildVimPluginFrom2Nix { - name = "targets-vim-2018-11-01"; + pname = "targets-vim"; + version = "2018-12-21"; src = fetchFromGitHub { owner = "wellle"; repo = "targets.vim"; - rev = "4a5e9c09ec2ba63c8cd16b433453e41c22efab22"; - sha256 = "1fi1mrbqk23i6vrm9i0y9b7hdvg90fpk3gr36lr7mmpqf3p902aj"; + rev = "55c9c40e47af660677725b68fcfe7e88d9985889"; + sha256 = "0jywlb5yxkyxn6vrdd3vd7q522llr2jplcl9yf97v89x3kmwpbqy"; }; }; tender-vim = buildVimPluginFrom2Nix { - name = "tender-vim-2017-03-14"; + pname = "tender-vim"; + version = "2017-03-14"; src = fetchFromGitHub { owner = "jacoborus"; repo = "tender.vim"; @@ -1521,7 +1686,8 @@ }; tern_for_vim = buildVimPluginFrom2Nix { - name = "tern_for_vim-2017-11-27"; + pname = "tern_for_vim"; + version = "2017-11-27"; src = fetchFromGitHub { owner = "ternjs"; repo = "tern_for_vim"; @@ -1531,7 +1697,8 @@ }; thumbnail-vim = buildVimPluginFrom2Nix { - name = "thumbnail-vim-2017-04-24"; + pname = "thumbnail-vim"; + version = "2017-04-24"; src = fetchFromGitHub { owner = "itchyny"; repo = "thumbnail.vim"; @@ -1541,7 +1708,8 @@ }; tlib_vim = buildVimPluginFrom2Nix { - name = "tlib_vim-2018-04-08"; + pname = "tlib_vim"; + version = "2018-04-08"; src = fetchFromGitHub { owner = "tomtom"; repo = "tlib_vim"; @@ -1551,17 +1719,19 @@ }; traces-vim = buildVimPluginFrom2Nix { - name = "traces-vim-2018-12-13"; + pname = "traces-vim"; + version = "2018-12-25"; src = fetchFromGitHub { owner = "markonm"; repo = "traces.vim"; - rev = "46e01b6159a21c89695b9d03ea3529ddc92d3b1f"; - sha256 = "0a77qx12kg4hmfz5zb2ng7lhd855gichs9qjrvich32v04qb2rwv"; + rev = "7fd6019cd817842ec45836c2cec575e3c21fedca"; + sha256 = "19pdpipng98s7kypkflfaxkhcskrppyb6714xf7y86adi1d2vly1"; }; }; tslime-vim = buildVimPluginFrom2Nix { - name = "tslime-vim-2018-07-23"; + pname = "tslime-vim"; + version = "2018-07-23"; src = fetchFromGitHub { owner = "jgdavey"; repo = "tslime.vim"; @@ -1571,17 +1741,19 @@ }; tsuquyomi = buildVimPluginFrom2Nix { - name = "tsuquyomi-2018-10-31"; + pname = "tsuquyomi"; + version = "2018-12-26"; src = fetchFromGitHub { owner = "Quramy"; repo = "tsuquyomi"; - rev = "bdd034d06ed47176ec1ee0bd3dae5bc0aeb053e3"; - sha256 = "119dxmkarbh0b0k4l59mxr19shks4mv96j3mbz02q0kdq18bgrdq"; + rev = "fd47e1ac75ee3a09e13a3b7a8f609907c2b6b542"; + sha256 = "09rivi64z7lhkan7hd7kdg2r1p3l2iplyc9vs1l6dqk3cp9i5rh0"; }; }; typescript-vim = buildVimPluginFrom2Nix { - name = "typescript-vim-2018-10-17"; + pname = "typescript-vim"; + version = "2018-10-17"; src = fetchFromGitHub { owner = "leafgarland"; repo = "typescript-vim"; @@ -1591,7 +1763,8 @@ }; ultisnips = buildVimPluginFrom2Nix { - name = "ultisnips-2018-04-30"; + pname = "ultisnips"; + version = "2018-04-30"; src = fetchFromGitHub { owner = "SirVer"; repo = "ultisnips"; @@ -1601,7 +1774,8 @@ }; undotree = buildVimPluginFrom2Nix { - name = "undotree-2018-10-15"; + pname = "undotree"; + version = "2018-10-15"; src = fetchFromGitHub { owner = "mbbill"; repo = "undotree"; @@ -1611,7 +1785,8 @@ }; unite-vim = buildVimPluginFrom2Nix { - name = "unite-vim-2018-12-14"; + pname = "unite-vim"; + version = "2018-12-14"; src = fetchFromGitHub { owner = "Shougo"; repo = "unite.vim"; @@ -1621,7 +1796,8 @@ }; verilog_systemverilog-vim = buildVimPluginFrom2Nix { - name = "verilog_systemverilog-vim-2018-12-08"; + pname = "verilog_systemverilog-vim"; + version = "2018-12-08"; src = fetchFromGitHub { owner = "vhda"; repo = "verilog_systemverilog.vim"; @@ -1631,17 +1807,19 @@ }; vim = buildVimPluginFrom2Nix { - name = "vim-2018-11-25"; + pname = "vim"; + version = "2018-12-22"; src = fetchFromGitHub { owner = "dracula"; repo = "vim"; - rev = "f24e259073994b4f76d125332954d26748fcc581"; - sha256 = "13xpw4b75ws5h2s5x2rahz39sl13pzz7h4yv3lq6azw9m2msy0v6"; + rev = "88b2e4086966a36beebd146b67f83e19079142c9"; + sha256 = "14l1vkja1179b10ikg7i39z4vi5zm1c5call54sa5jb5c68fjbvr"; }; }; vim-abolish = buildVimPluginFrom2Nix { - name = "vim-abolish-2018-11-25"; + pname = "vim-abolish"; + version = "2018-11-25"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-abolish"; @@ -1651,7 +1829,8 @@ }; vim-addon-actions = buildVimPluginFrom2Nix { - name = "vim-addon-actions-2018-01-18"; + pname = "vim-addon-actions"; + version = "2018-01-18"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-actions"; @@ -1661,7 +1840,8 @@ }; vim-addon-async = buildVimPluginFrom2Nix { - name = "vim-addon-async-2017-03-20"; + pname = "vim-addon-async"; + version = "2017-03-20"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-async"; @@ -1671,7 +1851,8 @@ }; vim-addon-background-cmd = buildVimPluginFrom2Nix { - name = "vim-addon-background-cmd-2015-12-11"; + pname = "vim-addon-background-cmd"; + version = "2015-12-11"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-background-cmd"; @@ -1681,7 +1862,8 @@ }; vim-addon-commenting = buildVimPluginFrom2Nix { - name = "vim-addon-commenting-2013-06-10"; + pname = "vim-addon-commenting"; + version = "2013-06-10"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-commenting"; @@ -1691,7 +1873,8 @@ }; vim-addon-completion = buildVimPluginFrom2Nix { - name = "vim-addon-completion-2015-02-10"; + pname = "vim-addon-completion"; + version = "2015-02-10"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-completion"; @@ -1701,7 +1884,8 @@ }; vim-addon-errorformats = buildVimPluginFrom2Nix { - name = "vim-addon-errorformats-2014-11-05"; + pname = "vim-addon-errorformats"; + version = "2014-11-05"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-errorformats"; @@ -1711,7 +1895,8 @@ }; vim-addon-goto-thing-at-cursor = buildVimPluginFrom2Nix { - name = "vim-addon-goto-thing-at-cursor-2012-01-10"; + pname = "vim-addon-goto-thing-at-cursor"; + version = "2012-01-10"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-goto-thing-at-cursor"; @@ -1721,7 +1906,8 @@ }; vim-addon-local-vimrc = buildVimPluginFrom2Nix { - name = "vim-addon-local-vimrc-2015-03-19"; + pname = "vim-addon-local-vimrc"; + version = "2015-03-19"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-local-vimrc"; @@ -1731,7 +1917,8 @@ }; vim-addon-manager = buildVimPluginFrom2Nix { - name = "vim-addon-manager-2018-07-27"; + pname = "vim-addon-manager"; + version = "2018-07-27"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-manager"; @@ -1741,7 +1928,8 @@ }; vim-addon-mru = buildVimPluginFrom2Nix { - name = "vim-addon-mru-2013-08-08"; + pname = "vim-addon-mru"; + version = "2013-08-08"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-mru"; @@ -1751,7 +1939,8 @@ }; vim-addon-mw-utils = buildVimPluginFrom2Nix { - name = "vim-addon-mw-utils-2018-03-09"; + pname = "vim-addon-mw-utils"; + version = "2018-03-09"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-mw-utils"; @@ -1761,7 +1950,8 @@ }; vim-addon-nix = buildVimPluginFrom2Nix { - name = "vim-addon-nix-2017-09-11"; + pname = "vim-addon-nix"; + version = "2017-09-11"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-nix"; @@ -1771,7 +1961,8 @@ }; vim-addon-other = buildVimPluginFrom2Nix { - name = "vim-addon-other-2014-07-15"; + pname = "vim-addon-other"; + version = "2014-07-15"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-other"; @@ -1781,7 +1972,8 @@ }; vim-addon-php-manual = buildVimPluginFrom2Nix { - name = "vim-addon-php-manual-2015-01-01"; + pname = "vim-addon-php-manual"; + version = "2015-01-01"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-php-manual"; @@ -1791,7 +1983,8 @@ }; vim-addon-signs = buildVimPluginFrom2Nix { - name = "vim-addon-signs-2013-04-19"; + pname = "vim-addon-signs"; + version = "2013-04-19"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-signs"; @@ -1801,7 +1994,8 @@ }; vim-addon-sql = buildVimPluginFrom2Nix { - name = "vim-addon-sql-2017-02-11"; + pname = "vim-addon-sql"; + version = "2017-02-11"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-sql"; @@ -1811,7 +2005,8 @@ }; vim-addon-syntax-checker = buildVimPluginFrom2Nix { - name = "vim-addon-syntax-checker-2017-06-26"; + pname = "vim-addon-syntax-checker"; + version = "2017-06-26"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-syntax-checker"; @@ -1821,7 +2016,8 @@ }; vim-addon-toggle-buffer = buildVimPluginFrom2Nix { - name = "vim-addon-toggle-buffer-2012-01-13"; + pname = "vim-addon-toggle-buffer"; + version = "2012-01-13"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-toggle-buffer"; @@ -1831,7 +2027,8 @@ }; vim-addon-xdebug = buildVimPluginFrom2Nix { - name = "vim-addon-xdebug-2014-08-29"; + pname = "vim-addon-xdebug"; + version = "2014-08-29"; src = fetchFromGitHub { owner = "MarcWeber"; repo = "vim-addon-xdebug"; @@ -1841,17 +2038,19 @@ }; vim-airline = buildVimPluginFrom2Nix { - name = "vim-airline-2018-12-10"; + pname = "vim-airline"; + version = "2018-12-18"; src = fetchFromGitHub { owner = "vim-airline"; repo = "vim-airline"; - rev = "e3cfd3643b0f4c9650d5eb23912fef12d88e7a60"; - sha256 = "0s7v5wfsqvq94yhgqiqr1nrfya6fvbrb5n0qwnq7shwva94pwwwr"; + rev = "72888d87ea57761f21c9f67cd0c0faa5904795eb"; + sha256 = "0k3c6p3xy6514n1n347ci4q9xjm9wwqirpdysam6f7r39crgmfhd"; }; }; vim-airline-themes = buildVimPluginFrom2Nix { - name = "vim-airline-themes-2018-11-15"; + pname = "vim-airline-themes"; + version = "2018-11-15"; src = fetchFromGitHub { owner = "vim-airline"; repo = "vim-airline-themes"; @@ -1861,7 +2060,8 @@ }; vim-android = buildVimPluginFrom2Nix { - name = "vim-android-2018-07-31"; + pname = "vim-android"; + version = "2018-07-31"; src = fetchFromGitHub { owner = "hsanson"; repo = "vim-android"; @@ -1871,7 +2071,8 @@ }; vim-anzu = buildVimPluginFrom2Nix { - name = "vim-anzu-2018-02-28"; + pname = "vim-anzu"; + version = "2018-02-28"; src = fetchFromGitHub { owner = "osyo-manga"; repo = "vim-anzu"; @@ -1881,7 +2082,8 @@ }; vim-auto-save = buildVimPluginFrom2Nix { - name = "vim-auto-save-2017-11-08"; + pname = "vim-auto-save"; + version = "2017-11-08"; src = fetchFromGitHub { owner = "907th"; repo = "vim-auto-save"; @@ -1891,17 +2093,19 @@ }; vim-autoformat = buildVimPluginFrom2Nix { - name = "vim-autoformat-2018-12-10"; + pname = "vim-autoformat"; + version = "2018-12-19"; src = fetchFromGitHub { owner = "Chiel92"; repo = "vim-autoformat"; - rev = "c203080645936e73b2124040bc963386eeb44f5e"; - sha256 = "0gzmmnzzj6hvcz216vgq46mp4lnp95f788pmhh3njq9l8rn28hd9"; + rev = "4f993fad63f98b844a5bd728c5a963c0da404e1a"; + sha256 = "12c8yqwwm7n63r3gpl5zc5qd9mq3xdzk4rj4s91ni5x6njirpjzf"; }; }; vim-bazel = buildVimPluginFrom2Nix { - name = "vim-bazel-2018-01-11"; + pname = "vim-bazel"; + version = "2018-01-11"; src = fetchFromGitHub { owner = "bazelbuild"; repo = "vim-bazel"; @@ -1911,7 +2115,8 @@ }; vim-better-whitespace = buildVimPluginFrom2Nix { - name = "vim-better-whitespace-2018-06-11"; + pname = "vim-better-whitespace"; + version = "2018-06-11"; src = fetchFromGitHub { owner = "ntpeters"; repo = "vim-better-whitespace"; @@ -1921,7 +2126,8 @@ }; vim-buffergator = buildVimPluginFrom2Nix { - name = "vim-buffergator-2018-05-02"; + pname = "vim-buffergator"; + version = "2018-05-02"; src = fetchFromGitHub { owner = "jeetsukumaran"; repo = "vim-buffergator"; @@ -1931,7 +2137,8 @@ }; vim-bufferline = buildVimPluginFrom2Nix { - name = "vim-bufferline-2016-02-09"; + pname = "vim-bufferline"; + version = "2016-02-09"; src = fetchFromGitHub { owner = "bling"; repo = "vim-bufferline"; @@ -1941,7 +2148,8 @@ }; vim-closetag = buildVimPluginFrom2Nix { - name = "vim-closetag-2018-12-08"; + pname = "vim-closetag"; + version = "2018-12-08"; src = fetchFromGitHub { owner = "alvan"; repo = "vim-closetag"; @@ -1951,17 +2159,19 @@ }; vim-codefmt = buildVimPluginFrom2Nix { - name = "vim-codefmt-2018-12-14"; + pname = "vim-codefmt"; + version = "2018-12-15"; src = fetchFromGitHub { owner = "google"; repo = "vim-codefmt"; - rev = "62c09d51dd5fda2cbd579a3c4f261bbf34a1f655"; - sha256 = "10bv35xm0qs44sff5nkp3pvvvi1fh339m4a2fcnnz2bbd0nal8dl"; + rev = "2147649088e977852c168a2173f13e0e04d555ed"; + sha256 = "17kc9zwj3flj32riqsknwik5b5fr042yr3qn7w9wqk0m2vdid4mv"; }; }; vim-coffee-script = buildVimPluginFrom2Nix { - name = "vim-coffee-script-2018-02-27"; + pname = "vim-coffee-script"; + version = "2018-02-27"; src = fetchFromGitHub { owner = "kchmck"; repo = "vim-coffee-script"; @@ -1971,7 +2181,8 @@ }; vim-colemak = buildVimPluginFrom2Nix { - name = "vim-colemak-2016-10-16"; + pname = "vim-colemak"; + version = "2016-10-16"; src = fetchFromGitHub { owner = "kalbasit"; repo = "vim-colemak"; @@ -1981,7 +2192,8 @@ }; vim-colors-solarized = buildVimPluginFrom2Nix { - name = "vim-colors-solarized-2011-05-09"; + pname = "vim-colors-solarized"; + version = "2011-05-09"; src = fetchFromGitHub { owner = "altercation"; repo = "vim-colors-solarized"; @@ -1991,7 +2203,8 @@ }; vim-colorschemes = buildVimPluginFrom2Nix { - name = "vim-colorschemes-2018-11-20"; + pname = "vim-colorschemes"; + version = "2018-11-20"; src = fetchFromGitHub { owner = "flazz"; repo = "vim-colorschemes"; @@ -2001,7 +2214,8 @@ }; vim-colorstepper = buildVimPluginFrom2Nix { - name = "vim-colorstepper-2016-01-28"; + pname = "vim-colorstepper"; + version = "2016-01-28"; src = fetchFromGitHub { owner = "jonbri"; repo = "vim-colorstepper"; @@ -2011,7 +2225,8 @@ }; vim-commentary = buildVimPluginFrom2Nix { - name = "vim-commentary-2018-07-27"; + pname = "vim-commentary"; + version = "2018-07-27"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-commentary"; @@ -2021,7 +2236,8 @@ }; vim-css-color = buildVimPluginFrom2Nix { - name = "vim-css-color-2018-11-20"; + pname = "vim-css-color"; + version = "2018-11-20"; src = fetchFromGitHub { owner = "ap"; repo = "vim-css-color"; @@ -2031,7 +2247,8 @@ }; vim-cursorword = buildVimPluginFrom2Nix { - name = "vim-cursorword-2017-10-19"; + pname = "vim-cursorword"; + version = "2017-10-19"; src = fetchFromGitHub { owner = "itchyny"; repo = "vim-cursorword"; @@ -2041,7 +2258,8 @@ }; vim-cute-python = buildVimPluginFrom2Nix { - name = "vim-cute-python-2016-04-04"; + pname = "vim-cute-python"; + version = "2016-04-04"; src = fetchFromGitHub { owner = "ehamberg"; repo = "vim-cute-python"; @@ -2051,7 +2269,8 @@ }; vim-devicons = buildVimPluginFrom2Nix { - name = "vim-devicons-2018-06-21"; + pname = "vim-devicons"; + version = "2018-06-21"; src = fetchFromGitHub { owner = "ryanoasis"; repo = "vim-devicons"; @@ -2061,7 +2280,8 @@ }; vim-dirdiff = buildVimPluginFrom2Nix { - name = "vim-dirdiff-2018-01-31"; + pname = "vim-dirdiff"; + version = "2018-01-31"; src = fetchFromGitHub { owner = "will133"; repo = "vim-dirdiff"; @@ -2071,7 +2291,8 @@ }; vim-dirvish = buildVimPluginFrom2Nix { - name = "vim-dirvish-2018-12-04"; + pname = "vim-dirvish"; + version = "2018-12-04"; src = fetchFromGitHub { owner = "justinmk"; repo = "vim-dirvish"; @@ -2081,7 +2302,8 @@ }; vim-dispatch = buildVimPluginFrom2Nix { - name = "vim-dispatch-2018-10-31"; + pname = "vim-dispatch"; + version = "2018-10-31"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-dispatch"; @@ -2091,7 +2313,8 @@ }; vim-docbk = buildVimPluginFrom2Nix { - name = "vim-docbk-2015-04-01"; + pname = "vim-docbk"; + version = "2015-04-01"; src = fetchFromGitHub { owner = "jhradilek"; repo = "vim-docbk"; @@ -2101,7 +2324,8 @@ }; vim-easy-align = buildVimPluginFrom2Nix { - name = "vim-easy-align-2017-06-03"; + pname = "vim-easy-align"; + version = "2017-06-03"; src = fetchFromGitHub { owner = "junegunn"; repo = "vim-easy-align"; @@ -2111,7 +2335,8 @@ }; vim-easygit = buildVimPluginFrom2Nix { - name = "vim-easygit-2018-07-08"; + pname = "vim-easygit"; + version = "2018-07-08"; src = fetchFromGitHub { owner = "neoclide"; repo = "vim-easygit"; @@ -2121,7 +2346,8 @@ }; vim-easymotion = buildVimPluginFrom2Nix { - name = "vim-easymotion-2018-06-04"; + pname = "vim-easymotion"; + version = "2018-06-04"; src = fetchFromGitHub { owner = "easymotion"; repo = "vim-easymotion"; @@ -2131,7 +2357,8 @@ }; vim-easytags = buildVimPluginFrom2Nix { - name = "vim-easytags-2015-07-01"; + pname = "vim-easytags"; + version = "2015-07-01"; src = fetchFromGitHub { owner = "xolox"; repo = "vim-easytags"; @@ -2141,7 +2368,8 @@ }; vim-eighties = buildVimPluginFrom2Nix { - name = "vim-eighties-2016-12-15"; + pname = "vim-eighties"; + version = "2016-12-15"; src = fetchFromGitHub { owner = "justincampbell"; repo = "vim-eighties"; @@ -2151,7 +2379,8 @@ }; vim-elixir = buildVimPluginFrom2Nix { - name = "vim-elixir-2018-12-12"; + pname = "vim-elixir"; + version = "2018-12-12"; src = fetchFromGitHub { owner = "elixir-lang"; repo = "vim-elixir"; @@ -2161,7 +2390,8 @@ }; vim-eunuch = buildVimPluginFrom2Nix { - name = "vim-eunuch-2018-09-09"; + pname = "vim-eunuch"; + version = "2018-09-09"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-eunuch"; @@ -2171,7 +2401,8 @@ }; vim-expand-region = buildVimPluginFrom2Nix { - name = "vim-expand-region-2013-08-19"; + pname = "vim-expand-region"; + version = "2013-08-19"; src = fetchFromGitHub { owner = "terryma"; repo = "vim-expand-region"; @@ -2181,7 +2412,8 @@ }; vim-extradite = buildVimPluginFrom2Nix { - name = "vim-extradite-2015-09-22"; + pname = "vim-extradite"; + version = "2015-09-22"; src = fetchFromGitHub { owner = "int3"; repo = "vim-extradite"; @@ -2191,7 +2423,8 @@ }; vim-fireplace = buildVimPluginFrom2Nix { - name = "vim-fireplace-2018-06-01"; + pname = "vim-fireplace"; + version = "2018-06-01"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-fireplace"; @@ -2201,7 +2434,8 @@ }; vim-flagship = buildVimPluginFrom2Nix { - name = "vim-flagship-2018-08-15"; + pname = "vim-flagship"; + version = "2018-08-15"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-flagship"; @@ -2211,7 +2445,8 @@ }; vim-flake8 = buildVimPluginFrom2Nix { - name = "vim-flake8-2018-09-21"; + pname = "vim-flake8"; + version = "2018-09-21"; src = fetchFromGitHub { owner = "nvie"; repo = "vim-flake8"; @@ -2221,7 +2456,8 @@ }; vim-ft-diff_fold = buildVimPluginFrom2Nix { - name = "vim-ft-diff_fold-2013-02-10"; + pname = "vim-ft-diff_fold"; + version = "2013-02-10"; src = fetchFromGitHub { owner = "thinca"; repo = "vim-ft-diff_fold"; @@ -2231,17 +2467,19 @@ }; vim-fugitive = buildVimPluginFrom2Nix { - name = "vim-fugitive-2018-11-22"; + pname = "vim-fugitive"; + version = "2018-12-26"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-fugitive"; - rev = "2564c37d0a2ade327d6381fef42d84d9fad1d057"; - sha256 = "1bwqyl644wv26ys27hxj9wx57mfp1090cmp7acd7inbxypd0bgdb"; + rev = "a1f9596d2d884e74358bc5017a73f37e34f7b04c"; + sha256 = "07am7ca8klnnq6iyp5lbqaas9lgz005rpvndcca7r5w0h45dpncw"; }; }; vim-ghost = buildVimPluginFrom2Nix { - name = "vim-ghost-2018-12-12"; + pname = "vim-ghost"; + version = "2018-12-12"; src = fetchFromGitHub { owner = "raghur"; repo = "vim-ghost"; @@ -2251,7 +2489,8 @@ }; vim-gista = buildVimPluginFrom2Nix { - name = "vim-gista-2017-02-20"; + pname = "vim-gista"; + version = "2017-02-20"; src = fetchFromGitHub { owner = "lambdalisue"; repo = "vim-gista"; @@ -2261,7 +2500,8 @@ }; vim-gitbranch = buildVimPluginFrom2Nix { - name = "vim-gitbranch-2017-05-27"; + pname = "vim-gitbranch"; + version = "2017-05-27"; src = fetchFromGitHub { owner = "itchyny"; repo = "vim-gitbranch"; @@ -2271,17 +2511,19 @@ }; vim-gitgutter = buildVimPluginFrom2Nix { - name = "vim-gitgutter-2018-12-13"; + pname = "vim-gitgutter"; + version = "2018-12-15"; src = fetchFromGitHub { owner = "airblade"; repo = "vim-gitgutter"; - rev = "5c636b128ed40f3ed926d18adb307e01dfc082f8"; - sha256 = "014ylh6cmrfw7qp6nrjz0dr4f5v09fmmfi729kpkf97lx79sd37i"; + rev = "1d422b9f98194e38bc56e54192c9bc66d95c21f1"; + sha256 = "1xv4brbhpxx23q2wklxxclzj9n1fi34m2rj0syf7ggp9fy7y50dk"; }; }; vim-github-dashboard = buildVimPluginFrom2Nix { - name = "vim-github-dashboard-2018-09-03"; + pname = "vim-github-dashboard"; + version = "2018-09-03"; src = fetchFromGitHub { owner = "junegunn"; repo = "vim-github-dashboard"; @@ -2291,17 +2533,19 @@ }; vim-go = buildVimPluginFrom2Nix { - name = "vim-go-2018-12-12"; + pname = "vim-go"; + version = "2018-12-24"; src = fetchFromGitHub { owner = "fatih"; repo = "vim-go"; - rev = "30cdcf3c1e4d0be92115f40ea3197a2effde0c27"; - sha256 = "1yszm8c1hqgs9pbdlff49yc08zg5qwvvy8plzvvd1hp6pir7q5kw"; + rev = "23409acfa8b6e4a324730108d01826f0910a8973"; + sha256 = "1ddbcwag8x26sim4aplslgmcjv8vr9smanh5939m4a1sw7lcg2xv"; }; }; vim-grammarous = buildVimPluginFrom2Nix { - name = "vim-grammarous-2018-09-13"; + pname = "vim-grammarous"; + version = "2018-09-13"; src = fetchFromGitHub { owner = "rhysd"; repo = "vim-grammarous"; @@ -2311,17 +2555,19 @@ }; vim-grepper = buildVimPluginFrom2Nix { - name = "vim-grepper-2018-11-08"; + pname = "vim-grepper"; + version = "2018-12-22"; src = fetchFromGitHub { owner = "mhinz"; repo = "vim-grepper"; - rev = "4a47e20c98eee758b905a2cd7ca29f433c08e7e7"; - sha256 = "14lwf5fmpqd0d6gywld6jmvis1r73i9ib4zlxlb3xkzx6di8kp5a"; + rev = "9b62e6bdd9de9fe027363bbde68e9e32d937cfa0"; + sha256 = "15j65qcnyfdkzyyv7504anaic891v5kvnqszcz37y5j15zjs5c02"; }; }; vim-gutentags = buildVimPluginFrom2Nix { - name = "vim-gutentags-2018-11-17"; + pname = "vim-gutentags"; + version = "2018-11-17"; src = fetchFromGitHub { owner = "ludovicchabant"; repo = "vim-gutentags"; @@ -2331,7 +2577,8 @@ }; vim-hardtime = buildVimPluginFrom2Nix { - name = "vim-hardtime-2017-03-31"; + pname = "vim-hardtime"; + version = "2017-03-31"; src = fetchFromGitHub { owner = "takac"; repo = "vim-hardtime"; @@ -2341,7 +2588,8 @@ }; vim-haskellconceal = buildVimPluginFrom2Nix { - name = "vim-haskellconceal-2017-06-15"; + pname = "vim-haskellconceal"; + version = "2017-06-15"; src = fetchFromGitHub { owner = "twinside"; repo = "vim-haskellconceal"; @@ -2351,17 +2599,19 @@ }; vim-haskellConcealPlus = buildVimPluginFrom2Nix { - name = "vim-haskellConcealPlus-2018-08-07"; + pname = "vim-haskellConcealPlus"; + version = "2018-12-26"; src = fetchFromGitHub { owner = "enomsg"; repo = "vim-haskellConcealPlus"; - rev = "12608ecab20c3eda9a89a55931397b5e020f38a4"; - sha256 = "0i75casdf20l22s1p669nfk67f10d6ry0i76bbwbn0anq66hn7n0"; + rev = "1d64dd2cdd1e99689e3d79e7ada151213acd5450"; + sha256 = "0jsfg941qdpibzcg0ypf0nvabmv1bpwgzgzda7hjy1jcai4yrw1g"; }; }; vim-hdevtools = buildVimPluginFrom2Nix { - name = "vim-hdevtools-2018-11-19"; + pname = "vim-hdevtools"; + version = "2018-11-19"; src = fetchFromGitHub { owner = "bitc"; repo = "vim-hdevtools"; @@ -2371,7 +2621,8 @@ }; vim-hier = buildVimPluginFrom2Nix { - name = "vim-hier-2011-08-27"; + pname = "vim-hier"; + version = "2011-08-27"; src = fetchFromGitHub { owner = "jceb"; repo = "vim-hier"; @@ -2381,7 +2632,8 @@ }; vim-highlightedyank = buildVimPluginFrom2Nix { - name = "vim-highlightedyank-2018-10-08"; + pname = "vim-highlightedyank"; + version = "2018-10-08"; src = fetchFromGitHub { owner = "machakann"; repo = "vim-highlightedyank"; @@ -2391,7 +2643,8 @@ }; vim-hindent = buildVimPluginFrom2Nix { - name = "vim-hindent-2018-07-31"; + pname = "vim-hindent"; + version = "2018-07-31"; src = fetchFromGitHub { owner = "alx741"; repo = "vim-hindent"; @@ -2401,7 +2654,8 @@ }; vim-hoogle = buildVimPluginFrom2Nix { - name = "vim-hoogle-2018-03-04"; + pname = "vim-hoogle"; + version = "2018-03-04"; src = fetchFromGitHub { owner = "Twinside"; repo = "vim-hoogle"; @@ -2411,7 +2665,8 @@ }; vim-husk = buildVimPluginFrom2Nix { - name = "vim-husk-2015-11-29"; + pname = "vim-husk"; + version = "2015-11-29"; src = fetchFromGitHub { owner = "vim-utils"; repo = "vim-husk"; @@ -2421,7 +2676,8 @@ }; vim-iced-coffee-script = buildVimPluginFrom2Nix { - name = "vim-iced-coffee-script-2013-12-26"; + pname = "vim-iced-coffee-script"; + version = "2013-12-26"; src = fetchFromGitHub { owner = "noc7c9"; repo = "vim-iced-coffee-script"; @@ -2431,7 +2687,8 @@ }; vim-indent-guides = buildVimPluginFrom2Nix { - name = "vim-indent-guides-2018-05-14"; + pname = "vim-indent-guides"; + version = "2018-05-14"; src = fetchFromGitHub { owner = "nathanaelkane"; repo = "vim-indent-guides"; @@ -2441,7 +2698,8 @@ }; vim-indent-object = buildVimPluginFrom2Nix { - name = "vim-indent-object-2018-04-08"; + pname = "vim-indent-object"; + version = "2018-04-08"; src = fetchFromGitHub { owner = "michaeljsmith"; repo = "vim-indent-object"; @@ -2451,7 +2709,8 @@ }; vim-ipython = buildVimPluginFrom2Nix { - name = "vim-ipython-2015-06-23"; + pname = "vim-ipython"; + version = "2015-06-23"; src = fetchFromGitHub { owner = "ivanov"; repo = "vim-ipython"; @@ -2461,7 +2720,8 @@ }; vim-isort = buildVimPluginFrom2Nix { - name = "vim-isort-2018-08-22"; + pname = "vim-isort"; + version = "2018-08-22"; src = fetchFromGitHub { owner = "fisadev"; repo = "vim-isort"; @@ -2471,7 +2731,8 @@ }; vim-jade = buildVimPluginFrom2Nix { - name = "vim-jade-2018-09-10"; + pname = "vim-jade"; + version = "2018-09-10"; src = fetchFromGitHub { owner = "digitaltoad"; repo = "vim-jade"; @@ -2481,7 +2742,8 @@ }; vim-janah = buildVimPluginFrom2Nix { - name = "vim-janah-2018-10-01"; + pname = "vim-janah"; + version = "2018-10-01"; src = fetchFromGitHub { owner = "mhinz"; repo = "vim-janah"; @@ -2491,27 +2753,30 @@ }; vim-javacomplete2 = buildVimPluginFrom2Nix { - name = "vim-javacomplete2-2018-12-14"; + pname = "vim-javacomplete2"; + version = "2018-12-25"; src = fetchFromGitHub { owner = "artur-shaik"; repo = "vim-javacomplete2"; - rev = "e896e0b249f6115a921cb27aaabdb688374d9f21"; - sha256 = "0lqhb5kgswvsni456nmskrmn9lrnxwg523x5yaylm8s71w3kv1a6"; + rev = "0d96e7344eafc0d2ce6888e629668629d6a11f70"; + sha256 = "18l0s90y3k7cbl1ql6nyhk13nbc97ll3zkzkvln9r189ckj7q1w7"; }; }; vim-javascript = buildVimPluginFrom2Nix { - name = "vim-javascript-2018-08-29"; + pname = "vim-javascript"; + version = "2018-12-23"; src = fetchFromGitHub { owner = "pangloss"; repo = "vim-javascript"; - rev = "dd84369d731bcb8feee0901cbb9b63a2b219bf28"; - sha256 = "1ca0dd4niy0lkdslgzfjp8pbr7szx6mgzax451r1c479dkmhh4cl"; + rev = "50c135735611946707d04757fdc0cde5537659ae"; + sha256 = "175w6a5x8wcssd5ix32gmyc4s4v7l4nmhhzvs28n3lwias8cm2q9"; }; }; vim-jinja = buildVimPluginFrom2Nix { - name = "vim-jinja-2016-11-16"; + pname = "vim-jinja"; + version = "2016-11-16"; src = fetchFromGitHub { owner = "lepture"; repo = "vim-jinja"; @@ -2521,7 +2786,8 @@ }; vim-jsbeautify = buildVimPluginFrom2Nix { - name = "vim-jsbeautify-2018-10-23"; + pname = "vim-jsbeautify"; + version = "2018-10-23"; src = fetchFromGitHub { owner = "maksimr"; repo = "vim-jsbeautify"; @@ -2532,7 +2798,8 @@ }; vim-jsdoc = buildVimPluginFrom2Nix { - name = "vim-jsdoc-2018-05-05"; + pname = "vim-jsdoc"; + version = "2018-05-05"; src = fetchFromGitHub { owner = "heavenshell"; repo = "vim-jsdoc"; @@ -2542,7 +2809,8 @@ }; vim-json = buildVimPluginFrom2Nix { - name = "vim-json-2018-01-10"; + pname = "vim-json"; + version = "2018-01-10"; src = fetchFromGitHub { owner = "elzr"; repo = "vim-json"; @@ -2552,7 +2820,8 @@ }; vim-jsonnet = buildVimPluginFrom2Nix { - name = "vim-jsonnet-2018-10-08"; + pname = "vim-jsonnet"; + version = "2018-10-08"; src = fetchFromGitHub { owner = "google"; repo = "vim-jsonnet"; @@ -2562,7 +2831,8 @@ }; vim-lastplace = buildVimPluginFrom2Nix { - name = "vim-lastplace-2017-06-13"; + pname = "vim-lastplace"; + version = "2017-06-13"; src = fetchFromGitHub { owner = "farmergreg"; repo = "vim-lastplace"; @@ -2572,7 +2842,8 @@ }; vim-latex-live-preview = buildVimPluginFrom2Nix { - name = "vim-latex-live-preview-2018-09-25"; + pname = "vim-latex-live-preview"; + version = "2018-09-25"; src = fetchFromGitHub { owner = "xuhdev"; repo = "vim-latex-live-preview"; @@ -2582,7 +2853,8 @@ }; vim-lawrencium = buildVimPluginFrom2Nix { - name = "vim-lawrencium-2018-11-04"; + pname = "vim-lawrencium"; + version = "2018-11-04"; src = fetchFromGitHub { owner = "ludovicchabant"; repo = "vim-lawrencium"; @@ -2592,7 +2864,8 @@ }; vim-leader-guide = buildVimPluginFrom2Nix { - name = "vim-leader-guide-2018-10-06"; + pname = "vim-leader-guide"; + version = "2018-10-06"; src = fetchFromGitHub { owner = "hecal3"; repo = "vim-leader-guide"; @@ -2602,7 +2875,8 @@ }; vim-ledger = buildVimPluginFrom2Nix { - name = "vim-ledger-2017-12-12"; + pname = "vim-ledger"; + version = "2017-12-12"; src = fetchFromGitHub { owner = "ledger"; repo = "vim-ledger"; @@ -2612,7 +2886,8 @@ }; vim-localvimrc = buildVimPluginFrom2Nix { - name = "vim-localvimrc-2018-11-06"; + pname = "vim-localvimrc"; + version = "2018-11-06"; src = fetchFromGitHub { owner = "embear"; repo = "vim-localvimrc"; @@ -2622,7 +2897,8 @@ }; vim-logreview = buildVimPluginFrom2Nix { - name = "vim-logreview-2017-07-08"; + pname = "vim-logreview"; + version = "2017-07-08"; src = fetchFromGitHub { owner = "andreshazard"; repo = "vim-logreview"; @@ -2632,7 +2908,8 @@ }; vim-maktaba = buildVimPluginFrom2Nix { - name = "vim-maktaba-2018-12-13"; + pname = "vim-maktaba"; + version = "2018-12-13"; src = fetchFromGitHub { owner = "google"; repo = "vim-maktaba"; @@ -2642,7 +2919,8 @@ }; vim-markdown = buildVimPluginFrom2Nix { - name = "vim-markdown-2018-10-24"; + pname = "vim-markdown"; + version = "2018-10-24"; src = fetchFromGitHub { owner = "plasticboy"; repo = "vim-markdown"; @@ -2652,7 +2930,8 @@ }; vim-misc = buildVimPluginFrom2Nix { - name = "vim-misc-2015-05-21"; + pname = "vim-misc"; + version = "2015-05-21"; src = fetchFromGitHub { owner = "xolox"; repo = "vim-misc"; @@ -2662,17 +2941,19 @@ }; vim-monokai-pro = buildVimPluginFrom2Nix { - name = "vim-monokai-pro-2018-12-03"; + pname = "vim-monokai-pro"; + version = "2018-12-27"; src = fetchFromGitHub { owner = "phanviet"; repo = "vim-monokai-pro"; - rev = "6c96cbc25e48de53b2b984863ab8bb722ee52d3e"; - sha256 = "1nsr3n0rz0rwsk92hwg9391plkpilcnv159q4ag4fdrjv1n2v16d"; + rev = "39fcf3b418fc3a01e604cbb5f9c08d79d7d957c0"; + sha256 = "1k0n9chmilppsiyxhz1ig0ywimbnl4qpzib6ris1cy6kjnl4mdyq"; }; }; vim-multiple-cursors = buildVimPluginFrom2Nix { - name = "vim-multiple-cursors-2018-10-16"; + pname = "vim-multiple-cursors"; + version = "2018-10-16"; src = fetchFromGitHub { owner = "terryma"; repo = "vim-multiple-cursors"; @@ -2682,17 +2963,19 @@ }; vim-nerdtree-tabs = buildVimPluginFrom2Nix { - name = "vim-nerdtree-tabs-2018-05-05"; + pname = "vim-nerdtree-tabs"; + version = "2018-12-21"; src = fetchFromGitHub { owner = "jistr"; repo = "vim-nerdtree-tabs"; - rev = "5fc6c6857028a07e8fe50f0adef28fb20218776b"; - sha256 = "051m4jb8jcc9rbafp995hmf4q6zn07bwh7anra6k1cr14i9lasaa"; + rev = "07d19f0299762669c6f93fbadb8249da6ba9de62"; + sha256 = "16iqhp5l6xvq0k8bq9ngqfhish1fwggpmvd7ni1fh5dqr00iii9x"; }; }; vim-niceblock = buildVimPluginFrom2Nix { - name = "vim-niceblock-2018-09-06"; + pname = "vim-niceblock"; + version = "2018-09-06"; src = fetchFromGitHub { owner = "kana"; repo = "vim-niceblock"; @@ -2702,7 +2985,8 @@ }; vim-nix = buildVimPluginFrom2Nix { - name = "vim-nix-2018-08-27"; + pname = "vim-nix"; + version = "2018-08-27"; src = fetchFromGitHub { owner = "LnL7"; repo = "vim-nix"; @@ -2712,7 +2996,8 @@ }; vim-obsession = buildVimPluginFrom2Nix { - name = "vim-obsession-2018-09-17"; + pname = "vim-obsession"; + version = "2018-09-17"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-obsession"; @@ -2722,7 +3007,8 @@ }; vim-one = buildVimPluginFrom2Nix { - name = "vim-one-2018-07-22"; + pname = "vim-one"; + version = "2018-07-22"; src = fetchFromGitHub { owner = "rakr"; repo = "vim-one"; @@ -2732,7 +3018,8 @@ }; vim-operator-replace = buildVimPluginFrom2Nix { - name = "vim-operator-replace-2015-02-24"; + pname = "vim-operator-replace"; + version = "2015-02-24"; src = fetchFromGitHub { owner = "kana"; repo = "vim-operator-replace"; @@ -2742,7 +3029,8 @@ }; vim-operator-surround = buildVimPluginFrom2Nix { - name = "vim-operator-surround-2018-11-01"; + pname = "vim-operator-surround"; + version = "2018-11-01"; src = fetchFromGitHub { owner = "rhysd"; repo = "vim-operator-surround"; @@ -2752,7 +3040,8 @@ }; vim-operator-user = buildVimPluginFrom2Nix { - name = "vim-operator-user-2015-02-17"; + pname = "vim-operator-user"; + version = "2015-02-17"; src = fetchFromGitHub { owner = "kana"; repo = "vim-operator-user"; @@ -2762,7 +3051,8 @@ }; vim-orgmode = buildVimPluginFrom2Nix { - name = "vim-orgmode-2018-07-25"; + pname = "vim-orgmode"; + version = "2018-07-25"; src = fetchFromGitHub { owner = "jceb"; repo = "vim-orgmode"; @@ -2772,7 +3062,8 @@ }; vim-pager = buildVimPluginFrom2Nix { - name = "vim-pager-2015-08-26"; + pname = "vim-pager"; + version = "2015-08-26"; src = fetchFromGitHub { owner = "lambdalisue"; repo = "vim-pager"; @@ -2782,7 +3073,8 @@ }; vim-pandoc = buildVimPluginFrom2Nix { - name = "vim-pandoc-2018-10-07"; + pname = "vim-pandoc"; + version = "2018-10-07"; src = fetchFromGitHub { owner = "vim-pandoc"; repo = "vim-pandoc"; @@ -2792,7 +3084,8 @@ }; vim-pandoc-after = buildVimPluginFrom2Nix { - name = "vim-pandoc-after-2017-11-21"; + pname = "vim-pandoc-after"; + version = "2017-11-21"; src = fetchFromGitHub { owner = "vim-pandoc"; repo = "vim-pandoc-after"; @@ -2802,7 +3095,8 @@ }; vim-pandoc-syntax = buildVimPluginFrom2Nix { - name = "vim-pandoc-syntax-2017-04-13"; + pname = "vim-pandoc-syntax"; + version = "2017-04-13"; src = fetchFromGitHub { owner = "vim-pandoc"; repo = "vim-pandoc-syntax"; @@ -2812,7 +3106,8 @@ }; vim-pathogen = buildVimPluginFrom2Nix { - name = "vim-pathogen-2018-12-13"; + pname = "vim-pathogen"; + version = "2018-12-13"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-pathogen"; @@ -2822,7 +3117,8 @@ }; vim-peekaboo = buildVimPluginFrom2Nix { - name = "vim-peekaboo-2017-03-20"; + pname = "vim-peekaboo"; + version = "2017-03-20"; src = fetchFromGitHub { owner = "junegunn"; repo = "vim-peekaboo"; @@ -2832,7 +3128,8 @@ }; vim-pencil = buildVimPluginFrom2Nix { - name = "vim-pencil-2017-06-14"; + pname = "vim-pencil"; + version = "2017-06-14"; src = fetchFromGitHub { owner = "reedes"; repo = "vim-pencil"; @@ -2842,7 +3139,8 @@ }; vim-plug = buildVimPluginFrom2Nix { - name = "vim-plug-2018-11-03"; + pname = "vim-plug"; + version = "2018-11-03"; src = fetchFromGitHub { owner = "junegunn"; repo = "vim-plug"; @@ -2852,7 +3150,8 @@ }; vim-plugin-AnsiEsc = buildVimPluginFrom2Nix { - name = "vim-plugin-AnsiEsc-2018-05-10"; + pname = "vim-plugin-AnsiEsc"; + version = "2018-05-10"; src = fetchFromGitHub { owner = "powerman"; repo = "vim-plugin-AnsiEsc"; @@ -2862,17 +3161,19 @@ }; vim-polyglot = buildVimPluginFrom2Nix { - name = "vim-polyglot-2018-10-10"; + pname = "vim-polyglot"; + version = "2018-12-26"; src = fetchFromGitHub { owner = "sheerun"; repo = "vim-polyglot"; - rev = "ec1c94306953b678bb36572897bd218fe6c76506"; - sha256 = "1n3s52ncmdbhygrdycrnqk9sj42413q0ah1q8a7s6q4z6zdm4scz"; + rev = "c161994e9607399a7b365ab274592bfc4f100306"; + sha256 = "19gdy7l87hm0i8jiic02v1xb3b660lsprankfgny9za8hk4kq3cq"; }; }; vim-prettyprint = buildVimPluginFrom2Nix { - name = "vim-prettyprint-2016-07-16"; + pname = "vim-prettyprint"; + version = "2016-07-16"; src = fetchFromGitHub { owner = "thinca"; repo = "vim-prettyprint"; @@ -2882,7 +3183,8 @@ }; vim-projectionist = buildVimPluginFrom2Nix { - name = "vim-projectionist-2018-10-21"; + pname = "vim-projectionist"; + version = "2018-10-21"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-projectionist"; @@ -2892,7 +3194,8 @@ }; vim-ps1 = buildVimPluginFrom2Nix { - name = "vim-ps1-2017-10-20"; + pname = "vim-ps1"; + version = "2017-10-20"; src = fetchFromGitHub { owner = "PProvost"; repo = "vim-ps1"; @@ -2902,7 +3205,8 @@ }; vim-puppet = buildVimPluginFrom2Nix { - name = "vim-puppet-2018-11-15"; + pname = "vim-puppet"; + version = "2018-11-15"; src = fetchFromGitHub { owner = "rodjek"; repo = "vim-puppet"; @@ -2912,7 +3216,8 @@ }; vim-qml = buildVimPluginFrom2Nix { - name = "vim-qml-2018-07-22"; + pname = "vim-qml"; + version = "2018-07-22"; src = fetchFromGitHub { owner = "peterhoeg"; repo = "vim-qml"; @@ -2922,7 +3227,8 @@ }; vim-quickrun = buildVimPluginFrom2Nix { - name = "vim-quickrun-2018-11-27"; + pname = "vim-quickrun"; + version = "2018-11-27"; src = fetchFromGitHub { owner = "thinca"; repo = "vim-quickrun"; @@ -2932,7 +3238,8 @@ }; vim-racer = buildVimPluginFrom2Nix { - name = "vim-racer-2018-08-26"; + pname = "vim-racer"; + version = "2018-08-26"; src = fetchFromGitHub { owner = "racer-rust"; repo = "vim-racer"; @@ -2942,7 +3249,8 @@ }; vim-repeat = buildVimPluginFrom2Nix { - name = "vim-repeat-2018-07-02"; + pname = "vim-repeat"; + version = "2018-07-02"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-repeat"; @@ -2952,7 +3260,8 @@ }; vim-rhubarb = buildVimPluginFrom2Nix { - name = "vim-rhubarb-2018-11-16"; + pname = "vim-rhubarb"; + version = "2018-11-16"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-rhubarb"; @@ -2962,7 +3271,8 @@ }; vim-ruby = buildVimPluginFrom2Nix { - name = "vim-ruby-2018-12-11"; + pname = "vim-ruby"; + version = "2018-12-11"; src = fetchFromGitHub { owner = "vim-ruby"; repo = "vim-ruby"; @@ -2972,7 +3282,8 @@ }; vim-sayonara = buildVimPluginFrom2Nix { - name = "vim-sayonara-2017-03-13"; + pname = "vim-sayonara"; + version = "2017-03-13"; src = fetchFromGitHub { owner = "mhinz"; repo = "vim-sayonara"; @@ -2982,7 +3293,8 @@ }; vim-scala = buildVimPluginFrom2Nix { - name = "vim-scala-2017-11-10"; + pname = "vim-scala"; + version = "2017-11-10"; src = fetchFromGitHub { owner = "derekwyatt"; repo = "vim-scala"; @@ -2992,7 +3304,8 @@ }; vim-scouter = buildVimPluginFrom2Nix { - name = "vim-scouter-2014-08-10"; + pname = "vim-scouter"; + version = "2014-08-10"; src = fetchFromGitHub { owner = "thinca"; repo = "vim-scouter"; @@ -3002,17 +3315,19 @@ }; vim-scriptease = buildVimPluginFrom2Nix { - name = "vim-scriptease-2018-11-03"; + pname = "vim-scriptease"; + version = "2018-12-19"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-scriptease"; - rev = "c443ccb2bc8a0e460753a45b9ed44d7722d1a070"; - sha256 = "11r8nhjydjinqffqfdb6pn1pkh4yqckjazckn9m7j4r6r2hga10h"; + rev = "386f19cd92f7b30cd830784ae22ebbe7033564aa"; + sha256 = "122bnx9j1pdgpkfph48l4zngak1hjlijbksim05iypi7sd0bvix9"; }; }; vim-sensible = buildVimPluginFrom2Nix { - name = "vim-sensible-2018-10-27"; + pname = "vim-sensible"; + version = "2018-10-27"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-sensible"; @@ -3022,7 +3337,8 @@ }; vim-signature = buildVimPluginFrom2Nix { - name = "vim-signature-2018-07-06"; + pname = "vim-signature"; + version = "2018-07-06"; src = fetchFromGitHub { owner = "kshenoy"; repo = "vim-signature"; @@ -3032,17 +3348,19 @@ }; vim-signify = buildVimPluginFrom2Nix { - name = "vim-signify-2018-11-16"; + pname = "vim-signify"; + version = "2018-12-20"; src = fetchFromGitHub { owner = "mhinz"; repo = "vim-signify"; - rev = "ea87e05e6fcbbaece63aac4e9c1c23adb881b86c"; - sha256 = "11d2xlc8j2mqx8s6h1z1pgr5dq0k2xr010qg8viw34z0pnfkah25"; + rev = "ea6db3c7df7671584df0a37a2436a919332d0b7c"; + sha256 = "0876ik4a4kxa22fwcgm9b2swnc6ngmiakhy4h0brxgmci8h0r9m2"; }; }; vim-sleuth = buildVimPluginFrom2Nix { - name = "vim-sleuth-2018-08-19"; + pname = "vim-sleuth"; + version = "2018-08-19"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-sleuth"; @@ -3052,7 +3370,8 @@ }; vim-smalls = buildVimPluginFrom2Nix { - name = "vim-smalls-2015-05-02"; + pname = "vim-smalls"; + version = "2015-05-02"; src = fetchFromGitHub { owner = "t9md"; repo = "vim-smalls"; @@ -3062,7 +3381,8 @@ }; vim-snipmate = buildVimPluginFrom2Nix { - name = "vim-snipmate-2017-04-20"; + pname = "vim-snipmate"; + version = "2017-04-20"; src = fetchFromGitHub { owner = "garbas"; repo = "vim-snipmate"; @@ -3072,7 +3392,8 @@ }; vim-snippets = buildVimPluginFrom2Nix { - name = "vim-snippets-2018-12-14"; + pname = "vim-snippets"; + version = "2018-12-14"; src = fetchFromGitHub { owner = "honza"; repo = "vim-snippets"; @@ -3082,7 +3403,8 @@ }; vim-solidity = buildVimPluginFrom2Nix { - name = "vim-solidity-2018-04-17"; + pname = "vim-solidity"; + version = "2018-04-17"; src = fetchFromGitHub { owner = "tomlion"; repo = "vim-solidity"; @@ -3092,7 +3414,8 @@ }; vim-sort-motion = buildVimPluginFrom2Nix { - name = "vim-sort-motion-2018-07-15"; + pname = "vim-sort-motion"; + version = "2018-07-15"; src = fetchFromGitHub { owner = "christoomey"; repo = "vim-sort-motion"; @@ -3102,7 +3425,8 @@ }; vim-speeddating = buildVimPluginFrom2Nix { - name = "vim-speeddating-2018-10-31"; + pname = "vim-speeddating"; + version = "2018-10-31"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-speeddating"; @@ -3112,17 +3436,19 @@ }; vim-startify = buildVimPluginFrom2Nix { - name = "vim-startify-2018-12-08"; + pname = "vim-startify"; + version = "2018-12-16"; src = fetchFromGitHub { owner = "mhinz"; repo = "vim-startify"; - rev = "5cd4faf2c681c36edfae3aa907d0ab720ff9c6e5"; - sha256 = "0zs1sxwpi24lfiaz5k5wglm642qrmd8krcv8vjrvg222jq4inhlf"; + rev = "9c26c7e8dcee2e580f137610ccde1af40a19d2bb"; + sha256 = "01km6gka0k06kppk9q3c5c1a2jlg5ibid37dv6575kfkibhri3yn"; }; }; vim-stylish-haskell = buildVimPluginFrom2Nix { - name = "vim-stylish-haskell-2018-08-31"; + pname = "vim-stylish-haskell"; + version = "2018-08-31"; src = fetchFromGitHub { owner = "nbouscal"; repo = "vim-stylish-haskell"; @@ -3132,7 +3458,8 @@ }; vim-stylishask = buildVimPluginFrom2Nix { - name = "vim-stylishask-2018-07-05"; + pname = "vim-stylishask"; + version = "2018-07-05"; src = fetchFromGitHub { owner = "alx741"; repo = "vim-stylishask"; @@ -3142,7 +3469,8 @@ }; vim-surround = buildVimPluginFrom2Nix { - name = "vim-surround-2018-07-23"; + pname = "vim-surround"; + version = "2018-07-23"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-surround"; @@ -3152,7 +3480,8 @@ }; vim-SyntaxRange = buildVimPluginFrom2Nix { - name = "vim-SyntaxRange-2018-03-09"; + pname = "vim-SyntaxRange"; + version = "2018-03-09"; src = fetchFromGitHub { owner = "inkarkat"; repo = "vim-SyntaxRange"; @@ -3162,7 +3491,8 @@ }; vim-table-mode = buildVimPluginFrom2Nix { - name = "vim-table-mode-2018-10-21"; + pname = "vim-table-mode"; + version = "2018-10-21"; src = fetchFromGitHub { owner = "dhruvasagar"; repo = "vim-table-mode"; @@ -3172,7 +3502,8 @@ }; vim-tabpagecd = buildVimPluginFrom2Nix { - name = "vim-tabpagecd-2013-11-29"; + pname = "vim-tabpagecd"; + version = "2013-11-29"; src = fetchFromGitHub { owner = "kana"; repo = "vim-tabpagecd"; @@ -3182,7 +3513,8 @@ }; vim-tbone = buildVimPluginFrom2Nix { - name = "vim-tbone-2018-06-28"; + pname = "vim-tbone"; + version = "2018-06-28"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-tbone"; @@ -3192,27 +3524,30 @@ }; vim-terraform = buildVimPluginFrom2Nix { - name = "vim-terraform-2018-11-19"; + pname = "vim-terraform"; + version = "2018-12-25"; src = fetchFromGitHub { owner = "hashivim"; repo = "vim-terraform"; - rev = "9e40fa4f0c38bd4b008a720b3e86c6726846378f"; - sha256 = "0m5bcmilz6dn67gkka183vkqakpppwgpa8zbwg8qz03fs0mdb98r"; + rev = "259481e063e79392c25f293f8459462f942dd6f9"; + sha256 = "0w3kwjd5ywnjkkc3cn765ra8mqqmxvk328b0d14b9hndyhs6v8gi"; }; }; vim-test = buildVimPluginFrom2Nix { - name = "vim-test-2018-11-22"; + pname = "vim-test"; + version = "2018-12-24"; src = fetchFromGitHub { owner = "janko-m"; repo = "vim-test"; - rev = "c4b732003d120d60a2fc009423e34d80fb212651"; - sha256 = "1s3y44lgxfivhnjkm8xx6gnqs2xqf53p1l3hbs04z07v57xfg0ml"; + rev = "fceb803bcde722b8a678251defb34f456affb3e3"; + sha256 = "0g750rrxcgxvimxcpcz9xkjgsdbwnqc3wjvw056ghyy6mvsvq0wj"; }; }; vim-textobj-multiblock = buildVimPluginFrom2Nix { - name = "vim-textobj-multiblock-2014-06-02"; + pname = "vim-textobj-multiblock"; + version = "2014-06-02"; src = fetchFromGitHub { owner = "osyo-manga"; repo = "vim-textobj-multiblock"; @@ -3222,7 +3557,8 @@ }; vim-themis = buildVimPluginFrom2Nix { - name = "vim-themis-2017-12-27"; + pname = "vim-themis"; + version = "2017-12-27"; src = fetchFromGitHub { owner = "thinca"; repo = "vim-themis"; @@ -3232,7 +3568,8 @@ }; vim-tmux-navigator = buildVimPluginFrom2Nix { - name = "vim-tmux-navigator-2018-11-03"; + pname = "vim-tmux-navigator"; + version = "2018-11-03"; src = fetchFromGitHub { owner = "christoomey"; repo = "vim-tmux-navigator"; @@ -3242,7 +3579,8 @@ }; vim-toml = buildVimPluginFrom2Nix { - name = "vim-toml-2018-11-27"; + pname = "vim-toml"; + version = "2018-11-27"; src = fetchFromGitHub { owner = "cespare"; repo = "vim-toml"; @@ -3252,7 +3590,8 @@ }; vim-trailing-whitespace = buildVimPluginFrom2Nix { - name = "vim-trailing-whitespace-2017-09-23"; + pname = "vim-trailing-whitespace"; + version = "2017-09-23"; src = fetchFromGitHub { owner = "bronson"; repo = "vim-trailing-whitespace"; @@ -3262,7 +3601,8 @@ }; vim-tsx = buildVimPluginFrom2Nix { - name = "vim-tsx-2017-03-16"; + pname = "vim-tsx"; + version = "2017-03-16"; src = fetchFromGitHub { owner = "ianks"; repo = "vim-tsx"; @@ -3272,17 +3612,19 @@ }; vim-unimpaired = buildVimPluginFrom2Nix { - name = "vim-unimpaired-2018-07-26"; + pname = "vim-unimpaired"; + version = "2018-12-20"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-unimpaired"; - rev = "d6325994b3c16ce36fd494c47dae4dab8d21a3da"; - sha256 = "0l5g3xq0azplaq3i2rblg8d61czpj47k0126zi8x48na9sj0aslv"; + rev = "9da253e92ca8444be9f67a5b0086c9213b8772e9"; + sha256 = "0s5jvc618nncsc4dzgr30nf2xfm71jpdsxq90gnxm1730fyln8f3"; }; }; vim-vinegar = buildVimPluginFrom2Nix { - name = "vim-vinegar-2018-08-06"; + pname = "vim-vinegar"; + version = "2018-08-06"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-vinegar"; @@ -3292,7 +3634,8 @@ }; vim-visualstar = buildVimPluginFrom2Nix { - name = "vim-visualstar-2015-08-27"; + pname = "vim-visualstar"; + version = "2015-08-27"; src = fetchFromGitHub { owner = "thinca"; repo = "vim-visualstar"; @@ -3302,7 +3645,8 @@ }; vim-vue = buildVimPluginFrom2Nix { - name = "vim-vue-2018-11-11"; + pname = "vim-vue"; + version = "2018-11-11"; src = fetchFromGitHub { owner = "posva"; repo = "vim-vue"; @@ -3312,17 +3656,19 @@ }; vim-wakatime = buildVimPluginFrom2Nix { - name = "vim-wakatime-2018-11-25"; + pname = "vim-wakatime"; + version = "2018-12-19"; src = fetchFromGitHub { owner = "wakatime"; repo = "vim-wakatime"; - rev = "fe33dfaf90d339ef54310c154e66970ef08c8611"; - sha256 = "1wnsld5fy464s8wfz78d27hdlmk3bimyawmvvqg7h8drm3b24zbx"; + rev = "227099fba9c60f58c520ec055c79335405d11668"; + sha256 = "011wjh5iwcp0ixbyfry2rgjiwz46dc1iilhi6zlixkf3lk2qbfih"; }; }; vim-watchdogs = buildVimPluginFrom2Nix { - name = "vim-watchdogs-2017-12-03"; + pname = "vim-watchdogs"; + version = "2017-12-03"; src = fetchFromGitHub { owner = "osyo-manga"; repo = "vim-watchdogs"; @@ -3332,7 +3678,8 @@ }; vim-wordy = buildVimPluginFrom2Nix { - name = "vim-wordy-2018-03-10"; + pname = "vim-wordy"; + version = "2018-03-10"; src = fetchFromGitHub { owner = "reedes"; repo = "vim-wordy"; @@ -3342,7 +3689,8 @@ }; vim-xdebug = buildVimPluginFrom2Nix { - name = "vim-xdebug-2012-08-15"; + pname = "vim-xdebug"; + version = "2012-08-15"; src = fetchFromGitHub { owner = "joonty"; repo = "vim-xdebug"; @@ -3352,7 +3700,8 @@ }; vim-xkbswitch = buildVimPluginFrom2Nix { - name = "vim-xkbswitch-2017-03-27"; + pname = "vim-xkbswitch"; + version = "2017-03-27"; src = fetchFromGitHub { owner = "lyokha"; repo = "vim-xkbswitch"; @@ -3362,7 +3711,8 @@ }; vim-yapf = buildVimPluginFrom2Nix { - name = "vim-yapf-2018-10-04"; + pname = "vim-yapf"; + version = "2018-10-04"; src = fetchFromGitHub { owner = "mindriot101"; repo = "vim-yapf"; @@ -3372,7 +3722,8 @@ }; vim2hs = buildVimPluginFrom2Nix { - name = "vim2hs-2014-04-16"; + pname = "vim2hs"; + version = "2014-04-16"; src = fetchFromGitHub { owner = "dag"; repo = "vim2hs"; @@ -3382,7 +3733,8 @@ }; vimoutliner = buildVimPluginFrom2Nix { - name = "vimoutliner-2018-07-04"; + pname = "vimoutliner"; + version = "2018-07-04"; src = fetchFromGitHub { owner = "vimoutliner"; repo = "vimoutliner"; @@ -3392,7 +3744,8 @@ }; vimpreviewpandoc = buildVimPluginFrom2Nix { - name = "vimpreviewpandoc-2018-11-05"; + pname = "vimpreviewpandoc"; + version = "2018-11-05"; src = fetchFromGitHub { owner = "tex"; repo = "vimpreviewpandoc"; @@ -3402,7 +3755,8 @@ }; vimproc-vim = buildVimPluginFrom2Nix { - name = "vimproc-vim-2018-10-11"; + pname = "vimproc-vim"; + version = "2018-10-11"; src = fetchFromGitHub { owner = "Shougo"; repo = "vimproc.vim"; @@ -3412,7 +3766,8 @@ }; vimshell-vim = buildVimPluginFrom2Nix { - name = "vimshell-vim-2018-06-02"; + pname = "vimshell-vim"; + version = "2018-06-02"; src = fetchFromGitHub { owner = "Shougo"; repo = "vimshell.vim"; @@ -3422,17 +3777,19 @@ }; vimtex = buildVimPluginFrom2Nix { - name = "vimtex-2018-12-12"; + pname = "vimtex"; + version = "2018-12-25"; src = fetchFromGitHub { owner = "lervag"; repo = "vimtex"; - rev = "6165a4421e7605a96d9b6c83f3ac853bf2f90a03"; - sha256 = "01yp79w53wyxqjd1dnba069pmj1b56nl52x2r3mfzzldm1p5gx4k"; + rev = "0746f21c2311acfec7c7c23bd122ea4eb3eacb4b"; + sha256 = "0hga30q6b6v6mdzbqbqr6j6i7fdg4i0igpi2gwvx70a2x68d7ybk"; }; }; vimux = buildVimPluginFrom2Nix { - name = "vimux-2017-10-24"; + pname = "vimux"; + version = "2017-10-24"; src = fetchFromGitHub { owner = "benmills"; repo = "vimux"; @@ -3442,7 +3799,8 @@ }; vimwiki = buildVimPluginFrom2Nix { - name = "vimwiki-2018-10-12"; + pname = "vimwiki"; + version = "2018-10-12"; src = fetchFromGitHub { owner = "vimwiki"; repo = "vimwiki"; @@ -3452,7 +3810,8 @@ }; vissort-vim = buildVimPluginFrom2Nix { - name = "vissort-vim-2014-01-31"; + pname = "vissort-vim"; + version = "2014-01-31"; src = fetchFromGitHub { owner = "navicore"; repo = "vissort.vim"; @@ -3462,7 +3821,8 @@ }; vundle = buildVimPluginFrom2Nix { - name = "vundle-2018-02-03"; + pname = "vundle"; + version = "2018-02-03"; src = fetchFromGitHub { owner = "gmarik"; repo = "vundle"; @@ -3472,7 +3832,8 @@ }; wal-vim = buildVimPluginFrom2Nix { - name = "wal-vim-2018-06-04"; + pname = "wal-vim"; + version = "2018-06-04"; src = fetchFromGitHub { owner = "dylanaraps"; repo = "wal.vim"; @@ -3482,7 +3843,8 @@ }; webapi-vim = buildVimPluginFrom2Nix { - name = "webapi-vim-2018-03-14"; + pname = "webapi-vim"; + version = "2018-03-14"; src = fetchFromGitHub { owner = "mattn"; repo = "webapi-vim"; @@ -3492,7 +3854,8 @@ }; wombat256-vim = buildVimPluginFrom2Nix { - name = "wombat256-vim-2010-10-18"; + pname = "wombat256-vim"; + version = "2010-10-18"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "wombat256.vim"; @@ -3502,7 +3865,8 @@ }; workflowish = buildVimPluginFrom2Nix { - name = "workflowish-2015-12-03"; + pname = "workflowish"; + version = "2015-12-03"; src = fetchFromGitHub { owner = "lukaszkorecki"; repo = "workflowish"; @@ -3512,7 +3876,8 @@ }; xptemplate = buildVimPluginFrom2Nix { - name = "xptemplate-2017-12-06"; + pname = "xptemplate"; + version = "2017-12-06"; src = fetchFromGitHub { owner = "drmingdrmer"; repo = "xptemplate"; @@ -3522,7 +3887,8 @@ }; xterm-color-table-vim = buildVimPluginFrom2Nix { - name = "xterm-color-table-vim-2014-01-01"; + pname = "xterm-color-table-vim"; + version = "2014-01-01"; src = fetchFromGitHub { owner = "guns"; repo = "xterm-color-table.vim"; @@ -3532,7 +3898,8 @@ }; YankRing-vim = buildVimPluginFrom2Nix { - name = "YankRing-vim-2015-07-29"; + pname = "YankRing-vim"; + version = "2015-07-29"; src = fetchFromGitHub { owner = "vim-scripts"; repo = "YankRing.vim"; @@ -3542,7 +3909,8 @@ }; yats-vim = buildVimPluginFrom2Nix { - name = "yats-vim-2018-12-15"; + pname = "yats-vim"; + version = "2018-12-15"; src = fetchFromGitHub { owner = "HerringtonDarkholme"; repo = "yats.vim"; @@ -3553,18 +3921,20 @@ }; youcompleteme = buildVimPluginFrom2Nix { - name = "youcompleteme-2018-12-12"; + pname = "youcompleteme"; + version = "2018-12-23"; src = fetchFromGitHub { owner = "valloric"; repo = "youcompleteme"; - rev = "0790dc99b441f3c12fb205faf56054ccf0f4c234"; - sha256 = "0nc629x7gsqqjmdy2psj7x3z1py3hksifwbf3fq9m9kr23zhl6ql"; + rev = "7997fc5536e8220ed2798c5522a1eb4421577fa2"; + sha256 = "1662js5dpspmrak92zwy8751qfd1pkp5q7xgw2m6c76ccvv88c5p"; fetchSubmodules = true; }; }; YUNOcommit-vim = buildVimPluginFrom2Nix { - name = "YUNOcommit-vim-2014-11-26"; + pname = "YUNOcommit-vim"; + version = "2014-11-26"; src = fetchFromGitHub { owner = "esneider"; repo = "YUNOcommit.vim"; @@ -3574,7 +3944,8 @@ }; zeavim-vim = buildVimPluginFrom2Nix { - name = "zeavim-vim-2018-03-22"; + pname = "zeavim-vim"; + version = "2018-03-22"; src = fetchFromGitHub { owner = "KabbAmine"; repo = "zeavim.vim"; @@ -3584,7 +3955,8 @@ }; zenburn = buildVimPluginFrom2Nix { - name = "zenburn-2018-04-29"; + pname = "zenburn"; + version = "2018-04-29"; src = fetchFromGitHub { owner = "jnurmine"; repo = "zenburn"; @@ -3594,7 +3966,8 @@ }; zig-vim = buildVimPluginFrom2Nix { - name = "zig-vim-2018-12-12"; + pname = "zig-vim"; + version = "2018-12-12"; src = fetchFromGitHub { owner = "zig-lang"; repo = "zig.vim"; @@ -3604,7 +3977,8 @@ }; zoomwintab-vim = buildVimPluginFrom2Nix { - name = "zoomwintab-vim-2018-04-14"; + pname = "zoomwintab-vim"; + version = "2018-04-14"; src = fetchFromGitHub { owner = "troydm"; repo = "zoomwintab.vim"; @@ -3612,4 +3986,6 @@ sha256 = "04pv7mmlz9ccgzfg8sycqxplaxpbyh7pmhwcw47b2xwnazjz49d6"; }; }; -} \ No newline at end of file +}); + +in lib.fix' (lib.extends overrides packages) diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix index e7d95fb50b5..307681111ac 100644 --- a/pkgs/misc/vim-plugins/overrides.nix +++ b/pkgs/misc/vim-plugins/overrides.nix @@ -1,10 +1,9 @@ -{config, lib, stdenv -, python, cmake, vim, vimUtils, ruby +{ lib, stdenv +, python, cmake, vim, ruby , which, fetchgit, llvmPackages, rustPlatform , xkb_switch, fzf, skim , python3, boost, icu, ncurses , ycmd, rake -, pythonPackages, python3Packages , substituteAll , languagetool , Cocoa, CoreFoundation, CoreServices @@ -17,34 +16,22 @@ , impl, iferr, gocode, gocode-gomod, go-tools }: -let - - _skim = skim; - -in - -generated: - -with generated; - -{ +self: super: { vim2nix = buildVimPluginFrom2Nix { name = "vim2nix"; src = ./vim2nix; - dependencies = ["vim-addon-manager"]; + dependencies = with super; [ vim-addon-manager ]; }; fzfWrapper = buildVimPluginFrom2Nix { name = fzf.name; src = fzf.src; - dependencies = []; }; skim = buildVimPluginFrom2Nix { - name = _skim.name; - src = _skim.vim; - dependencies = []; + name = skim.name; + src = skim.vim; }; LanguageClient-neovim = let @@ -70,7 +57,6 @@ with generated; name = "LanguageClient-neovim-2018-09-07"; src = LanguageClient-neovim-src; - dependencies = []; propogatedBuildInputs = [ LanguageClient-neovim-bin ]; preFixup = '' @@ -87,10 +73,9 @@ with generated; rev = "69cce66defdf131958f152ea7a7b26c21ca9d009"; sha256 = "1363b2fmv69axrl2hm74dmx51cqd8k7rk116890qllnapzw1zjgc"; }; - dependencies = []; }; - clang_complete = clang_complete.overrideAttrs(old: { + clang_complete = super.clang_complete.overrideAttrs(old: { # 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). @@ -107,14 +92,14 @@ with generated; ''; }); - clighter8 = clighter8.overrideAttrs(old: { + clighter8 = super.clighter8.overrideAttrs(old: { preFixup = '' sed "/^let g:clighter8_libclang_path/s|')$|${llvmPackages.clang.cc.lib}/lib/libclang.so')|" \ -i "$out"/share/vim-plugins/clighter8/plugin/clighter8.vim ''; }); - command-t = command-t.overrideAttrs(old: { + command-t = super.command-t.overrideAttrs(old: { buildInputs = [ ruby rake ]; buildPhase = '' rake make @@ -122,7 +107,7 @@ with generated; ''; }); - cpsm = cpsm.overrideAttrs(old: { + cpsm = super.cpsm.overrideAttrs(old: { buildInputs = [ python3 stdenv @@ -138,7 +123,7 @@ with generated; ''; }); - ctrlp-cmatcher = ctrlp-cmatcher.overrideAttrs(old: { + ctrlp-cmatcher = super.ctrlp-cmatcher.overrideAttrs(old: { buildInputs = [ python ]; buildPhase = '' patchShebangs . @@ -146,7 +131,7 @@ with generated; ''; }); - deoplete-go = deoplete-go.overrideAttrs(old: { + deoplete-go = super.deoplete-go.overrideAttrs(old: { buildInputs = [ python3 ]; buildPhase = '' pushd ./rplugin/python3/deoplete/ujson @@ -156,114 +141,106 @@ with generated; ''; }); - ensime-vim = ensime-vim.overrideAttrs(old: { + ensime-vim = super.ensime-vim.overrideAttrs(old: { passthru.python3Dependencies = ps: with ps; [ sexpdata websocket_client ]; - dependencies = ["vimproc" "vimshell" "self" "forms"]; + dependencies = with super; [ vimproc-vim vimshell-vim super.self forms ]; }); - forms = forms.overrideAttrs(old: { - dependencies = ["self"]; + forms = super.forms.overrideAttrs(old: { + dependencies = with super; [ super.self ]; }); - gist-vim = gist-vim.overrideAttrs(old: { - dependencies = ["webapi-vim"]; + gist-vim = super.gist-vim.overrideAttrs(old: { + dependencies = with super; [ webapi-vim ]; }); - gitv = gitv.overrideAttrs(old: { - dependencies = ["gitv"]; + ncm2 = super.ncm2.overrideAttrs(old: { + dependencies = with super; [ nvim-yarp ]; }); - ncm2 = ncm2.overrideAttrs(old: { - dependencies = ["nvim-yarp"]; + ncm2-jedi = super.ncm2-jedi.overrideAttrs(old: { + dependencies = with super; [ nvim-yarp ncm2 ]; + passthru.python3Dependencies = ps: with ps; [ jedi ]; }); - ncm2-ultisnips = ncm2-ultisnips.overrideAttrs(old: { - dependencies = ["ultisnips"]; + ncm2-ultisnips = super.ncm2-ultisnips.overrideAttrs(old: { + dependencies = with super; [ ultisnips ]; }); - taglist-vim = taglist-vim.overrideAttrs(old: { - setSourceRoot = '' - export sourceRoot=taglist - mkdir taglist - mv doc taglist - mv plugin taglist - ''; + vimshell-vim = super.vimshell-vim.overrideAttrs(old: { + dependencies = with super; [ vimproc-vim ]; }); - vimshell-vim = vimshell-vim.overrideAttrs(old: { - dependencies = [ "vimproc-vim" ]; - }); - - vim-addon-manager = vim-addon-manager.overrideAttrs(old: { + vim-addon-manager = super.vim-addon-manager.overrideAttrs(old: { buildInputs = stdenv.lib.optional stdenv.isDarwin Cocoa; }); - vim-addon-actions = vim-addon-actions.overrideAttrs(old: { - dependencies = [ "vim-addon-mw-utils" "tlib" ]; + vim-addon-actions = super.vim-addon-actions.overrideAttrs(old: { + dependencies = with super; [ vim-addon-mw-utils tlib_vim ]; }); - vim-addon-async = vim-addon-async.overrideAttrs(old: { - dependencies = [ "vim-addon-signs" ]; + vim-addon-async = super.vim-addon-async.overrideAttrs(old: { + dependencies = with super; [ vim-addon-signs ]; }); - vim-addon-background-cmd = vim-addon-background-cmd.overrideAttrs(old: { - dependencies = [ "vim-addon-mw-utils" ]; + vim-addon-background-cmd = super.vim-addon-background-cmd.overrideAttrs(old: { + dependencies = with super; [ vim-addon-mw-utils ]; }); - vim-addon-completion = vim-addon-completion.overrideAttrs(old: { - dependencies = [ "tlib" ]; + vim-addon-completion = super.vim-addon-completion.overrideAttrs(old: { + dependencies = with super; [ tlib_vim ]; }); - vim-addon-goto-thing-at-cursor = vim-addon-goto-thing-at-cursor.overrideAttrs(old: { - dependencies = [ "tlib" ]; + vim-addon-goto-thing-at-cursor = super.vim-addon-goto-thing-at-cursor.overrideAttrs(old: { + dependencies = with super; [ tlib_vim ]; }); - vim-addon-mru = vim-addon-mru.overrideAttrs(old: { - dependencies = ["vim-addon-other" "vim-addon-mw-utils"]; + vim-addon-mru = super.vim-addon-mru.overrideAttrs(old: { + dependencies = with super; [ vim-addon-other vim-addon-mw-utils ]; }); - vim-addon-nix = vim-addon-nix.overrideAttrs(old: { - dependencies = [ - "vim-addon-completion" - "vim-addon-goto-thing-at-cursor" - "vim-addon-errorformats" - "vim-addon-actions" - "vim-addon-mw-utils" "tlib" + vim-addon-nix = super.vim-addon-nix.overrideAttrs(old: { + dependencies = with super; [ + vim-addon-completion + vim-addon-goto-thing-at-cursor + vim-addon-errorformats + vim-addon-actions + vim-addon-mw-utils tlib_vim ]; }); - vim-addon-sql = vim-addon-sql.overrideAttrs(old: { - dependencies = ["vim-addon-completion" "vim-addon-background-cmd" "tlib"]; + vim-addon-sql = super.vim-addon-sql.overrideAttrs(old: { + dependencies = with super; [ vim-addon-completion vim-addon-background-cmd tlib_vim ]; }); - vim-addon-syntax-checker = vim-addon-syntax-checker.overrideAttrs(old: { - dependencies = ["vim-addon-mw-utils" "tlib"]; + vim-addon-syntax-checker = super.vim-addon-syntax-checker.overrideAttrs(old: { + dependencies = with super; [ vim-addon-mw-utils tlib_vim ]; }); - vim-addon-toggle-buffer = vim-addon-toggle-buffer.overrideAttrs(old: { - dependencies = [ "vim-addon-mw-utils" "tlib" ]; + vim-addon-toggle-buffer = super.vim-addon-toggle-buffer.overrideAttrs(old: { + dependencies = with super; [ vim-addon-mw-utils tlib_vim ]; }); - vim-addon-xdebug = vim-addon-xdebug.overrideAttrs(old: { - dependencies = [ "WebAPI" "vim-addon-mw-utils" "vim-addon-signs" "vim-addon-async" ]; + vim-addon-xdebug = super.vim-addon-xdebug.overrideAttrs(old: { + dependencies = with super; [ webapi-vim vim-addon-mw-utils vim-addon-signs vim-addon-async ]; }); - vim-bazel = vim-bazel.overrideAttrs(old: { - dependencies = ["maktaba"]; + vim-bazel = super.vim-bazel.overrideAttrs(old: { + dependencies = with super; [ vim-maktaba ]; }); - vim-codefmt = vim-codefmt.overrideAttrs(old: { - dependencies = ["maktaba"]; + vim-codefmt = super.vim-codefmt.overrideAttrs(old: { + dependencies = with super; [ vim-maktaba ]; }); - vim-easytags = vim-easytags.overrideAttrs(old: { - dependencies = ["vim-misc"]; + vim-easytags = super.vim-easytags.overrideAttrs(old: { + dependencies = with super; [ vim-misc ]; }); # change the go_bin_path to point to a path in the nix store. See the code in # fatih/vim-go here # https://github.com/fatih/vim-go/blob/155836d47052ea9c9bac81ba3e937f6f22c8e384/autoload/go/path.vim#L154-L159 - vim-go = vim-go.overrideAttrs(old: let + vim-go = super.vim-go.overrideAttrs(old: let binPath = lib.makeBinPath [ asmfmt delve @@ -291,7 +268,7 @@ with generated; ''; }); - vim-grammarous = vim-grammarous.overrideAttrs(old: { + vim-grammarous = super.vim-grammarous.overrideAttrs(old: { # use `:GrammarousCheck` to initialize checking # In neovim, you also want to use set # let g:grammarous#show_first_error = 1 @@ -304,31 +281,31 @@ with generated; ]; }); - vim-hier = vim-hier.overrideAttrs(old: { + vim-hier = super.vim-hier.overrideAttrs(old: { buildInputs = [ vim ]; }); - vim-isort = vim-isort.overrideAttrs(old: { + vim-isort = super.vim-isort.overrideAttrs(old: { postPatch = '' substituteInPlace ftplugin/python_vimisort.vim \ - --replace 'import vim' 'import vim; import sys; sys.path.append("${pythonPackages.isort}/${python.sitePackages}")' + --replace 'import vim' 'import vim; import sys; sys.path.append("${python.pkgs.isort}/${python.sitePackages}")' ''; }); - vim-snipmate = vim-snipmate.overrideAttrs(old: { - dependencies = ["vim-addon-mw-utils" "tlib"]; + vim-snipmate = super.vim-snipmate.overrideAttrs(old: { + dependencies = with super; [ vim-addon-mw-utils tlib_vim ]; }); - vim-wakatime = vim-wakatime.overrideAttrs(old: { + vim-wakatime = super.vim-wakatime.overrideAttrs(old: { buildInputs = [ python ]; }); - vim-xdebug = vim-xdebug.overrideAttrs(old: { + vim-xdebug = super.vim-xdebug.overrideAttrs(old: { postInstall = false; }); - vim-xkbswitch = vim-xkbswitch.overrideAttrs(old: { + vim-xkbswitch = super.vim-xkbswitch.overrideAttrs(old: { patchPhase = '' substituteInPlace plugin/xkbswitch.vim \ --replace /usr/local/lib/libxkbswitch.so ${xkb_switch}/lib/libxkbswitch.so @@ -336,14 +313,14 @@ with generated; buildInputs = [ xkb_switch ]; }); - vim-yapf = vim-yapf.overrideAttrs(old: { + vim-yapf = super.vim-yapf.overrideAttrs(old: { buildPhase = '' substituteInPlace ftplugin/python_yapf.vim \ - --replace '"yapf"' '"${python3Packages.yapf}/bin/yapf"' + --replace '"yapf"' '"${python3.pkgs.yapf}/bin/yapf"' ''; }); - vimproc-vim = vimproc-vim.overrideAttrs(old: { + vimproc-vim = super.vimproc-vim.overrideAttrs(old: { buildInputs = [ which ]; buildPhase = '' @@ -355,11 +332,11 @@ with generated; ''; }); - YankRing-vim = YankRing-vim.overrideAttrs(old: { + YankRing-vim = super.YankRing-vim.overrideAttrs(old: { sourceRoot = "."; }); - youcompleteme = youcompleteme.overrideAttrs(old: { + youcompleteme = super.youcompleteme.overrideAttrs(old: { buildPhase = '' substituteInPlace plugin/youcompleteme.vim \ --replace "'ycm_path_to_python_interpreter', '''" \ @@ -378,9 +355,9 @@ with generated; }; }); - jedi-vim = jedi-vim.overrideAttrs(old: { + jedi-vim = super.jedi-vim.overrideAttrs(old: { # checking for python3 support in vim would be neat, too, but nobody else seems to care - buildInputs = [ python3Packages.jedi ]; + buildInputs = [ python3.pkgs.jedi ]; meta = { description = "code-completion for python using python-jedi"; license = stdenv.lib.licenses.mit; diff --git a/pkgs/misc/vim-plugins/update.py b/pkgs/misc/vim-plugins/update.py index 3f5e255ae21..1062241a0cb 100755 --- a/pkgs/misc/vim-plugins/update.py +++ b/pkgs/misc/vim-plugins/update.py @@ -309,7 +309,8 @@ def generate_nix(plugins: List[Tuple[str, str, Plugin]]): f.write( f""" {plugin.normalized_name} = buildVimPluginFrom2Nix {{ - name = "{plugin.normalized_name}-{plugin.version}"; + pname = "{plugin.normalized_name}"; + version = "{plugin.version}"; src = fetchFromGitHub {{ owner = "{owner}"; repo = "{repo}"; diff --git a/pkgs/misc/vim-plugins/vim-plugin-names b/pkgs/misc/vim-plugins/vim-plugin-names index 7bb07aa3e9d..0fa61a82e3e 100644 --- a/pkgs/misc/vim-plugins/vim-plugin-names +++ b/pkgs/misc/vim-plugins/vim-plugin-names @@ -197,6 +197,7 @@ navicore/vissort.vim nbouscal/vim-stylish-haskell ncm2/ncm2 ncm2/ncm2-bufword +ncm2/ncm2-jedi ncm2/ncm2-path ncm2/ncm2-tmux ncm2/ncm2-ultisnips diff --git a/pkgs/misc/vim-plugins/vim-utils.nix b/pkgs/misc/vim-plugins/vim-utils.nix index 7122e2a4230..1d305cd5349 100644 --- a/pkgs/misc/vim-plugins/vim-utils.nix +++ b/pkgs/misc/vim-plugins/vim-utils.nix @@ -150,23 +150,35 @@ vim_with_plugins can be installed like any other application within Nix. let inherit (stdenv) lib; - toNames = x: + # transitive closure of plugin dependencies + transitiveClosure = knownPlugins: plugin: + let + # vam puts out a list of strings as the dependency list, we need to be able to deal with that. + # Because of that, "plugin" may be a string or a derivation. If it is a string, it is resolved + # using `knownPlugins`. Otherwise `knownPlugins` can be null. + knownPlugins' = if knownPlugins == null then vimPlugins else knownPlugins; + pluginDrv = if builtins.isString plugin then knownPlugins'.${plugin} else plugin; + in + [ pluginDrv ] ++ ( + lib.unique (builtins.concatLists (map (transitiveClosure knownPlugins) pluginDrv.dependencies or [])) + ); + + findDependenciesRecursively = knownPlugins: plugins: lib.concatMap (transitiveClosure knownPlugins) plugins; + + attrnamesToPlugins = { knownPlugins, names }: + map (name: if builtins.isString name then knownPlugins.${name} else name) knownPlugins; + + pluginToAttrname = plugin: + plugin.pname; + + pluginsToAttrnames = plugins: map pluginToAttrname plugins; + + vamDictToNames = x: if builtins.isString x then [x] else (lib.optional (x ? name) x.name) ++ (x.names or []); - findDependenciesRecursively = {knownPlugins, names}: - let depsOf = name: (builtins.getAttr name knownPlugins).dependencies or []; - - recurseNames = path: names: lib.concatMap (name: recurse ([name]++path)) names; - - recurse = path: - let name = builtins.head path; - in if builtins.elem name (builtins.tail path) - then throw "recursive vim dependencies" - else [name] ++ recurseNames path (depsOf name); - - in lib.uniqList { inputList = recurseNames [] names; }; + rtpPath = "share/vim-plugins"; vimrcFile = { packages ? null, @@ -183,11 +195,11 @@ let (let knownPlugins = pathogen.knownPlugins or vimPlugins; - plugins = map (name: knownPlugins.${name}) (findDependenciesRecursively { inherit knownPlugins; names = pathogen.pluginNames; }); + plugins = findDependenciesRecursively knownPlugins pathogen.pluginNames; pluginsEnv = buildEnv { name = "pathogen-plugin-env"; - paths = map (x: "${x}/${vimPlugins.rtpPath}") plugins; + paths = map (x: "${x}/${rtpPath}") plugins; }; in '' @@ -228,7 +240,7 @@ let (let knownPlugins = vam.knownPlugins or vimPlugins; - names = findDependenciesRecursively { inherit knownPlugins; names = lib.concatMap toNames vam.pluginDictionaries; }; + plugins = findDependenciesRecursively knownPlugins (lib.concatMap vamDictToNames vam.pluginDictionaries); # Vim almost reads JSON, so eventually JSON support should be added to Nix # TODO: proper quoting @@ -242,9 +254,9 @@ let in assert builtins.hasAttr "vim-addon-manager" knownPlugins; '' let g:nix_plugin_locations = {} - ${lib.concatMapStrings (name: '' - let g:nix_plugin_locations['${name}'] = "${knownPlugins.${name}.rtp}" - '') names} + ${lib.concatMapStrings (plugin: '' + let g:nix_plugin_locations['${plugin.pname}'] = "${plugin.rtp}" + '') plugins} let g:nix_plugin_locations['vim-addon-manager'] = "${knownPlugins."vim-addon-manager".rtp}" let g:vim_addon_manager = {} @@ -281,8 +293,18 @@ let (let link = (packageName: dir: pluginPath: "ln -sf ${pluginPath}/share/vim-plugins/* $out/pack/${packageName}/${dir}"); packageLinks = (packageName: {start ? [], opt ? []}: + let + # `nativeImpl` expects packages to be derivations, not strings (as + # opposed to older implementations that have to maintain backwards + # compatibility). Therefore we don't need to deal with "knownPlugins" + # and can simply pass `null`. + depsOfOptionalPlugins = lib.subtractLists opt (findDependenciesRecursively null opt); + startWithDeps = findDependenciesRecursively null start; + in ["mkdir -p $out/pack/${packageName}/start"] - ++ (builtins.map (link packageName "start") start) + # To avoid confusion, even dependencies of optional plugins are added + # to `start` (except if they are explicitly listed as optional plugins). + ++ (builtins.map (link packageName "start") (lib.unique (startWithDeps ++ depsOfOptionalPlugins))) ++ ["mkdir -p $out/pack/${packageName}/opt"] ++ (builtins.map (link packageName "opt") opt) ); @@ -381,61 +403,9 @@ rec { ''; }; - rtpPath = "share/vim-plugins"; - - vimHelpTags = '' - vimHelpTags(){ - if [ -d "$1/doc" ]; then - ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -c "helptags $1/doc" +quit! || echo "docs to build failed" - fi - } - ''; - - addRtp = path: attrs: derivation: - derivation // { rtp = "${derivation}/${path}"; } // { - overrideAttrs = f: buildVimPlugin (attrs // f attrs); - }; - - buildVimPlugin = a@{ - name, - namePrefix ? "vimplugin-", - src, - unpackPhase ? "", - configurePhase ? "", - buildPhase ? "", - preInstall ? "", - postInstall ? "", - path ? (builtins.parseDrvName name).name, - addonInfo ? null, - ... - }: - addRtp "${rtpPath}/${path}" a (stdenv.mkDerivation (a // { - name = namePrefix + name; - - inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall; - - installPhase = '' - runHook preInstall - - target=$out/${rtpPath}/${path} - mkdir -p $out/${rtpPath} - cp -r . $target - ${vimHelpTags} - vimHelpTags $target - if [ -n "$addonInfo" ]; then - echo "$addonInfo" > $target/addon-info.json - fi - - runHook postInstall - ''; - })); - vim_with_vim2nix = vim_configurable.customize { name = "vim"; vimrcConfig.vam.pluginDictionaries = [ "vim-addon-vim2nix" ]; }; - buildVimPluginFrom2Nix = a: buildVimPlugin ({ - buildPhase = ":"; - configurePhase =":"; - } // a); + inherit (import ./build-vim-plugin.nix { inherit stdenv rtpPath vim; }) buildVimPlugin buildVimPluginFrom2Nix; requiredPlugins = { packages ? {}, @@ -450,13 +420,13 @@ rec { if vam != null && vam ? knownPlugins then vam.knownPlugins else if pathogen != null && pathogen ? knownPlugins then pathogen.knownPlugins else vimPlugins; - pathogenNames = map (name: knownPlugins.${name}) (findDependenciesRecursively { inherit knownPlugins; names = pathogen.pluginNames; }); - vamNames = findDependenciesRecursively { inherit knownPlugins; names = lib.concatMap toNames vam.pluginDictionaries; }; + pathogenNames = findDependenciesRecursively knownPlugins pathogen.pluginNames; + vamNames = findDependenciesRecursively knownPlugins (lib.concatMap vamDictToNames vam.pluginDictionaries); names = (lib.optionals (pathogen != null) pathogenNames) ++ (lib.optionals (vam != null) vamNames); nonNativePlugins = map (name: knownPlugins.${name}) names ++ (lib.optionals (plug != null) plug.plugins); nativePluginsConfigs = lib.attrsets.attrValues packages; - nativePlugins = lib.concatMap ({start?[], opt?[]}: start++opt) nativePluginsConfigs; + nativePlugins = lib.concatMap ({start?[], opt?[], knownPlugins?vimPlugins}: start++opt) nativePluginsConfigs; in nativePlugins ++ nonNativePlugins;