vimPlugins.mini-test: build from lua package

I needed the lua package to run the tests for grug-far-nvim
This commit is contained in:
Matthieu C. 2025-03-04 22:09:34 +01:00 committed by Matthieu Coudron
parent 8cf288aea9
commit 3b33c51443
4 changed files with 24 additions and 13 deletions

View file

@ -116,6 +116,7 @@ markdown,,,,,,
mediator_lua,,,,,, mediator_lua,,,,,,
middleclass,,,,,, middleclass,,,,,,
mimetypes,,,,,, mimetypes,,,,,,
mini.test,,,,,,
moonscript,https://raw.githubusercontent.com/leafo/moonscript/master/moonscript-dev-1.rockspec,,,,,arobyn moonscript,https://raw.githubusercontent.com/leafo/moonscript/master/moonscript-dev-1.rockspec,,,,,arobyn
mpack,,,,,, mpack,,,,,,
neorg,,,,,,GaetanLepage neorg,,,,,,GaetanLepage

1 name rockspec ref server version luaversion maintainers
116 mediator_lua
117 middleclass
118 mimetypes
119 mini.test
120 moonscript https://raw.githubusercontent.com/leafo/moonscript/master/moonscript-dev-1.rockspec arobyn
121 mpack
122 neorg GaetanLepage

View file

@ -7975,19 +7975,6 @@ final: prev:
meta.hydraPlatforms = [ ]; meta.hydraPlatforms = [ ];
}; };
mini-test = buildVimPlugin {
pname = "mini.test";
version = "2025-02-24";
src = fetchFromGitHub {
owner = "echasnovski";
repo = "mini.test";
rev = "82ae4d87a23faa27e7e4119d4a5cf5897cbf1b70";
sha256 = "0n3n7j8lkxp6mc0wf80ysnwxfw29zjqyfs3ghjl518xbsvjbgcz6";
};
meta.homepage = "https://github.com/echasnovski/mini.test/";
meta.hydraPlatforms = [ ];
};
mini-trailspace = buildVimPlugin { mini-trailspace = buildVimPlugin {
pname = "mini.trailspace"; pname = "mini.trailspace";
version = "2025-01-31"; version = "2025-01-31";

View file

@ -4035,6 +4035,7 @@ in
"lzextras" "lzextras"
"lzn-auto-require" "lzn-auto-require"
"middleclass" "middleclass"
"mini-test"
"neorg" "neorg"
"neotest" "neotest"
"nui-nvim" "nui-nvim"

View file

@ -2772,6 +2772,28 @@ buildLuarocksPackage {
}; };
}) {}; }) {};
mini-test = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
buildLuarocksPackage {
pname = "mini.test";
version = "0.15.0-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/mini.test-0.15.0-1.rockspec";
sha256 = "1shfgfcjy3ab3a1mn79w4sw3nf6mf8fmdph6h7bxn5nhyhzbfxvk";
}).outPath;
src = fetchzip {
url = "https://github.com/echasnovski/mini.test/archive/v0.15.0.zip";
sha256 = "02zslska1g4ixy51slbvlxbjzcys0spc4wh200q8mwv4ipiignrn";
};
disabled = luaOlder "5.1";
meta = {
homepage = "https://github.com/echasnovski/mini.test";
description = "Test neovim plugins. Part of the mini.nvim suite.";
license.fullName = "MIT";
};
}) {};
moonscript = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, lpeg, luaOlder, luafilesystem }: moonscript = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, lpeg, luaOlder, luafilesystem }:
buildLuarocksPackage { buildLuarocksPackage {
pname = "moonscript"; pname = "moonscript";