mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
luaPackages.nlua: init at 0.1
a wrapper around neovim to use it as a lua interpreter
This commit is contained in:
parent
8e9d4495c7
commit
6946f33a2e
2 changed files with 24 additions and 0 deletions
|
@ -95,6 +95,7 @@ mediator_lua,,,,,,
|
||||||
middleclass,,,,,,
|
middleclass,,,,,,
|
||||||
mpack,,,,,,
|
mpack,,,,,,
|
||||||
moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn
|
moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn
|
||||||
|
nlua,,,,,,teto
|
||||||
nui.nvim,,,,,,mrcjkb
|
nui.nvim,,,,,,mrcjkb
|
||||||
nvim-cmp,https://github.com/hrsh7th/nvim-cmp,,,,,
|
nvim-cmp,https://github.com/hrsh7th/nvim-cmp,,,,,
|
||||||
penlight,https://github.com/lunarmodules/Penlight.git,,,,,alerque
|
penlight,https://github.com/lunarmodules/Penlight.git,,,,,alerque
|
||||||
|
|
|
|
@ -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 }:
|
nui-nvim = callPackage({ buildLuarocksPackage, fetchgit, fetchurl }:
|
||||||
buildLuarocksPackage {
|
buildLuarocksPackage {
|
||||||
pname = "nui.nvim";
|
pname = "nui.nvim";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue