Skip to content

Commit 3b33c51

Browse files
committed
vimPlugins.mini-test: build from lua package
I needed the lua package to run the tests for grug-far-nvim
1 parent 8cf288a commit 3b33c51

File tree

4 files changed

+24
-13
lines changed

4 files changed

+24
-13
lines changed

maintainers/scripts/luarocks-packages.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ markdown,,,,,,
116116
mediator_lua,,,,,,
117117
middleclass,,,,,,
118118
mimetypes,,,,,,
119+
mini.test,,,,,,
119120
moonscript,https://raw.githubusercontent.com/leafo/moonscript/master/moonscript-dev-1.rockspec,,,,,arobyn
120121
mpack,,,,,,
121122
neorg,,,,,,GaetanLepage

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7975,19 +7975,6 @@ final: prev:
79757975
meta.hydraPlatforms = [ ];
79767976
};
79777977

7978-
mini-test = buildVimPlugin {
7979-
pname = "mini.test";
7980-
version = "2025-02-24";
7981-
src = fetchFromGitHub {
7982-
owner = "echasnovski";
7983-
repo = "mini.test";
7984-
rev = "82ae4d87a23faa27e7e4119d4a5cf5897cbf1b70";
7985-
sha256 = "0n3n7j8lkxp6mc0wf80ysnwxfw29zjqyfs3ghjl518xbsvjbgcz6";
7986-
};
7987-
meta.homepage = "https://github.com/echasnovski/mini.test/";
7988-
meta.hydraPlatforms = [ ];
7989-
};
7990-
79917978
mini-trailspace = buildVimPlugin {
79927979
pname = "mini.trailspace";
79937980
version = "2025-01-31";

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4035,6 +4035,7 @@ in
40354035
"lzextras"
40364036
"lzn-auto-require"
40374037
"middleclass"
4038+
"mini-test"
40384039
"neorg"
40394040
"neotest"
40404041
"nui-nvim"

pkgs/development/lua-modules/generated-packages.nix

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2772,6 +2772,28 @@ buildLuarocksPackage {
27722772
};
27732773
}) {};
27742774

2775+
mini-test = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
2776+
buildLuarocksPackage {
2777+
pname = "mini.test";
2778+
version = "0.15.0-1";
2779+
knownRockspec = (fetchurl {
2780+
url = "mirror://luarocks/mini.test-0.15.0-1.rockspec";
2781+
sha256 = "1shfgfcjy3ab3a1mn79w4sw3nf6mf8fmdph6h7bxn5nhyhzbfxvk";
2782+
}).outPath;
2783+
src = fetchzip {
2784+
url = "https://github.com/echasnovski/mini.test/archive/v0.15.0.zip";
2785+
sha256 = "02zslska1g4ixy51slbvlxbjzcys0spc4wh200q8mwv4ipiignrn";
2786+
};
2787+
2788+
disabled = luaOlder "5.1";
2789+
2790+
meta = {
2791+
homepage = "https://github.com/echasnovski/mini.test";
2792+
description = "Test neovim plugins. Part of the mini.nvim suite.";
2793+
license.fullName = "MIT";
2794+
};
2795+
}) {};
2796+
27752797
moonscript = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, lpeg, luaOlder, luafilesystem }:
27762798
buildLuarocksPackage {
27772799
pname = "moonscript";

0 commit comments

Comments
 (0)