luaPackages.nlua: init at 0.1

a wrapper around neovim to use it as a lua interpreter
This commit is contained in:
Matthieu Coudron 2023-12-17 19:46:49 +01:00
parent 8e9d4495c7
commit 6946f33a2e
2 changed files with 24 additions and 0 deletions

View File

@ -95,6 +95,7 @@ mediator_lua,,,,,,
middleclass,,,,,,
mpack,,,,,,
moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn
nlua,,,,,,teto
nui.nvim,,,,,,mrcjkb
nvim-cmp,https://github.com/hrsh7th/nvim-cmp,,,,,
penlight,https://github.com/lunarmodules/Penlight.git,,,,,alerque

1 name src ref server version luaversion maintainers
95 middleclass
96 mpack
97 moonscript https://github.com/leafo/moonscript.git dev-1 arobyn
98 nlua teto
99 nui.nvim mrcjkb
100 nvim-cmp https://github.com/hrsh7th/nvim-cmp
101 penlight https://github.com/lunarmodules/Penlight.git alerque

View File

@ -2724,6 +2724,29 @@ buildLuarocksPackage {
};
}) {};
nlua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }:
buildLuarocksPackage {
pname = "nlua";
version = "0.1.0-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/nlua-0.1.0-1.rockspec";
sha256 = "14ynhy85m2prawym1ap1kplkbicafbczpggzgdnji00frwqa1zvv";
}).outPath;
src = fetchzip {
url = "https://github.com/mfussenegger/nlua/archive/v0.1.0.zip";
sha256 = "1x3pbv5ngbk0sjgwfpjsv3x49wzq4x29d9rm0hgyyb2g2mwag3jc";
};
disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua ];
meta = {
homepage = "https://github.com/mfussenegger/nlua";
description = "Neovim as Lua interpreter";
license.fullName = "GPL-3.0";
};
}) {};
nui-nvim = callPackage({ buildLuarocksPackage, fetchgit, fetchurl }:
buildLuarocksPackage {
pname = "nui.nvim";