Commit 3b33c514 authored by Matthieu C.'s avatar Matthieu C. Committed by Matthieu Coudron
Browse files

vimPlugins.mini-test: build from lua package

I needed the lua package to run the tests for grug-far-nvim
parent 8cf288ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ markdown,,,,,,
mediator_lua,,,,,,
middleclass,,,,,,
mimetypes,,,,,,
mini.test,,,,,,
moonscript,https://raw.githubusercontent.com/leafo/moonscript/master/moonscript-dev-1.rockspec,,,,,arobyn
mpack,,,,,,
neorg,,,,,,GaetanLepage
+0 −13
Original line number Diff line number Diff line
@@ -7975,19 +7975,6 @@ final: prev:
    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 {
    pname = "mini.trailspace";
    version = "2025-01-31";
+1 −0
Original line number Diff line number Diff line
@@ -4035,6 +4035,7 @@ in
      "lzextras"
      "lzn-auto-require"
      "middleclass"
      "mini-test"
      "neorg"
      "neotest"
      "nui-nvim"
+22 −0
Original line number Diff line number Diff line
@@ -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 }:
buildLuarocksPackage {
  pname = "moonscript";