Merge pull request #169140 from mirrexagon/kakoune-plugin-updates

Kakoune plugin updates

authored by

Matthieu Coudron and committed by
GitHub
50438b6b 6c6bc2f6

+92 -97
+56 -56
pkgs/applications/editors/kakoune/plugins/generated.nix
··· 1 1 # This file has been generated by ./pkgs/applications/editors/kakoune/plugins/update.py. Do not edit! 2 2 { lib, buildKakounePluginFrom2Nix, fetchFromGitHub, overrides ? (self: super: {}) }: 3 3 let 4 - packages = ( self: 4 + packages = ( self: 5 5 { 6 6 active-window-kak = buildKakounePluginFrom2Nix { 7 7 pname = "active-window-kak"; 8 - version = "2020-05-13"; 8 + version = "2022-11-14"; 9 9 src = fetchFromGitHub { 10 10 owner = "greenfork"; 11 11 repo = "active-window.kak"; 12 - rev = "988db69cfbb88bd741d089bb43b0be551693e7c1"; 12 + rev = "36bf0364eed856a52cddf274072e9f255902c0ee"; 13 13 sha256 = "1fv1cp9q212gamf9z2papl5xcl2w31fpcmbgdzbxcxdl1pvfsqp8"; 14 14 }; 15 15 meta.homepage = "https://github.com/greenfork/active-window.kak/"; ··· 17 17 18 18 auto-pairs-kak = buildKakounePluginFrom2Nix { 19 19 pname = "auto-pairs-kak"; 20 - version = "2021-03-28"; 20 + version = "2022-03-13"; 21 21 src = fetchFromGitHub { 22 22 owner = "alexherbo2"; 23 23 repo = "auto-pairs.kak"; 24 - rev = "526779a26a5cf5f48e7c4f5c5fecca274968a737"; 25 - sha256 = "0gkhvwxyh8pdfydrj7zkfidk0drrbhvdi1fq3pkzllna3vz8q181"; 24 + rev = "bfdcb8566076f653ec707f86207f83ea75173ce9"; 25 + sha256 = "0vx9msk8wlj8p9qf6yiv9gzrbanb5w245cidnx5cppgld2w842ij"; 26 26 }; 27 27 meta.homepage = "https://github.com/alexherbo2/auto-pairs.kak/"; 28 28 }; ··· 41 41 42 42 fzf-kak = buildKakounePluginFrom2Nix { 43 43 pname = "fzf-kak"; 44 - version = "2021-04-03"; 44 + version = "2022-10-11"; 45 45 src = fetchFromGitHub { 46 46 owner = "andreyorst"; 47 47 repo = "fzf.kak"; 48 - rev = "1b3a3beebbe7134e671fde2ef2f4242b34ae2c60"; 49 - sha256 = "0rsd65zcizbq3isy8576gqw7mcml5ixw84padaz6ndwfif5fv701"; 48 + rev = "6910bfb4c23cac59c17f5b7850f7bd49aba3e5cb"; 49 + sha256 = "1hlals4d9x5i4mwigxjlx4f9xgc9rw15yzvbvc64cminxic2i3i8"; 50 50 }; 51 51 meta.homepage = "https://github.com/andreyorst/fzf.kak/"; 52 52 }; 53 53 54 54 kakboard = buildKakounePluginFrom2Nix { 55 55 pname = "kakboard"; 56 - version = "2020-05-09"; 56 + version = "2022-04-02"; 57 57 src = fetchFromGitHub { 58 58 owner = "lePerdu"; 59 59 repo = "kakboard"; 60 - rev = "2f13f5cd99591b76ad5cba230815b80138825120"; 61 - sha256 = "1kvnbsv20y09rlnyar87qr0h26i16qsq801krswvxcwhid7ijlvd"; 60 + rev = "5759dcc5af593ff88a7faecc41a8f549ec440771"; 61 + sha256 = "0g8q0rkdnzsfvlibjd1zfcapngfli5aa3qrgmkgdi24n9ad8wzvh"; 62 62 }; 63 63 meta.homepage = "https://github.com/lePerdu/kakboard/"; 64 64 }; 65 65 66 66 kakoune-buffer-switcher = buildKakounePluginFrom2Nix { 67 67 pname = "kakoune-buffer-switcher"; 68 - version = "2020-12-27"; 68 + version = "2022-09-18"; 69 69 src = fetchFromGitHub { 70 70 owner = "occivink"; 71 71 repo = "kakoune-buffer-switcher"; 72 - rev = "6a27c45db87a23070c34fab36d2f8d812cd002a6"; 73 - sha256 = "1rmwy317908v8p54806m721bpzm8sgygb9abri34537ka6r05y5j"; 72 + rev = "21319aa08e7c9072dcf1a4f2f5583887d701fc37"; 73 + sha256 = "0lnvcb4khw1ywxd369phd2xibsh5f6qc11x5vrla331wr1q7y8j8"; 74 74 }; 75 75 meta.homepage = "https://github.com/occivink/kakoune-buffer-switcher/"; 76 76 }; 77 77 78 78 kakoune-buffers = buildKakounePluginFrom2Nix { 79 79 pname = "kakoune-buffers"; 80 - version = "2021-04-02"; 80 + version = "2021-11-10"; 81 81 src = fetchFromGitHub { 82 82 owner = "Delapouite"; 83 83 repo = "kakoune-buffers"; 84 - rev = "7832ea7a4528363482f5684f16cbcebcbec0adfd"; 85 - sha256 = "196d36jww6asf5zr03l1rwg49kkv16s2d4zyryb2m3zvy7prf2bb"; 84 + rev = "6b2081f5b7d58c72de319a5cba7bf628b6802881"; 85 + sha256 = "0pbrgydifw2a8yf3ringyqq91fccfv4lm4v8sk5349hbcz6apr4c"; 86 86 }; 87 87 meta.homepage = "https://github.com/Delapouite/kakoune-buffers/"; 88 88 }; ··· 101 101 102 102 kakoune-extra-filetypes = buildKakounePluginFrom2Nix { 103 103 pname = "kakoune-extra-filetypes"; 104 - version = "2021-01-15"; 104 + version = "2021-05-16"; 105 105 src = fetchFromGitHub { 106 106 owner = "kakoune-editor"; 107 107 repo = "kakoune-extra-filetypes"; 108 - rev = "c6f8aaccd8c9cd6b487964c8943416e21fbe7c18"; 109 - sha256 = "1vkff8xbycfgxv8x09cvc79qcg5fdzn2x77mbmifmkq236khrwrg"; 108 + rev = "8ffeec08068edfee42e076c5f6d56a54a498bad2"; 109 + sha256 = "1v87aqfk2jcysbdls3mh2v1yafk1albbinfxsxp11m4nxd2b9agl"; 110 110 }; 111 111 meta.homepage = "https://github.com/kakoune-editor/kakoune-extra-filetypes/"; 112 112 }; ··· 125 125 126 126 kakoune-registers = buildKakounePluginFrom2Nix { 127 127 pname = "kakoune-registers"; 128 - version = "2020-06-19"; 128 + version = "2022-03-01"; 129 129 src = fetchFromGitHub { 130 130 owner = "Delapouite"; 131 131 repo = "kakoune-registers"; 132 - rev = "9531947baecd83c1d4c3bea0adf10f4462f1e120"; 133 - sha256 = "08v9ndghh7wvr8rsrqm05gksk9ai5vnwvw9gwqasbppb48cv4a8c"; 132 + rev = "b8ca8e04ebe50671a937bceccba69c62b68ae8b0"; 133 + sha256 = "0vy5dc6jly5xqcck0vhnmbjxjdy3615b6d329v0b04amzy0hdlck"; 134 134 }; 135 135 meta.homepage = "https://github.com/Delapouite/kakoune-registers/"; 136 136 }; 137 137 138 138 kakoune-vertical-selection = buildKakounePluginFrom2Nix { 139 139 pname = "kakoune-vertical-selection"; 140 - version = "2019-04-11"; 140 + version = "2022-11-29"; 141 141 src = fetchFromGitHub { 142 142 owner = "occivink"; 143 143 repo = "kakoune-vertical-selection"; 144 - rev = "c420f8b867ce47375fac303886e31623669a42b7"; 145 - sha256 = "13jdyd2j45wvgqvxdzw9zww14ly93bqjb6700zzxj7mkbiff6wsb"; 144 + rev = "227b3fd9643e6e3b9d36fab324081a988c038e21"; 145 + sha256 = "0ygqhlk31ilczpwws28iqya8i1qhnwkb5rw6bn2zqgxj428a1kqj"; 146 146 }; 147 147 meta.homepage = "https://github.com/occivink/kakoune-vertical-selection/"; 148 148 }; ··· 161 161 162 162 pandoc-kak = buildKakounePluginFrom2Nix { 163 163 pname = "pandoc-kak"; 164 - version = "2020-11-30"; 164 + version = "2021-06-29"; 165 165 src = fetchFromGitHub { 166 166 owner = "basbebe"; 167 167 repo = "pandoc.kak"; 168 - rev = "63979f7e08b86d80436bbe2d9dba173a56057b97"; 169 - sha256 = "16pmmnpyxf8r7gpj8g1lwa960nscjmcl52n1a7s6xcqkp9856wxs"; 168 + rev = "e9597e8df58427884161ce27392a9558930832a7"; 169 + sha256 = "1baslidszbybx2ngdkm7wns2m5l27gc0mb3blhhydiav8fcfvc6m"; 170 170 }; 171 171 meta.homepage = "https://github.com/basbebe/pandoc.kak/"; 172 172 }; 173 173 174 174 powerline-kak = buildKakounePluginFrom2Nix { 175 175 pname = "powerline-kak"; 176 - version = "2021-04-06"; 176 + version = "2022-04-05"; 177 177 src = fetchFromGitHub { 178 178 owner = "andreyorst"; 179 179 repo = "powerline.kak"; 180 - rev = "6fa5ad383f2884f201d6e3ef07a4687c606df525"; 181 - sha256 = "1s7ggjby0bymq48njzhdvkkarmzl44803xv0dlnzrj7q9c3xv27a"; 180 + rev = "c5ef9a845bbd886c73ef00c0efff986e02d5f5d8"; 181 + sha256 = "1lshlnz5xrxzafxmb6w05g2i6nvi49aqyd8852k9l0lmzqryp7l2"; 182 182 }; 183 183 meta.homepage = "https://github.com/andreyorst/powerline.kak/"; 184 184 }; ··· 195 195 meta.homepage = "https://github.com/kakounedotcom/prelude.kak/"; 196 196 }; 197 197 198 - replace-mode-kak = buildKakounePluginFrom2Nix { 199 - pname = "replace-mode-kak"; 200 - version = "2020-10-07"; 201 - src = fetchFromGitHub { 202 - owner = "alexherbo2"; 203 - repo = "replace-mode.kak"; 204 - rev = "5f4c73cdbaf5aeb964ee35ad4b9081b233af90c0"; 205 - sha256 = "1cmylx99bm7jwfb4hclb69sdc4n8f29ssyy2byjiw53ni9rnc8q0"; 206 - }; 207 - meta.homepage = "https://github.com/alexherbo2/replace-mode.kak/"; 208 - }; 209 - 210 - sleuth-kak = buildKakounePluginFrom2Nix { 211 - pname = "sleuth-kak"; 212 - version = "2020-11-06"; 198 + smarttab-kak = buildKakounePluginFrom2Nix { 199 + pname = "smarttab-kak"; 200 + version = "2022-04-10"; 213 201 src = fetchFromGitHub { 214 - owner = "alexherbo2"; 215 - repo = "sleuth.kak"; 216 - rev = "911db8bd208ad0d289b8fa15a2ac665ff39bd6bd"; 217 - sha256 = "0g41c0038fpmihqva71xl4vfbmvsp13i47gp6fnmaikajpynzc51"; 202 + owner = "andreyorst"; 203 + repo = "smarttab.kak"; 204 + rev = "86ac6599b13617ff938905ba4cdd8225d7eb6a2e"; 205 + sha256 = "1992xwf2aygzfd26lhg3yiy253g0hl1iagj0kq9yhcqg0i5xjcj9"; 218 206 }; 219 - meta.homepage = "https://github.com/alexherbo2/sleuth.kak/"; 207 + meta.homepage = "https://github.com/andreyorst/smarttab.kak/"; 220 208 }; 221 209 222 210 tabs-kak = buildKakounePluginFrom2Nix { 223 211 pname = "tabs-kak"; 224 - version = "2021-04-14"; 212 + version = "2021-07-05"; 225 213 src = fetchFromGitHub { 226 214 owner = "enricozb"; 227 215 repo = "tabs.kak"; 228 - rev = "048f83455ea7c671ab06e9b9578ac25e5de1d6fb"; 229 - sha256 = "0xswpsdf1bj54inl6vf2lzbjkxfc6g0fyv5kd6y9ahlh5irij8z0"; 216 + rev = "1cb19e410a3ef299f7a701fa5bec98c2d9284dac"; 217 + sha256 = "0hxa4mvw1k74vscxkm520c6g7iwcaqh8kj9g4mwy6n5kkvr1drf0"; 230 218 }; 231 219 meta.homepage = "https://github.com/enricozb/tabs.kak/"; 220 + }; 221 + 222 + zig-kak = buildKakounePluginFrom2Nix { 223 + pname = "zig-kak"; 224 + version = "2019-05-06"; 225 + src = fetchFromGitHub { 226 + owner = "adrusi"; 227 + repo = "zig.kak"; 228 + rev = "5a7e84e138324e6b8d140fe384dfe5cc941e26b7"; 229 + sha256 = "1w0nmhsgchjga4by9ch9md3pdc1bwn0p157g6zwnfpj7lnaahsmq"; 230 + }; 231 + meta.homepage = "https://github.com/adrusi/zig.kak/"; 232 232 }; 233 233 234 234 });
+19 -19
pkgs/applications/editors/kakoune/plugins/kakoune-plugin-names
··· 1 1 repo,branch,alias 2 - alexherbo2/auto-pairs.kak,, 3 - alexherbo2/replace-mode.kak,, 4 - alexherbo2/sleuth.kak,, 5 - andreyorst/fzf.kak,, 6 - andreyorst/powerline.kak,, 7 - basbebe/pandoc.kak,, 8 - danr/kakoune-easymotion,, 9 - Delapouite/kakoune-buffers,, 10 - Delapouite/kakoune-registers,, 11 - enricozb/tabs.kak@main,, 12 - greenfork/active-window.kak,, 13 - kakoune-editor/kakoune-extra-filetypes,, 14 - kakounedotcom/connect.kak,, 15 - kakounedotcom/prelude.kak,, 16 - lePerdu/kakboard,, 17 - listentolist/kakoune-rainbow,, 18 - mayjs/openscad.kak,, 19 - occivink/kakoune-buffer-switcher,, 20 - occivink/kakoune-vertical-selection,, 2 + https://github.com/greenfork/active-window.kak/,, 3 + https://github.com/alexherbo2/auto-pairs.kak/,, 4 + https://github.com/kakounedotcom/connect.kak/,, 5 + https://github.com/andreyorst/fzf.kak/,, 6 + https://github.com/lePerdu/kakboard/,, 7 + https://github.com/occivink/kakoune-buffer-switcher/,, 8 + https://github.com/Delapouite/kakoune-buffers/,, 9 + https://github.com/danr/kakoune-easymotion/,, 10 + https://github.com/kakoune-editor/kakoune-extra-filetypes/,, 11 + https://github.com/listentolist/kakoune-rainbow/,, 12 + https://github.com/Delapouite/kakoune-registers/,, 13 + https://github.com/occivink/kakoune-vertical-selection/,, 14 + https://github.com/mayjs/openscad.kak/,, 15 + https://github.com/basbebe/pandoc.kak/,, 16 + https://github.com/andreyorst/powerline.kak/,, 17 + https://github.com/kakounedotcom/prelude.kak/,, 18 + https://github.com/andreyorst/smarttab.kak/,, 19 + https://github.com/enricozb/tabs.kak/,, 20 + https://github.com/adrusi/zig.kak/,,
+17 -22
pkgs/applications/editors/kakoune/plugins/update.py
··· 42 42 class KakouneEditor(pluginupdate.Editor): 43 43 44 44 45 - def generate_nix(self, plugins: List[Tuple[str, str, pluginupdate.Plugin]], outfile: str): 46 - sorted_plugins = sorted(plugins, key=lambda v: v[2].name.lower()) 45 + def generate_nix(self, plugins: List[Tuple[pluginupdate.PluginDesc, pluginupdate.Plugin]], outfile: str): 46 + sorted_plugins = sorted(plugins, key=lambda v: v[1].name.lower()) 47 47 48 48 with open(outfile, "w+") as f: 49 49 f.write(HEADER) 50 50 f.write( 51 51 """ 52 - { lib, buildKakounePluginFrom2Nix, fetchFromGitHub, overrides ? (self: super: {}) }: 53 - let 54 - packages = ( self: 55 - {""" 52 + { lib, buildKakounePluginFrom2Nix, fetchFromGitHub, overrides ? (self: super: {}) }: 53 + let 54 + packages = ( self: 55 + {""" 56 56 ) 57 - for owner, repo, plugin in sorted_plugins: 57 + for pluginDesc, plugin in sorted_plugins: 58 58 if plugin.has_submodules: 59 59 submodule_attr = "\n fetchSubmodules = true;" 60 60 else: ··· 62 62 63 63 f.write( 64 64 f""" 65 - {plugin.normalized_name} = buildKakounePluginFrom2Nix {{ 66 - pname = "{plugin.normalized_name}"; 67 - version = "{plugin.version}"; 68 - src = fetchFromGitHub {{ 69 - owner = "{owner}"; 70 - repo = "{repo}"; 71 - rev = "{plugin.commit}"; 72 - sha256 = "{plugin.sha256}";{submodule_attr} 73 - }}; 74 - meta.homepage = "https://github.com/{owner}/{repo}/"; 75 - }}; 76 - """ 65 + {plugin.normalized_name} = buildKakounePluginFrom2Nix {{ 66 + pname = "{plugin.normalized_name}"; 67 + version = "{plugin.version}"; 68 + src = {pluginDesc.repo.as_nix(plugin)}; 69 + meta.homepage = "{pluginDesc.repo.url("")}"; 70 + }}; 71 + """ 77 72 ) 78 73 f.write( 79 74 """ 80 - }); 81 - in lib.fix' (lib.extends overrides packages) 82 - """ 75 + }); 76 + in lib.fix' (lib.extends overrides packages) 77 + """ 83 78 ) 84 79 print(f"updated {outfile}") 85 80