Merge pull request #83119 from ryneeverett/vim-plugins-update-redirects
VimPlugins: update redirected repos
This commit is contained in:
commit
12c931a8e8
@ -30,9 +30,13 @@ let
|
|||||||
(removeRecurseForDerivations
|
(removeRecurseForDerivations
|
||||||
(checkInPkgs n alias)))
|
(checkInPkgs n alias)))
|
||||||
aliases;
|
aliases;
|
||||||
in
|
|
||||||
|
|
||||||
mapAliases {
|
deprecations = lib.mapAttrs (old: info:
|
||||||
|
throw "${old} was renamed to ${info.new} on ${info.date}. Please update to ${info.new}."
|
||||||
|
) (builtins.fromJSON (builtins.readFile ./deprecated.json));
|
||||||
|
|
||||||
|
in
|
||||||
|
mapAliases ({
|
||||||
airline = vim-airline;
|
airline = vim-airline;
|
||||||
alternative = a-vim; # backwards compat, added 2014-10-21
|
alternative = a-vim; # backwards compat, added 2014-10-21
|
||||||
bats = bats-vim;
|
bats = bats-vim;
|
||||||
@ -68,7 +72,7 @@ mapAliases {
|
|||||||
ghc-mod-vim = ghcmod-vim;
|
ghc-mod-vim = ghcmod-vim;
|
||||||
ghcmod = ghcmod-vim;
|
ghcmod = ghcmod-vim;
|
||||||
goyo = goyo-vim;
|
goyo = goyo-vim;
|
||||||
Gist = gist-vim;
|
Gist = vim-gist;
|
||||||
gitgutter = vim-gitgutter;
|
gitgutter = vim-gitgutter;
|
||||||
gundo = gundo-vim;
|
gundo = gundo-vim;
|
||||||
Gundo = gundo-vim; # backwards compat, added 2015-10-03
|
Gundo = gundo-vim; # backwards compat, added 2015-10-03
|
||||||
@ -134,7 +138,6 @@ mapAliases {
|
|||||||
wombat256 = wombat256-vim; # backwards compat, added 2015-7-8
|
wombat256 = wombat256-vim; # backwards compat, added 2015-7-8
|
||||||
yankring = YankRing-vim;
|
yankring = YankRing-vim;
|
||||||
Yankring = YankRing-vim;
|
Yankring = YankRing-vim;
|
||||||
YouCompleteMe = youcompleteme;
|
|
||||||
xterm-color-table = xterm-color-table-vim;
|
xterm-color-table = xterm-color-table-vim;
|
||||||
zeavim = zeavim-vim;
|
zeavim = zeavim-vim;
|
||||||
}
|
} // deprecations)
|
||||||
|
@ -11,7 +11,6 @@ let
|
|||||||
|
|
||||||
# TL;DR
|
# TL;DR
|
||||||
# * Add your plugin to ./vim-plugin-names
|
# * Add your plugin to ./vim-plugin-names
|
||||||
# * sort -udf ./vim-plugin-names > sorted && mv sorted vim-plugin-names
|
|
||||||
# * run ./update.py
|
# * run ./update.py
|
||||||
#
|
#
|
||||||
# If additional modifications to the build process are required,
|
# If additional modifications to the build process are required,
|
||||||
|
18
pkgs/misc/vim-plugins/deprecated.json
Normal file
18
pkgs/misc/vim-plugins/deprecated.json
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"gist-vim": {
|
||||||
|
"date": "2020-03-27",
|
||||||
|
"new": "vim-gist"
|
||||||
|
},
|
||||||
|
"vim-jade": {
|
||||||
|
"date": "2020-03-27",
|
||||||
|
"new": "vim-pug"
|
||||||
|
},
|
||||||
|
"vundle": {
|
||||||
|
"date": "2020-03-27",
|
||||||
|
"new": "Vundle.vim"
|
||||||
|
},
|
||||||
|
"youcompleteme": {
|
||||||
|
"date": "2020-03-27",
|
||||||
|
"new": "YouCompleteMe"
|
||||||
|
}
|
||||||
|
}
|
@ -63,7 +63,7 @@ let
|
|||||||
pname = "ale";
|
pname = "ale";
|
||||||
version = "2020-03-11";
|
version = "2020-03-11";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "w0rp";
|
owner = "dense-analysis";
|
||||||
repo = "ale";
|
repo = "ale";
|
||||||
rev = "bbe5153fcb36dec9860ced33ae8ff0b5d76ac02a";
|
rev = "bbe5153fcb36dec9860ced33ae8ff0b5d76ac02a";
|
||||||
sha256 = "1xvmh66lgii98z6f4lk1mjs73ysrvs55xdlcmf224k3as822jmw0";
|
sha256 = "1xvmh66lgii98z6f4lk1mjs73ysrvs55xdlcmf224k3as822jmw0";
|
||||||
@ -305,7 +305,7 @@ let
|
|||||||
pname = "clang_complete";
|
pname = "clang_complete";
|
||||||
version = "2018-09-19";
|
version = "2018-09-19";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Rip-Rip";
|
owner = "xavierd";
|
||||||
repo = "clang_complete";
|
repo = "clang_complete";
|
||||||
rev = "0b98d7533ad967aac3fc4c1a5b0508dafa8a676f";
|
rev = "0b98d7533ad967aac3fc4c1a5b0508dafa8a676f";
|
||||||
sha256 = "04mdhc1kbv66blkn6qn98iyj659dac4z49nmpf3anglz8dgcxjgc";
|
sha256 = "04mdhc1kbv66blkn6qn98iyj659dac4z49nmpf3anglz8dgcxjgc";
|
||||||
@ -644,12 +644,12 @@ let
|
|||||||
|
|
||||||
coc-tsserver = buildVimPluginFrom2Nix {
|
coc-tsserver = buildVimPluginFrom2Nix {
|
||||||
pname = "coc-tsserver";
|
pname = "coc-tsserver";
|
||||||
version = "2020-03-09";
|
version = "2020-03-21";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "neoclide";
|
owner = "neoclide";
|
||||||
repo = "coc-tsserver";
|
repo = "coc-tsserver";
|
||||||
rev = "dae0cc36b0245a601d4431ae8dd2319eaa919058";
|
rev = "54bea1ec1ab44802a155f876a4d1cc2c44b2bc42";
|
||||||
sha256 = "1559c0hwyknz1j6vbigywg1fjads4wf8by59z0sri6aah9q77q2z";
|
sha256 = "0npjc7c3x9mdqc6asav1f2wwv4p6lb5hk7c1p9b7m3vjg21w0k22";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -922,7 +922,7 @@ let
|
|||||||
pname = "denite-extra";
|
pname = "denite-extra";
|
||||||
version = "2019-03-29";
|
version = "2019-03-29";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "chemzqm";
|
owner = "neoclide";
|
||||||
repo = "denite-extra";
|
repo = "denite-extra";
|
||||||
rev = "af18257544027ce89269dba70c12aba1f5b9e23c";
|
rev = "af18257544027ce89269dba70c12aba1f5b9e23c";
|
||||||
sha256 = "0bmq9yhylfd3v6bfwvakw3pbsz5kk8wlmmql0yllqayp6410w25a";
|
sha256 = "0bmq9yhylfd3v6bfwvakw3pbsz5kk8wlmmql0yllqayp6410w25a";
|
||||||
@ -933,7 +933,7 @@ let
|
|||||||
pname = "denite-git";
|
pname = "denite-git";
|
||||||
version = "2020-03-02";
|
version = "2020-03-02";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "chemzqm";
|
owner = "neoclide";
|
||||||
repo = "denite-git";
|
repo = "denite-git";
|
||||||
rev = "88b5323a6fc0ace197eed5205215d80f3b613f91";
|
rev = "88b5323a6fc0ace197eed5205215d80f3b613f91";
|
||||||
sha256 = "0b687i64hr8hll7pv7r1xz906b46cl2q62zm18ipikhkpva6iv13";
|
sha256 = "0b687i64hr8hll7pv7r1xz906b46cl2q62zm18ipikhkpva6iv13";
|
||||||
@ -942,12 +942,12 @@ let
|
|||||||
|
|
||||||
denite-nvim = buildVimPluginFrom2Nix {
|
denite-nvim = buildVimPluginFrom2Nix {
|
||||||
pname = "denite-nvim";
|
pname = "denite-nvim";
|
||||||
version = "2020-03-18";
|
version = "2020-03-21";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Shougo";
|
owner = "Shougo";
|
||||||
repo = "denite.nvim";
|
repo = "denite.nvim";
|
||||||
rev = "a184e87b7df5e8f35aee115153b37f178e47718c";
|
rev = "c3206a06508a197650ee4e1d85da39ff24e3a56b";
|
||||||
sha256 = "1na637k62sgpqx69r6j5prad4qdc9dp3psq75jhqyvhm3yq2432w";
|
sha256 = "1yy6j5zpja8jr1j8sghwc1l0fkb47r8cvv36ckf75x9x5gpylb5m";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -966,7 +966,7 @@ let
|
|||||||
pname = "deoplete-clang";
|
pname = "deoplete-clang";
|
||||||
version = "2019-11-10";
|
version = "2019-11-10";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zchee";
|
owner = "deoplete-plugins";
|
||||||
repo = "deoplete-clang";
|
repo = "deoplete-clang";
|
||||||
rev = "2ea262e98edcb66e828f9077fcc844100320eb63";
|
rev = "2ea262e98edcb66e828f9077fcc844100320eb63";
|
||||||
sha256 = "1wvk61f8ph2vpl6llzmir3qs3zwaw3lrphs16d1j7ljkdl3bk49k";
|
sha256 = "1wvk61f8ph2vpl6llzmir3qs3zwaw3lrphs16d1j7ljkdl3bk49k";
|
||||||
@ -1022,7 +1022,7 @@ let
|
|||||||
pname = "deoplete-go";
|
pname = "deoplete-go";
|
||||||
version = "2020-01-01";
|
version = "2020-01-01";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zchee";
|
owner = "deoplete-plugins";
|
||||||
repo = "deoplete-go";
|
repo = "deoplete-go";
|
||||||
rev = "4f1ccd2ed70211fd025d052ec725c0b835bea487";
|
rev = "4f1ccd2ed70211fd025d052ec725c0b835bea487";
|
||||||
sha256 = "0zmx98kz6pxfpakizr8xm1nrv1rjr0frz19pkik29mk6aj2b2l08";
|
sha256 = "0zmx98kz6pxfpakizr8xm1nrv1rjr0frz19pkik29mk6aj2b2l08";
|
||||||
@ -1154,12 +1154,12 @@ let
|
|||||||
|
|
||||||
deoplete-nvim = buildVimPluginFrom2Nix {
|
deoplete-nvim = buildVimPluginFrom2Nix {
|
||||||
pname = "deoplete-nvim";
|
pname = "deoplete-nvim";
|
||||||
version = "2020-03-18";
|
version = "2020-03-21";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Shougo";
|
owner = "Shougo";
|
||||||
repo = "deoplete.nvim";
|
repo = "deoplete.nvim";
|
||||||
rev = "db7d2dc5f416634c9917054bcd6e1e5d925bb4d7";
|
rev = "1439c621dc94016c504e1732ce8270081a42768f";
|
||||||
sha256 = "1d34zy81j47icsrnbxpp4x9f35ihrmd0lnd0vphi216kdlkxk37b";
|
sha256 = "1c8qx839zmf52cfazlbbnlhxw6cvnsr3ds0rclawgycbl4s1qy8f";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1430,17 +1430,6 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gist-vim = buildVimPluginFrom2Nix {
|
|
||||||
pname = "gist-vim";
|
|
||||||
version = "2020-01-29";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "mattn";
|
|
||||||
repo = "gist-vim";
|
|
||||||
rev = "2158eceb210b0a354bc17aa4144554e5d8bb6c79";
|
|
||||||
sha256 = "1dz33c63q7gghz35hyrvbshqw20faccs7bvxlda5w70mkbz9h9c4";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
gitignore-vim = buildVimPluginFrom2Nix {
|
gitignore-vim = buildVimPluginFrom2Nix {
|
||||||
pname = "gitignore-vim";
|
pname = "gitignore-vim";
|
||||||
version = "2014-03-16";
|
version = "2014-03-16";
|
||||||
@ -2060,12 +2049,12 @@ let
|
|||||||
|
|
||||||
neoformat = buildVimPluginFrom2Nix {
|
neoformat = buildVimPluginFrom2Nix {
|
||||||
pname = "neoformat";
|
pname = "neoformat";
|
||||||
version = "2020-03-03";
|
version = "2020-03-20";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sbdchd";
|
owner = "sbdchd";
|
||||||
repo = "neoformat";
|
repo = "neoformat";
|
||||||
rev = "69140aedb7da5a5a0b25b82e7f756f91d08170ea";
|
rev = "d02b169e70bd6d2b2365bf6cda721967616a30bf";
|
||||||
sha256 = "132ksy20rb01xm18zwwl3lv5zapfhfvaf5zz6md8dnr5hvkvvrgx";
|
sha256 = "1cya26wfqc7l7dqy854m4kwrq3w66knmn2cgviqh9cnsjzhwxs0d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -2183,7 +2172,7 @@ let
|
|||||||
pname = "nerdcommenter";
|
pname = "nerdcommenter";
|
||||||
version = "2020-02-19";
|
version = "2020-02-19";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "scrooloose";
|
owner = "preservim";
|
||||||
repo = "nerdcommenter";
|
repo = "nerdcommenter";
|
||||||
rev = "c62e618a1ab5a50a4028e3296500ba29d9b033d8";
|
rev = "c62e618a1ab5a50a4028e3296500ba29d9b033d8";
|
||||||
sha256 = "0w4bxj423dxxkcxnfmipf8x5jfm058rq4g3m98wzcz5zbambv3qs";
|
sha256 = "0w4bxj423dxxkcxnfmipf8x5jfm058rq4g3m98wzcz5zbambv3qs";
|
||||||
@ -2194,7 +2183,7 @@ let
|
|||||||
pname = "nerdtree";
|
pname = "nerdtree";
|
||||||
version = "2020-02-20";
|
version = "2020-02-20";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "scrooloose";
|
owner = "preservim";
|
||||||
repo = "nerdtree";
|
repo = "nerdtree";
|
||||||
rev = "e67324fdea7a192c7ce1b4c6b3c3b9f82f11eee7";
|
rev = "e67324fdea7a192c7ce1b4c6b3c3b9f82f11eee7";
|
||||||
sha256 = "0y7hd69k0i21cqgs11n80ljv6cl0gfcjjwa0dvdywpd8mmn1ad4k";
|
sha256 = "0y7hd69k0i21cqgs11n80ljv6cl0gfcjjwa0dvdywpd8mmn1ad4k";
|
||||||
@ -2291,12 +2280,12 @@ let
|
|||||||
|
|
||||||
nvim-lsp = buildVimPluginFrom2Nix {
|
nvim-lsp = buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-lsp";
|
pname = "nvim-lsp";
|
||||||
version = "2020-03-19";
|
version = "2020-03-21";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "neovim";
|
owner = "neovim";
|
||||||
repo = "nvim-lsp";
|
repo = "nvim-lsp";
|
||||||
rev = "6d5e81c71bb90568b3bf9ca061980b9b30cdbc15";
|
rev = "4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67";
|
||||||
sha256 = "1va480pw7nk650bmh4z7rvr2a5sqd4q86y19341p6mj12p2r2fcv";
|
sha256 = "1xyqbr0f2pgvbbk0cpg92pswavff910hy8rjkm05grhqw43vkzcg";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -2480,7 +2469,7 @@ let
|
|||||||
pname = "purescript-vim";
|
pname = "purescript-vim";
|
||||||
version = "2018-12-10";
|
version = "2018-12-10";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "raichoo";
|
owner = "purescript-contrib";
|
||||||
repo = "purescript-vim";
|
repo = "purescript-vim";
|
||||||
rev = "67ca4dc4a0291e5d8c8da48bffc0f3d2c9739e7f";
|
rev = "67ca4dc4a0291e5d8c8da48bffc0f3d2c9739e7f";
|
||||||
sha256 = "1insh39hzbynr6qxb215qxhpifl5m8i5i0d09a3b6v679i7s11i8";
|
sha256 = "1insh39hzbynr6qxb215qxhpifl5m8i5i0d09a3b6v679i7s11i8";
|
||||||
@ -2623,7 +2612,7 @@ let
|
|||||||
pname = "riv-vim";
|
pname = "riv-vim";
|
||||||
version = "2020-02-17";
|
version = "2020-02-17";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Rykka";
|
owner = "gu-fan";
|
||||||
repo = "riv.vim";
|
repo = "riv.vim";
|
||||||
rev = "d52844691ca2f139e4b634db65aa49c57a0fc2b3";
|
rev = "d52844691ca2f139e4b634db65aa49c57a0fc2b3";
|
||||||
sha256 = "0s4jvqwlnmmh2zw9v9rlwynwx44ypdrzhhyfb20sippxg9g6z0c5";
|
sha256 = "0s4jvqwlnmmh2zw9v9rlwynwx44ypdrzhhyfb20sippxg9g6z0c5";
|
||||||
@ -2854,7 +2843,7 @@ let
|
|||||||
pname = "sved";
|
pname = "sved";
|
||||||
version = "2019-01-25";
|
version = "2019-01-25";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "peder2tm";
|
owner = "peterbjorgensen";
|
||||||
repo = "sved";
|
repo = "sved";
|
||||||
rev = "3362db72447e8ac812c7299c15ecfc9f41341713";
|
rev = "3362db72447e8ac812c7299c15ecfc9f41341713";
|
||||||
sha256 = "1r2nv069d6r2q6gbiz795x94mfjm9hnv05zka085hhq9a3yf1pgx";
|
sha256 = "1r2nv069d6r2q6gbiz795x94mfjm9hnv05zka085hhq9a3yf1pgx";
|
||||||
@ -2876,7 +2865,7 @@ let
|
|||||||
pname = "syntastic";
|
pname = "syntastic";
|
||||||
version = "2020-01-29";
|
version = "2020-01-29";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "scrooloose";
|
owner = "vim-syntastic";
|
||||||
repo = "syntastic";
|
repo = "syntastic";
|
||||||
rev = "f3766538720116f099a8b1517f76ae2f094afd20";
|
rev = "f3766538720116f099a8b1517f76ae2f094afd20";
|
||||||
sha256 = "1bzjav87fcibwlp8siqnx6x8wv8w3mwrrqrd5w19ny9scr5x2a65";
|
sha256 = "1bzjav87fcibwlp8siqnx6x8wv8w3mwrrqrd5w19ny9scr5x2a65";
|
||||||
@ -3601,12 +3590,12 @@ let
|
|||||||
|
|
||||||
vim-codefmt = buildVimPluginFrom2Nix {
|
vim-codefmt = buildVimPluginFrom2Nix {
|
||||||
pname = "vim-codefmt";
|
pname = "vim-codefmt";
|
||||||
version = "2020-02-26";
|
version = "2020-03-20";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "vim-codefmt";
|
repo = "vim-codefmt";
|
||||||
rev = "6d69f933f243ed3d7797641bd41c0e65d245c931";
|
rev = "d6676620f7a85fa49e8893cad041df59497fd845";
|
||||||
sha256 = "0vzzyz7v03ihky3vx12rji4l1r6vbxgslvc1fvi4dznfqn5m9gfn";
|
sha256 = "01wrlq9h2wzngi8qna0zrwycrp0iqp7qsijyby287zbckrs25rnd";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -3900,7 +3889,7 @@ let
|
|||||||
pname = "vim-elixir";
|
pname = "vim-elixir";
|
||||||
version = "2020-03-11";
|
version = "2020-03-11";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elixir-lang";
|
owner = "elixir-editors";
|
||||||
repo = "vim-elixir";
|
repo = "vim-elixir";
|
||||||
rev = "088cfc407460dea7b81c10b29db23843f85e7919";
|
rev = "088cfc407460dea7b81c10b29db23843f85e7919";
|
||||||
sha256 = "1w9w4arzlbjhd5kcvyv5fykq9djc4n4j1nc75qqlzsfggbjjwhbk";
|
sha256 = "1w9w4arzlbjhd5kcvyv5fykq9djc4n4j1nc75qqlzsfggbjjwhbk";
|
||||||
@ -4074,11 +4063,11 @@ let
|
|||||||
|
|
||||||
vim-fugitive = buildVimPluginFrom2Nix {
|
vim-fugitive = buildVimPluginFrom2Nix {
|
||||||
pname = "vim-fugitive";
|
pname = "vim-fugitive";
|
||||||
version = "2020-03-12";
|
version = "2020-03-22";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tpope";
|
owner = "tpope";
|
||||||
repo = "vim-fugitive";
|
repo = "vim-fugitive";
|
||||||
rev = "9a4d730270882f9d39a411eb126143eda4d46963";
|
rev = "0e35c9bbc78159318e7b7ffd228f09a96afb8fde";
|
||||||
sha256 = "098fz3lmfysv6gr5cjwgqsdzxjxygwc0x4ak1sxj3h6djys5x66b";
|
sha256 = "098fz3lmfysv6gr5cjwgqsdzxjxygwc0x4ak1sxj3h6djys5x66b";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -4094,6 +4083,17 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vim-gist = buildVimPluginFrom2Nix {
|
||||||
|
pname = "vim-gist";
|
||||||
|
version = "2020-01-29";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mattn";
|
||||||
|
repo = "vim-gist";
|
||||||
|
rev = "2158eceb210b0a354bc17aa4144554e5d8bb6c79";
|
||||||
|
sha256 = "1dz33c63q7gghz35hyrvbshqw20faccs7bvxlda5w70mkbz9h9c4";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
vim-gista = buildVimPluginFrom2Nix {
|
vim-gista = buildVimPluginFrom2Nix {
|
||||||
pname = "vim-gista";
|
pname = "vim-gista";
|
||||||
version = "2020-01-04";
|
version = "2020-01-04";
|
||||||
@ -4151,12 +4151,12 @@ let
|
|||||||
|
|
||||||
vim-go = buildVimPluginFrom2Nix {
|
vim-go = buildVimPluginFrom2Nix {
|
||||||
pname = "vim-go";
|
pname = "vim-go";
|
||||||
version = "2020-03-17";
|
version = "2020-03-20";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fatih";
|
owner = "fatih";
|
||||||
repo = "vim-go";
|
repo = "vim-go";
|
||||||
rev = "f5d34f40d6757470f40600000c9c08de142d7ced";
|
rev = "50d52bafa00448ca8cde2b0e05b0fe71c9397762";
|
||||||
sha256 = "0a2g8f9xza2m07qm4pcj2aqjh1yvs9cxn8f3zima06swfw2ahdh8";
|
sha256 = "1c8dwllscwxiqp409zy7ajwz84bn8g7p9gldqrhx8i9l7q382z0w";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -4413,17 +4413,6 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
vim-jade = buildVimPluginFrom2Nix {
|
|
||||||
pname = "vim-jade";
|
|
||||||
version = "2019-09-23";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "digitaltoad";
|
|
||||||
repo = "vim-jade";
|
|
||||||
rev = "ea39cd942cf3194230cf72bfb838901a5344d3b3";
|
|
||||||
sha256 = "07141jkfnaia4ydc6qcg0bc06w720l2lzl7bm4bsjwswqrzmhfam";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vim-janah = buildVimPluginFrom2Nix {
|
vim-janah = buildVimPluginFrom2Nix {
|
||||||
pname = "vim-janah";
|
pname = "vim-janah";
|
||||||
version = "2018-10-01";
|
version = "2018-10-01";
|
||||||
@ -4647,12 +4636,12 @@ let
|
|||||||
|
|
||||||
vim-lsc = buildVimPluginFrom2Nix {
|
vim-lsc = buildVimPluginFrom2Nix {
|
||||||
pname = "vim-lsc";
|
pname = "vim-lsc";
|
||||||
version = "2020-02-11";
|
version = "2020-03-22";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "natebosch";
|
owner = "natebosch";
|
||||||
repo = "vim-lsc";
|
repo = "vim-lsc";
|
||||||
rev = "62c6f6aa227b1b3ef5e7cf7df9f0a9c1d855d7fe";
|
rev = "3dd7a19e8689847956266e0be1bbfb4ca12da746";
|
||||||
sha256 = "1qimz08rqm4ch6dr0znwxl328593kmz0yxdqq15g1yrw4ig0fi22";
|
sha256 = "0dj1b8v9iz67m833x1z3s7jac0jpfxgs43ylc6m0v3al67qcb0mj";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -5085,6 +5074,17 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vim-pug = buildVimPluginFrom2Nix {
|
||||||
|
pname = "vim-pug";
|
||||||
|
version = "2019-09-23";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "digitaltoad";
|
||||||
|
repo = "vim-pug";
|
||||||
|
rev = "ea39cd942cf3194230cf72bfb838901a5344d3b3";
|
||||||
|
sha256 = "07141jkfnaia4ydc6qcg0bc06w720l2lzl7bm4bsjwswqrzmhfam";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
vim-puppet = buildVimPluginFrom2Nix {
|
vim-puppet = buildVimPluginFrom2Nix {
|
||||||
pname = "vim-puppet";
|
pname = "vim-puppet";
|
||||||
version = "2019-09-16";
|
version = "2019-09-16";
|
||||||
@ -5560,12 +5560,12 @@ let
|
|||||||
|
|
||||||
vim-test = buildVimPluginFrom2Nix {
|
vim-test = buildVimPluginFrom2Nix {
|
||||||
pname = "vim-test";
|
pname = "vim-test";
|
||||||
version = "2020-03-17";
|
version = "2020-03-21";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "janko-m";
|
owner = "janko";
|
||||||
repo = "vim-test";
|
repo = "vim-test";
|
||||||
rev = "d878e9d61f186140f18a7a8a8badc0605d8955ba";
|
rev = "b302a325116d8708dc0721b7cd97ff59536f4e75";
|
||||||
sha256 = "06kihjif3g00bibx304vz22w2w9z84v0g6a55cxs1hqlc4ygnl8v";
|
sha256 = "099dzadzhfkhf92lv5cmfk0iawbp40v1rz9xxp462hxxcn3p3c97";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -5978,12 +5978,12 @@ let
|
|||||||
|
|
||||||
vimtex = buildVimPluginFrom2Nix {
|
vimtex = buildVimPluginFrom2Nix {
|
||||||
pname = "vimtex";
|
pname = "vimtex";
|
||||||
version = "2020-03-17";
|
version = "2020-03-21";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lervag";
|
owner = "lervag";
|
||||||
repo = "vimtex";
|
repo = "vimtex";
|
||||||
rev = "16b23314b31862510d3feb8a2569199062b083ac";
|
rev = "8c59031d50feeec8b4f3549f70f82564975265f0";
|
||||||
sha256 = "0vibfwsyamp4jqbaaa872m922yg89fx7k0cfa6kfhr5ks4vhpya5";
|
sha256 = "16a7qpp19gci8hq8h2999pwv0gd6x0mqgifv325mlb0jj5lxy7m1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -6031,12 +6031,12 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
vundle = buildVimPluginFrom2Nix {
|
Vundle-vim = buildVimPluginFrom2Nix {
|
||||||
pname = "vundle";
|
pname = "Vundle-vim";
|
||||||
version = "2019-08-17";
|
version = "2019-08-17";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gmarik";
|
owner = "VundleVim";
|
||||||
repo = "vundle";
|
repo = "Vundle.vim";
|
||||||
rev = "b255382d6242d7ea3877bf059d2934125e0c4d95";
|
rev = "b255382d6242d7ea3877bf059d2934125e0c4d95";
|
||||||
sha256 = "0fkmklcq3fgvd6x6irz9bgyvcdaxafykk3k89gsi9p6b0ikw3rw6";
|
sha256 = "0fkmklcq3fgvd6x6irz9bgyvcdaxafykk3k89gsi9p6b0ikw3rw6";
|
||||||
};
|
};
|
||||||
@ -6132,22 +6132,22 @@ let
|
|||||||
|
|
||||||
yats-vim = buildVimPluginFrom2Nix {
|
yats-vim = buildVimPluginFrom2Nix {
|
||||||
pname = "yats-vim";
|
pname = "yats-vim";
|
||||||
version = "2020-03-02";
|
version = "2020-03-21";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "HerringtonDarkholme";
|
owner = "HerringtonDarkholme";
|
||||||
repo = "yats.vim";
|
repo = "yats.vim";
|
||||||
rev = "68ef9623656fe9aaa53c1d9ab906f09c2c095f06";
|
rev = "4d3f69a3a5f56bae9475a96c3291ffdcbd9ff0b1";
|
||||||
sha256 = "0cn1k8lda71vm4gx14ly9gdvk1j17jds0axx9jvjp4w9jid6ksqk";
|
sha256 = "0f3dq4lrm9xzh780fd471b7ddibfzb9vfq1k6gn53pmqpiw6a498";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
youcompleteme = buildVimPluginFrom2Nix {
|
YouCompleteMe = buildVimPluginFrom2Nix {
|
||||||
pname = "youcompleteme";
|
pname = "YouCompleteMe";
|
||||||
version = "2020-03-18";
|
version = "2020-03-18";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "valloric";
|
owner = "ycm-core";
|
||||||
repo = "youcompleteme";
|
repo = "YouCompleteMe";
|
||||||
rev = "cf4a76acaeed27eb3ca1dca5adf1115b6abbcfa3";
|
rev = "cf4a76acaeed27eb3ca1dca5adf1115b6abbcfa3";
|
||||||
sha256 = "0si9by2ag2f7xgxidp5215d6wkg1mdhq9j5c4icdpsly9gv3w5s8";
|
sha256 = "0si9by2ag2f7xgxidp5215d6wkg1mdhq9j5c4icdpsly9gv3w5s8";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
@ -6191,7 +6191,7 @@ let
|
|||||||
pname = "zig-vim";
|
pname = "zig-vim";
|
||||||
version = "2020-02-10";
|
version = "2020-02-10";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zig-lang";
|
owner = "ziglang";
|
||||||
repo = "zig.vim";
|
repo = "zig.vim";
|
||||||
rev = "55b690029791022fd7818ebd0ee395e8976899fe";
|
rev = "55b690029791022fd7818ebd0ee395e8976899fe";
|
||||||
sha256 = "10xkrn4yhjda187mpw1y3qw0s6bp7aklk87pansaa3fvysdf3b6c";
|
sha256 = "10xkrn4yhjda187mpw1y3qw0s6bp7aklk87pansaa3fvysdf3b6c";
|
||||||
|
@ -393,7 +393,7 @@ self: super: {
|
|||||||
configurePhase = "cd plugins/nvim";
|
configurePhase = "cd plugins/nvim";
|
||||||
});
|
});
|
||||||
|
|
||||||
gist-vim = super.gist-vim.overrideAttrs(old: {
|
vim-gist = super.vim-gist.overrideAttrs(old: {
|
||||||
dependencies = with super; [ webapi-vim ];
|
dependencies = with super; [ webapi-vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -640,7 +640,7 @@ self: super: {
|
|||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
});
|
});
|
||||||
|
|
||||||
youcompleteme = super.youcompleteme.overrideAttrs(old: {
|
YouCompleteMe = super.YouCompleteMe.overrideAttrs(old: {
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
substituteInPlace plugin/youcompleteme.vim \
|
substituteInPlace plugin/youcompleteme.vim \
|
||||||
--replace "'ycm_path_to_python_interpreter', '''" \
|
--replace "'ycm_path_to_python_interpreter', '''" \
|
||||||
|
@ -10,12 +10,14 @@
|
|||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import functools
|
import functools
|
||||||
|
import http
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
import urllib.error
|
import urllib.error
|
||||||
|
import urllib.parse
|
||||||
import urllib.request
|
import urllib.request
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
@ -32,6 +34,7 @@ ATOM_UPDATED = "{http://www.w3.org/2005/Atom}updated" # "
|
|||||||
ROOT = Path(__file__).parent
|
ROOT = Path(__file__).parent
|
||||||
DEFAULT_IN = ROOT.joinpath("vim-plugin-names")
|
DEFAULT_IN = ROOT.joinpath("vim-plugin-names")
|
||||||
DEFAULT_OUT = ROOT.joinpath("generated.nix")
|
DEFAULT_OUT = ROOT.joinpath("generated.nix")
|
||||||
|
DEPRECATED = ROOT.joinpath("deprecated.json")
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
@ -71,9 +74,11 @@ def retry(ExceptionToCheck: Any, tries: int = 4, delay: float = 3, backoff: floa
|
|||||||
|
|
||||||
|
|
||||||
class Repo:
|
class Repo:
|
||||||
def __init__(self, owner: str, name: str) -> None:
|
def __init__(self, owner: str, name: str, alias: str) -> None:
|
||||||
self.owner = owner
|
self.owner = owner
|
||||||
self.name = name
|
self.name = name
|
||||||
|
self.alias = alias
|
||||||
|
self.redirect: Dict[str, str] = {}
|
||||||
|
|
||||||
def url(self, path: str) -> str:
|
def url(self, path: str) -> str:
|
||||||
return urljoin(f"https://github.com/{self.owner}/{self.name}/", path)
|
return urljoin(f"https://github.com/{self.owner}/{self.name}/", path)
|
||||||
@ -96,7 +101,9 @@ class Repo:
|
|||||||
|
|
||||||
@retry(urllib.error.URLError, tries=4, delay=3, backoff=2)
|
@retry(urllib.error.URLError, tries=4, delay=3, backoff=2)
|
||||||
def latest_commit(self) -> Tuple[str, datetime]:
|
def latest_commit(self) -> Tuple[str, datetime]:
|
||||||
with urllib.request.urlopen(self.url("commits/master.atom"), timeout=10) as req:
|
commit_url = self.url("commits/master.atom")
|
||||||
|
with urllib.request.urlopen(commit_url, timeout=10) as req:
|
||||||
|
self.check_for_redirect(commit_url, req)
|
||||||
xml = req.read()
|
xml = req.read()
|
||||||
root = ET.fromstring(xml)
|
root = ET.fromstring(xml)
|
||||||
latest_entry = root.find(ATOM_ENTRY)
|
latest_entry = root.find(ATOM_ENTRY)
|
||||||
@ -111,6 +118,19 @@ class Repo:
|
|||||||
updated = datetime.strptime(updated_tag.text, "%Y-%m-%dT%H:%M:%SZ")
|
updated = datetime.strptime(updated_tag.text, "%Y-%m-%dT%H:%M:%SZ")
|
||||||
return Path(str(url.path)).name, updated
|
return Path(str(url.path)).name, updated
|
||||||
|
|
||||||
|
def check_for_redirect(self, url: str, req: http.client.HTTPResponse):
|
||||||
|
response_url = req.geturl()
|
||||||
|
if url != response_url:
|
||||||
|
new_owner, new_name = (
|
||||||
|
urllib.parse.urlsplit(response_url).path.strip("/").split("/")[:2]
|
||||||
|
)
|
||||||
|
end_line = "\n" if self.alias is None else f" as {self.alias}\n"
|
||||||
|
plugin_line = "{owner}/{name}" + end_line
|
||||||
|
|
||||||
|
old_plugin = plugin_line.format(owner=self.owner, name=self.name)
|
||||||
|
new_plugin = plugin_line.format(owner=new_owner, name=new_name)
|
||||||
|
self.redirect[old_plugin] = new_plugin
|
||||||
|
|
||||||
def prefetch_git(self, ref: str) -> str:
|
def prefetch_git(self, ref: str) -> str:
|
||||||
data = subprocess.check_output(
|
data = subprocess.check_output(
|
||||||
["nix-prefetch-git", "--fetch-submodules", self.url(""), ref]
|
["nix-prefetch-git", "--fetch-submodules", self.url(""), ref]
|
||||||
@ -197,15 +217,17 @@ def get_current_plugins() -> List[Plugin]:
|
|||||||
return plugins
|
return plugins
|
||||||
|
|
||||||
|
|
||||||
def prefetch_plugin(user: str, repo_name: str, alias: str, cache: "Cache") -> Plugin:
|
def prefetch_plugin(
|
||||||
repo = Repo(user, repo_name)
|
user: str, repo_name: str, alias: str, cache: "Cache"
|
||||||
|
) -> Tuple[Plugin, Dict[str, str]]:
|
||||||
|
repo = Repo(user, repo_name, alias)
|
||||||
commit, date = repo.latest_commit()
|
commit, date = repo.latest_commit()
|
||||||
has_submodules = repo.has_submodules()
|
has_submodules = repo.has_submodules()
|
||||||
cached_plugin = cache[commit]
|
cached_plugin = cache[commit]
|
||||||
if cached_plugin is not None:
|
if cached_plugin is not None:
|
||||||
cached_plugin.name = alias or repo_name
|
cached_plugin.name = alias or repo_name
|
||||||
cached_plugin.date = date
|
cached_plugin.date = date
|
||||||
return cached_plugin
|
return cached_plugin, repo.redirect
|
||||||
|
|
||||||
print(f"prefetch {user}/{repo_name}")
|
print(f"prefetch {user}/{repo_name}")
|
||||||
if has_submodules:
|
if has_submodules:
|
||||||
@ -213,7 +235,10 @@ def prefetch_plugin(user: str, repo_name: str, alias: str, cache: "Cache") -> Pl
|
|||||||
else:
|
else:
|
||||||
sha256 = repo.prefetch_github(commit)
|
sha256 = repo.prefetch_github(commit)
|
||||||
|
|
||||||
return Plugin(alias or repo_name, commit, has_submodules, sha256, date=date)
|
return (
|
||||||
|
Plugin(alias or repo_name, commit, has_submodules, sha256, date=date),
|
||||||
|
repo.redirect,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def print_download_error(plugin: str, ex: Exception):
|
def print_download_error(plugin: str, ex: Exception):
|
||||||
@ -227,20 +252,22 @@ def print_download_error(plugin: str, ex: Exception):
|
|||||||
|
|
||||||
|
|
||||||
def check_results(
|
def check_results(
|
||||||
results: List[Tuple[str, str, Union[Exception, Plugin]]]
|
results: List[Tuple[str, str, Union[Exception, Plugin], Dict[str, str]]]
|
||||||
) -> List[Tuple[str, str, Plugin]]:
|
) -> Tuple[List[Tuple[str, str, Plugin]], Dict[str, str]]:
|
||||||
failures: List[Tuple[str, Exception]] = []
|
failures: List[Tuple[str, Exception]] = []
|
||||||
plugins = []
|
plugins = []
|
||||||
for (owner, name, result) in results:
|
redirects: Dict[str, str] = {}
|
||||||
|
for (owner, name, result, redirect) in results:
|
||||||
if isinstance(result, Exception):
|
if isinstance(result, Exception):
|
||||||
failures.append((name, result))
|
failures.append((name, result))
|
||||||
else:
|
else:
|
||||||
plugins.append((owner, name, result))
|
plugins.append((owner, name, result))
|
||||||
|
redirects.update(redirect)
|
||||||
|
|
||||||
print(f"{len(results) - len(failures)} plugins were checked", end="")
|
print(f"{len(results) - len(failures)} plugins were checked", end="")
|
||||||
if len(failures) == 0:
|
if len(failures) == 0:
|
||||||
print()
|
print()
|
||||||
return plugins
|
return plugins, redirects
|
||||||
else:
|
else:
|
||||||
print(f", {len(failures)} plugin(s) could not be downloaded:\n")
|
print(f", {len(failures)} plugin(s) could not be downloaded:\n")
|
||||||
|
|
||||||
@ -328,15 +355,15 @@ class Cache:
|
|||||||
|
|
||||||
def prefetch(
|
def prefetch(
|
||||||
args: Tuple[str, str, str], cache: Cache
|
args: Tuple[str, str, str], cache: Cache
|
||||||
) -> Tuple[str, str, Union[Exception, Plugin]]:
|
) -> Tuple[str, str, Union[Exception, Plugin], dict]:
|
||||||
assert len(args) == 3
|
assert len(args) == 3
|
||||||
owner, repo, alias = args
|
owner, repo, alias = args
|
||||||
try:
|
try:
|
||||||
plugin = prefetch_plugin(owner, repo, alias, cache)
|
plugin, redirect = prefetch_plugin(owner, repo, alias, cache)
|
||||||
cache[plugin.commit] = plugin
|
cache[plugin.commit] = plugin
|
||||||
return (owner, repo, plugin)
|
return (owner, repo, plugin, redirect)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return (owner, repo, e)
|
return (owner, repo, e, {})
|
||||||
|
|
||||||
|
|
||||||
header = (
|
header = (
|
||||||
@ -386,6 +413,49 @@ in lib.fix' (lib.extends overrides packages)
|
|||||||
print(f"updated {outfile}")
|
print(f"updated {outfile}")
|
||||||
|
|
||||||
|
|
||||||
|
def rewrite_input(input_file: Path, output_file: Path, redirects: dict):
|
||||||
|
with open(input_file, "r") as f:
|
||||||
|
lines = f.readlines()
|
||||||
|
|
||||||
|
if redirects:
|
||||||
|
lines = [redirects.get(line, line) for line in lines]
|
||||||
|
|
||||||
|
cur_date_iso = datetime.now().strftime("%Y-%m-%d")
|
||||||
|
with open(DEPRECATED, "r") as f:
|
||||||
|
deprecations = json.load(f)
|
||||||
|
for old, new in redirects.items():
|
||||||
|
old_name = old.split("/")[1].split(" ")[0].strip("\n")
|
||||||
|
new_name = new.split("/")[1].split(" ")[0].strip("\n")
|
||||||
|
if old_name != new_name:
|
||||||
|
deprecations[old_name] = {
|
||||||
|
"new": new_name,
|
||||||
|
"date": cur_date_iso,
|
||||||
|
}
|
||||||
|
with open(DEPRECATED, "w") as f:
|
||||||
|
json.dump(deprecations, f, indent=4, sort_keys=True)
|
||||||
|
|
||||||
|
print(
|
||||||
|
f"""\
|
||||||
|
Redirects have been detected and {input_file} has been updated. Please take the
|
||||||
|
following steps:
|
||||||
|
1. Go ahead and commit just the updated expressions as you intended to do:
|
||||||
|
git add {output_file}
|
||||||
|
git commit -m "vimPlugins: Update"
|
||||||
|
2. Run this script again so these changes will be reflected in the
|
||||||
|
generated expressions:
|
||||||
|
./update.py
|
||||||
|
3. Commit {input_file} along with deprecations and generated expressions:
|
||||||
|
git add {output_file} {input_file} {DEPRECATED}
|
||||||
|
git commit -m "vimPlugins: Update redirects"
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
|
||||||
|
lines = sorted(lines, key=str.casefold)
|
||||||
|
|
||||||
|
with open(input_file, "w") as f:
|
||||||
|
f.writelines(lines)
|
||||||
|
|
||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description=(
|
description=(
|
||||||
@ -428,10 +498,12 @@ def main() -> None:
|
|||||||
finally:
|
finally:
|
||||||
cache.store()
|
cache.store()
|
||||||
|
|
||||||
plugins = check_results(results)
|
plugins, redirects = check_results(results)
|
||||||
|
|
||||||
generate_nix(plugins, args.outfile)
|
generate_nix(plugins, args.outfile)
|
||||||
|
|
||||||
|
rewrite_input(args.input_file, args.outfile, redirects)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
@ -21,8 +21,8 @@ autozimu/LanguageClient-neovim
|
|||||||
ayu-theme/ayu-vim
|
ayu-theme/ayu-vim
|
||||||
bazelbuild/vim-bazel
|
bazelbuild/vim-bazel
|
||||||
bbchung/clighter8
|
bbchung/clighter8
|
||||||
benmills/vimux
|
|
||||||
benizi/vim-automkdir
|
benizi/vim-automkdir
|
||||||
|
benmills/vimux
|
||||||
bhurlow/vim-parinfer
|
bhurlow/vim-parinfer
|
||||||
bitc/vim-hdevtools
|
bitc/vim-hdevtools
|
||||||
bkad/camelcasemotion
|
bkad/camelcasemotion
|
||||||
@ -36,8 +36,6 @@ brooth/far.vim
|
|||||||
carlitux/deoplete-ternjs
|
carlitux/deoplete-ternjs
|
||||||
ccarpita/rtorrent-syntax-file
|
ccarpita/rtorrent-syntax-file
|
||||||
cespare/vim-toml
|
cespare/vim-toml
|
||||||
chemzqm/denite-extra
|
|
||||||
chemzqm/denite-git
|
|
||||||
Chiel92/vim-autoformat
|
Chiel92/vim-autoformat
|
||||||
chikatoike/concealedyank.vim
|
chikatoike/concealedyank.vim
|
||||||
chikatoike/sourcemap.vim
|
chikatoike/sourcemap.vim
|
||||||
@ -58,22 +56,25 @@ cocopon/iceberg.vim
|
|||||||
cohama/lexima.vim
|
cohama/lexima.vim
|
||||||
ctjhoa/spacevim
|
ctjhoa/spacevim
|
||||||
ctrlpvim/ctrlp.vim
|
ctrlpvim/ctrlp.vim
|
||||||
dag/vim2hs
|
|
||||||
dag/vim-fish
|
dag/vim-fish
|
||||||
|
dag/vim2hs
|
||||||
dannyob/quickfixstatus
|
dannyob/quickfixstatus
|
||||||
darfink/starsearch.vim
|
darfink/starsearch.vim
|
||||||
dart-lang/dart-vim-plugin
|
dart-lang/dart-vim-plugin
|
||||||
david-a-wheeler/vim-metamath
|
david-a-wheeler/vim-metamath
|
||||||
davidhalter/jedi-vim
|
davidhalter/jedi-vim
|
||||||
dcharbon/vim-flatbuffers
|
dcharbon/vim-flatbuffers
|
||||||
|
dense-analysis/ale
|
||||||
|
deoplete-plugins/deoplete-clang
|
||||||
deoplete-plugins/deoplete-dictionary
|
deoplete-plugins/deoplete-dictionary
|
||||||
|
deoplete-plugins/deoplete-go
|
||||||
deoplete-plugins/deoplete-jedi
|
deoplete-plugins/deoplete-jedi
|
||||||
deoplete-plugins/deoplete-zsh
|
deoplete-plugins/deoplete-zsh
|
||||||
derekelkins/agda-vim
|
derekelkins/agda-vim
|
||||||
derekwyatt/vim-scala
|
derekwyatt/vim-scala
|
||||||
dhruvasagar/vim-prosession
|
dhruvasagar/vim-prosession
|
||||||
dhruvasagar/vim-table-mode
|
dhruvasagar/vim-table-mode
|
||||||
digitaltoad/vim-jade
|
digitaltoad/vim-pug
|
||||||
direnv/direnv.vim
|
direnv/direnv.vim
|
||||||
dleonard0/pony-vim-syntax
|
dleonard0/pony-vim-syntax
|
||||||
dracula/vim
|
dracula/vim
|
||||||
@ -86,7 +87,7 @@ easymotion/vim-easymotion
|
|||||||
editorconfig/editorconfig-vim
|
editorconfig/editorconfig-vim
|
||||||
ehamberg/vim-cute-python
|
ehamberg/vim-cute-python
|
||||||
eikenb/acp
|
eikenb/acp
|
||||||
elixir-lang/vim-elixir
|
elixir-editors/vim-elixir
|
||||||
elmcast/elm-vim
|
elmcast/elm-vim
|
||||||
elzr/vim-json
|
elzr/vim-json
|
||||||
embear/vim-localvimrc
|
embear/vim-localvimrc
|
||||||
@ -109,7 +110,6 @@ garbas/vim-snipmate
|
|||||||
gentoo/gentoo-syntax
|
gentoo/gentoo-syntax
|
||||||
gibiansky/vim-textobj-haskell
|
gibiansky/vim-textobj-haskell
|
||||||
glts/vim-textobj-comment
|
glts/vim-textobj-comment
|
||||||
gmarik/vundle
|
|
||||||
godlygeek/csapprox
|
godlygeek/csapprox
|
||||||
godlygeek/tabular
|
godlygeek/tabular
|
||||||
google/vim-codefmt
|
google/vim-codefmt
|
||||||
@ -118,6 +118,7 @@ google/vim-maktaba
|
|||||||
gorkunov/smartpairs.vim
|
gorkunov/smartpairs.vim
|
||||||
gotcha/vimelette
|
gotcha/vimelette
|
||||||
gregsexton/gitv
|
gregsexton/gitv
|
||||||
|
gu-fan/riv.vim
|
||||||
guns/vim-clojure-highlight
|
guns/vim-clojure-highlight
|
||||||
guns/vim-clojure-static
|
guns/vim-clojure-static
|
||||||
guns/vim-sexp
|
guns/vim-sexp
|
||||||
@ -148,7 +149,7 @@ itchyny/vim-cursorword
|
|||||||
itchyny/vim-gitbranch
|
itchyny/vim-gitbranch
|
||||||
ivanov/vim-ipython
|
ivanov/vim-ipython
|
||||||
jacoborus/tender.vim
|
jacoborus/tender.vim
|
||||||
janko-m/vim-test
|
janko/vim-test
|
||||||
jaredgorski/SpaceCamp
|
jaredgorski/SpaceCamp
|
||||||
JazzCore/ctrlp-cmatcher
|
JazzCore/ctrlp-cmatcher
|
||||||
jceb/vim-hier
|
jceb/vim-hier
|
||||||
@ -260,7 +261,7 @@ markonm/traces.vim
|
|||||||
martinda/Jenkinsfile-vim-syntax
|
martinda/Jenkinsfile-vim-syntax
|
||||||
mattn/calendar-vim as mattn-calendar-vim
|
mattn/calendar-vim as mattn-calendar-vim
|
||||||
mattn/emmet-vim
|
mattn/emmet-vim
|
||||||
mattn/gist-vim
|
mattn/vim-gist
|
||||||
mattn/webapi-vim
|
mattn/webapi-vim
|
||||||
matze/vim-move
|
matze/vim-move
|
||||||
maximbaz/lightline-ale
|
maximbaz/lightline-ale
|
||||||
@ -315,8 +316,8 @@ neoclide/coc-neco
|
|||||||
neoclide/coc-pairs
|
neoclide/coc-pairs
|
||||||
neoclide/coc-prettier
|
neoclide/coc-prettier
|
||||||
neoclide/coc-python
|
neoclide/coc-python
|
||||||
neoclide/coc-rls
|
|
||||||
neoclide/coc-r-lsp
|
neoclide/coc-r-lsp
|
||||||
|
neoclide/coc-rls
|
||||||
neoclide/coc-smartf
|
neoclide/coc-smartf
|
||||||
neoclide/coc-snippets
|
neoclide/coc-snippets
|
||||||
neoclide/coc-solargraph
|
neoclide/coc-solargraph
|
||||||
@ -330,12 +331,14 @@ neoclide/coc-vimtex
|
|||||||
neoclide/coc-wxml
|
neoclide/coc-wxml
|
||||||
neoclide/coc-yaml
|
neoclide/coc-yaml
|
||||||
neoclide/coc-yank
|
neoclide/coc-yank
|
||||||
|
neoclide/denite-extra
|
||||||
|
neoclide/denite-git
|
||||||
neoclide/vim-easygit
|
neoclide/vim-easygit
|
||||||
neomake/neomake
|
neomake/neomake
|
||||||
|
neovim/nvim-lsp
|
||||||
|
neovim/nvimdev.nvim
|
||||||
neovimhaskell/haskell-vim
|
neovimhaskell/haskell-vim
|
||||||
neovimhaskell/nvim-hs.vim
|
neovimhaskell/nvim-hs.vim
|
||||||
neovim/nvimdev.nvim
|
|
||||||
neovim/nvim-lsp
|
|
||||||
neutaaaaan/iosvkem
|
neutaaaaan/iosvkem
|
||||||
nfnty/vim-nftables
|
nfnty/vim-nftables
|
||||||
nicoe/deoplete-khard
|
nicoe/deoplete-khard
|
||||||
@ -356,7 +359,7 @@ osyo-manga/vim-watchdogs
|
|||||||
pangloss/vim-javascript
|
pangloss/vim-javascript
|
||||||
parsonsmatt/intero-neovim
|
parsonsmatt/intero-neovim
|
||||||
pearofducks/ansible-vim
|
pearofducks/ansible-vim
|
||||||
peder2tm/sved
|
peterbjorgensen/sved
|
||||||
peterhoeg/vim-qml
|
peterhoeg/vim-qml
|
||||||
phanviet/vim-monokai-pro
|
phanviet/vim-monokai-pro
|
||||||
plasticboy/vim-markdown
|
plasticboy/vim-markdown
|
||||||
@ -364,7 +367,10 @@ ponko2/deoplete-fish
|
|||||||
posva/vim-vue
|
posva/vim-vue
|
||||||
powerman/vim-plugin-AnsiEsc
|
powerman/vim-plugin-AnsiEsc
|
||||||
PProvost/vim-ps1
|
PProvost/vim-ps1
|
||||||
|
preservim/nerdcommenter
|
||||||
|
preservim/nerdtree
|
||||||
ptzz/lf.vim
|
ptzz/lf.vim
|
||||||
|
purescript-contrib/purescript-vim
|
||||||
python-mode/python-mode
|
python-mode/python-mode
|
||||||
qnighy/lalrpop.vim
|
qnighy/lalrpop.vim
|
||||||
qpkorr/vim-bufkill
|
qpkorr/vim-bufkill
|
||||||
@ -373,7 +379,6 @@ racer-rust/vim-racer
|
|||||||
rafaqz/ranger.vim
|
rafaqz/ranger.vim
|
||||||
rafi/awesome-vim-colorschemes
|
rafi/awesome-vim-colorschemes
|
||||||
raghur/vim-ghost
|
raghur/vim-ghost
|
||||||
raichoo/purescript-vim
|
|
||||||
Raimondi/delimitMate
|
Raimondi/delimitMate
|
||||||
rakr/vim-one
|
rakr/vim-one
|
||||||
rbgrouleff/bclose.vim
|
rbgrouleff/bclose.vim
|
||||||
@ -382,7 +387,6 @@ reedes/vim-wordy
|
|||||||
rhysd/committia.vim
|
rhysd/committia.vim
|
||||||
rhysd/vim-grammarous
|
rhysd/vim-grammarous
|
||||||
rhysd/vim-operator-surround
|
rhysd/vim-operator-surround
|
||||||
Rip-Rip/clang_complete
|
|
||||||
rodjek/vim-puppet
|
rodjek/vim-puppet
|
||||||
romainl/vim-cool
|
romainl/vim-cool
|
||||||
ron89/thesaurus_query.vim
|
ron89/thesaurus_query.vim
|
||||||
@ -392,15 +396,11 @@ roxma/nvim-yarp
|
|||||||
RRethy/vim-illuminate
|
RRethy/vim-illuminate
|
||||||
rust-lang/rust.vim
|
rust-lang/rust.vim
|
||||||
ryanoasis/vim-devicons
|
ryanoasis/vim-devicons
|
||||||
Rykka/riv.vim
|
|
||||||
ryvnf/readline.vim
|
ryvnf/readline.vim
|
||||||
sakhnik/nvim-gdb
|
sakhnik/nvim-gdb
|
||||||
saltstack/salt-vim
|
saltstack/salt-vim
|
||||||
samoshkin/vim-mergetool
|
samoshkin/vim-mergetool
|
||||||
sbdchd/neoformat
|
sbdchd/neoformat
|
||||||
scrooloose/nerdcommenter
|
|
||||||
scrooloose/nerdtree
|
|
||||||
scrooloose/syntastic
|
|
||||||
sebastianmarkow/deoplete-rust
|
sebastianmarkow/deoplete-rust
|
||||||
SevereOverfl0w/deoplete-github
|
SevereOverfl0w/deoplete-github
|
||||||
sheerun/vim-polyglot
|
sheerun/vim-polyglot
|
||||||
@ -502,21 +502,18 @@ uarun/vim-protobuf
|
|||||||
udalov/kotlin-vim
|
udalov/kotlin-vim
|
||||||
ujihisa/neco-look
|
ujihisa/neco-look
|
||||||
unblevable/quick-scope
|
unblevable/quick-scope
|
||||||
valloric/youcompleteme
|
|
||||||
Valodim/deoplete-notmuch
|
Valodim/deoplete-notmuch
|
||||||
vhda/verilog_systemverilog.vim
|
vhda/verilog_systemverilog.vim
|
||||||
vim-airline/vim-airline
|
vim-airline/vim-airline
|
||||||
vim-airline/vim-airline-themes
|
vim-airline/vim-airline-themes
|
||||||
vimlab/split-term.vim
|
|
||||||
vimoutliner/vimoutliner
|
|
||||||
vim-pandoc/vim-pandoc
|
vim-pandoc/vim-pandoc
|
||||||
vim-pandoc/vim-pandoc-after
|
vim-pandoc/vim-pandoc-after
|
||||||
vim-pandoc/vim-pandoc-syntax
|
vim-pandoc/vim-pandoc-syntax
|
||||||
vim-ruby/vim-ruby
|
vim-ruby/vim-ruby
|
||||||
|
vim-scripts/a.vim
|
||||||
vim-scripts/align
|
vim-scripts/align
|
||||||
vim-scripts/argtextobj.vim
|
vim-scripts/argtextobj.vim
|
||||||
vim-scripts/autoload_cscope.vim
|
vim-scripts/autoload_cscope.vim
|
||||||
vim-scripts/a.vim
|
|
||||||
vim-scripts/bats.vim
|
vim-scripts/bats.vim
|
||||||
vim-scripts/BufOnly.vim
|
vim-scripts/BufOnly.vim
|
||||||
vim-scripts/changeColorScheme.vim
|
vim-scripts/changeColorScheme.vim
|
||||||
@ -539,12 +536,15 @@ vim-scripts/taglist.vim
|
|||||||
vim-scripts/utl.vim
|
vim-scripts/utl.vim
|
||||||
vim-scripts/wombat256.vim
|
vim-scripts/wombat256.vim
|
||||||
vim-scripts/YankRing.vim
|
vim-scripts/YankRing.vim
|
||||||
|
vim-syntastic/syntastic
|
||||||
vim-utils/vim-husk
|
vim-utils/vim-husk
|
||||||
|
vimlab/split-term.vim
|
||||||
|
vimoutliner/vimoutliner
|
||||||
vimwiki/vimwiki
|
vimwiki/vimwiki
|
||||||
vito-c/jq.vim
|
vito-c/jq.vim
|
||||||
vmchale/ats-vim
|
vmchale/ats-vim
|
||||||
vmchale/dhall-vim
|
vmchale/dhall-vim
|
||||||
w0rp/ale
|
VundleVim/Vundle.vim
|
||||||
wakatime/vim-wakatime
|
wakatime/vim-wakatime
|
||||||
wannesm/wmgraphviz.vim
|
wannesm/wmgraphviz.vim
|
||||||
wellle/targets.vim
|
wellle/targets.vim
|
||||||
@ -553,11 +553,11 @@ will133/vim-dirdiff
|
|||||||
wincent/command-t
|
wincent/command-t
|
||||||
wincent/ferret
|
wincent/ferret
|
||||||
wsdjeg/vim-fetch
|
wsdjeg/vim-fetch
|
||||||
|
xavierd/clang_complete
|
||||||
xolox/vim-easytags
|
xolox/vim-easytags
|
||||||
xolox/vim-misc
|
xolox/vim-misc
|
||||||
xuhdev/vim-latex-live-preview
|
xuhdev/vim-latex-live-preview
|
||||||
|
ycm-core/YouCompleteMe
|
||||||
Yggdroot/indentLine
|
Yggdroot/indentLine
|
||||||
zah/nim.vim
|
zah/nim.vim
|
||||||
zchee/deoplete-clang
|
ziglang/zig.vim
|
||||||
zchee/deoplete-go
|
|
||||||
zig-lang/zig.vim
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user