Skip to content

Commit 06f5bbd

Browse files
committed
vimPlugins/overrides: fix sorting
1 parent 014558c commit 06f5bbd

File tree

1 file changed

+37
-36
lines changed

1 file changed

+37
-36
lines changed

pkgs/applications/editors/vim/plugins/overrides.nix

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -200,19 +200,6 @@ in
200200

201201
blink-cmp = callPackage ./blink-cmp { };
202202

203-
# The GitHub repository returns 404, which breaks the update script
204-
vim-pony = buildVimPlugin {
205-
pname = "vim-pony";
206-
version = "2018-07-27";
207-
src = fetchFromGitHub {
208-
owner = "jakwings";
209-
repo = "vim-pony";
210-
rev = "b26f01a869000b73b80dceabd725d91bfe175b75";
211-
sha256 = "0if8g94m3xmpda80byfxs649w2is9ah1k8v3028nblan73zlc8x8";
212-
};
213-
meta.homepage = "https://github.com/jakwings/vim-pony/";
214-
};
215-
216203
chadtree = super.chadtree.overrideAttrs {
217204
buildInputs = [
218205
python3
@@ -1240,6 +1227,19 @@ in
12401227
nvimRequireCheck = "lean";
12411228
};
12421229

1230+
LeaderF = super.LeaderF.overrideAttrs {
1231+
nativeBuildInputs = [ python3.pkgs.setuptools ];
1232+
buildInputs = [ python3 ];
1233+
# rm */build/ to prevent dependencies on gcc
1234+
# strip the *.so to keep files small
1235+
buildPhase = ''
1236+
patchShebangs .
1237+
./install.sh
1238+
rm autoload/leaderf/fuzzyMatch_C/build/ -r
1239+
'';
1240+
stripDebugList = [ "autoload/leaderf/python" ];
1241+
};
1242+
12431243
leap-ast-nvim = super.leap-ast-nvim.overrideAttrs {
12441244
dependencies = with self; [
12451245
leap-nvim
@@ -1248,6 +1248,17 @@ in
12481248
nvimRequireCheck = "leap-ast";
12491249
};
12501250

1251+
leetcode-nvim = super.leetcode-nvim.overrideAttrs {
1252+
dependencies = with self; [
1253+
nui-nvim
1254+
plenary-nvim
1255+
telescope-nvim
1256+
];
1257+
1258+
doInstallCheck = true;
1259+
nvimRequireCheck = "leetcode";
1260+
};
1261+
12511262
lens-vim = super.lens-vim.overrideAttrs {
12521263
# remove duplicate g:lens#animate in doc/lens.txt
12531264
# https://github.com/NixOS/nixpkgs/pull/105810#issuecomment-740007985
@@ -2510,6 +2521,19 @@ in
25102521
dependencies = with self; [ denops-vim ];
25112522
};
25122523

2524+
# The GitHub repository returns 404, which breaks the update script
2525+
vim-pony = buildVimPlugin {
2526+
pname = "vim-pony";
2527+
version = "2018-07-27";
2528+
src = fetchFromGitHub {
2529+
owner = "jakwings";
2530+
repo = "vim-pony";
2531+
rev = "b26f01a869000b73b80dceabd725d91bfe175b75";
2532+
sha256 = "0if8g94m3xmpda80byfxs649w2is9ah1k8v3028nblan73zlc8x8";
2533+
};
2534+
meta.homepage = "https://github.com/jakwings/vim-pony/";
2535+
};
2536+
25132537
vim-sensible = super.vim-sensible.overrideAttrs {
25142538
patches = [ ./patches/vim-sensible/fix-nix-store-path-regex.patch ];
25152539
};
@@ -2675,17 +2699,6 @@ in
26752699
nvimRequireCheck = "yazi";
26762700
};
26772701

2678-
leetcode-nvim = super.leetcode-nvim.overrideAttrs {
2679-
dependencies = with self; [
2680-
nui-nvim
2681-
plenary-nvim
2682-
telescope-nvim
2683-
];
2684-
2685-
doInstallCheck = true;
2686-
nvimRequireCheck = "leetcode";
2687-
};
2688-
26892702
YouCompleteMe = super.YouCompleteMe.overrideAttrs {
26902703
buildPhase = ''
26912704
substituteInPlace plugin/youcompleteme.vim \
@@ -2716,18 +2729,6 @@ in
27162729
--replace "'zoxide_executable', 'zoxide'" "'zoxide_executable', '${zoxide}/bin/zoxide'"
27172730
'';
27182731
};
2719-
LeaderF = super.LeaderF.overrideAttrs {
2720-
nativeBuildInputs = [ python3.pkgs.setuptools ];
2721-
buildInputs = [ python3 ];
2722-
# rm */build/ to prevent dependencies on gcc
2723-
# strip the *.so to keep files small
2724-
buildPhase = ''
2725-
patchShebangs .
2726-
./install.sh
2727-
rm autoload/leaderf/fuzzyMatch_C/build/ -r
2728-
'';
2729-
stripDebugList = [ "autoload/leaderf/python" ];
2730-
};
27312732
}
27322733
// (
27332734
let

0 commit comments

Comments
 (0)