Merge pull request #258819 from teto/bump-luarocks-packages

This commit is contained in:
Matthieu Coudron
2023-10-22 14:17:12 +02:00
committed by GitHub
8 changed files with 543 additions and 473 deletions
+10 -11
View File
@@ -1,9 +1,9 @@
name,src,ref,server,version,luaversion,maintainers
alt-getopt,,,,,,arobyn
bit32,,,,5.3.0-1,5.1,lblasc
argparse,https://github.com/luarocks/argparse.git,,,,,
basexx,https://github.com/teto/basexx.git,,,,,
binaryheap,https://github.com/Tieske/binaryheap.lua,,,,,vcunat
argparse,,,,,,
basexx,,,,,,
binaryheap,,,,,,vcunat
busted,,,,,,
cassowary,,,,,,marsam alerque
cldr,,,,,,alerque
@@ -12,8 +12,7 @@ cosmo,,,,,,marsam
coxpcall,,,,1.17.0-1,,
cqueues,,,,,,vcunat
cyan,,,,,,
cyrussasl,https://github.com/JorjBauer/lua-cyrussasl.git,,,,,
digestif,https://github.com/astoff/digestif.git,,,0.2-1,5.3,
digestif,https://github.com/astoff/digestif.git,,,,5.3,
dkjson,,,,,,
fennel,,,,,,misterio77
ferris.nvim,,,,,,mrcjkb
@@ -25,7 +24,7 @@ http,,,,0.3-0,,vcunat
inspect,,,,,,
jsregexp,,,,,,
ldbus,,,http://luarocks.org/dev,,,
ldoc,https://github.com/stevedonovan/LDoc.git,,,,,
ldoc,,,,,,
lgi,,,,,,
linenoise,https://github.com/hoelzro/lua-linenoise.git,,,,,
ljsyscall,,,,,5.1,lblasc
@@ -41,7 +40,7 @@ lrexlib-posix,,,,,,
lua-cjson,,,,,,
lua-cmsgpack,,,,,,
lua-curl,,,,,,
lua-iconv,,,,,,
lua-ffi-zlib,,,,,,
lua-lsp,,,,,,
lua-messagepack,,,,,,
lua-protobuf,,,,,,lockejan
@@ -83,29 +82,29 @@ luaunit,,,,,,lockejan
luautf8,,,,,,pstn
luazip,,,,,,
lua-yajl,,,,,,pstn
lua-iconv,,,,7.0.0,,
luuid,,,,,,
luv,,,,1.44.2-1,,
lush.nvim,https://github.com/rktjmp/lush.nvim,,,,,teto
lyaml,,,,,,lblasc
magick,,,,,,donovanglover
magick,,,,,5.1,donovanglover
markdown,,,,,,
mediator_lua,,,,,,
middleclass,,,,,,
mpack,,,,,,
moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn
nui-nvim,,,,,,mrcjkb
nui.nvim,,,,,,mrcjkb
nvim-client,https://github.com/neovim/lua-client.git,,,,,
nvim-cmp,https://github.com/hrsh7th/nvim-cmp,,,,,
penlight,https://github.com/lunarmodules/Penlight.git,,,,,alerque
plenary.nvim,https://github.com/nvim-lua/plenary.nvim.git,,,,5.1,
rapidjson,https://github.com/xpol/lua-rapidjson.git,,,,,
rest.nvim,,,,,5.1,teto
readline,,,,,,
say,https://github.com/Olivine-Labs/say.git,,,,,
serpent,,,,,,lockejan
sqlite,,,,,,
std._debug,https://github.com/lua-stdlib/_debug.git,,,,,
std.normalize,https://github.com/lua-stdlib/normalize.git,,,,,
std.normalize,,,,,,
stdlib,,,,41.2.2,,vyp
teal-language-server,,,http://luarocks.org/dev,,,
telescope.nvim,,,,,5.1,
1 name src ref server version luaversion maintainers
2 alt-getopt arobyn
3 bit32 5.3.0-1 5.1 lblasc
4 argparse https://github.com/luarocks/argparse.git
5 basexx https://github.com/teto/basexx.git
6 binaryheap https://github.com/Tieske/binaryheap.lua vcunat
7 busted
8 cassowary marsam alerque
9 cldr alerque
12 coxpcall 1.17.0-1
13 cqueues vcunat
14 cyan
15 cyrussasl digestif https://github.com/JorjBauer/lua-cyrussasl.git https://github.com/astoff/digestif.git 5.3
digestif https://github.com/astoff/digestif.git 0.2-1 5.3
16 dkjson
17 fennel misterio77
18 ferris.nvim mrcjkb
24 inspect
25 jsregexp
26 ldbus http://luarocks.org/dev
27 ldoc https://github.com/stevedonovan/LDoc.git
28 lgi
29 linenoise https://github.com/hoelzro/lua-linenoise.git
30 ljsyscall 5.1 lblasc
40 lua-cjson
41 lua-cmsgpack
42 lua-curl
43 lua-iconv lua-ffi-zlib
44 lua-lsp
45 lua-messagepack
46 lua-protobuf lockejan
82 luautf8 pstn
83 luazip
84 lua-yajl pstn
85 lua-iconv 7.0.0
86 luuid
87 luv 1.44.2-1
88 lush.nvim https://github.com/rktjmp/lush.nvim teto
89 lyaml lblasc
90 magick 5.1 donovanglover
91 markdown
92 mediator_lua
93 middleclass
94 mpack
95 moonscript https://github.com/leafo/moonscript.git dev-1 arobyn
96 nui-nvim nui.nvim mrcjkb
97 nvim-client https://github.com/neovim/lua-client.git
98 nvim-cmp https://github.com/hrsh7th/nvim-cmp
99 penlight https://github.com/lunarmodules/Penlight.git alerque
100 plenary.nvim https://github.com/nvim-lua/plenary.nvim.git 5.1
101 rapidjson https://github.com/xpol/lua-rapidjson.git
102 rest.nvim 5.1 teto
readline
103 say https://github.com/Olivine-Labs/say.git
104 serpent lockejan
105 sqlite
106 std._debug https://github.com/lua-stdlib/_debug.git
107 std.normalize https://github.com/lua-stdlib/normalize.git
108 stdlib 41.2.2 vyp
109 teal-language-server http://luarocks.org/dev
110 telescope.nvim 5.1
+1 -1
View File
@@ -103,7 +103,7 @@ class LuaEditor(pluginupdate.Editor):
header2 = textwrap.dedent(
# header2 = inspect.cleandoc(
"""
{ self, stdenv, lib, fetchurl, fetchgit, callPackage, ... } @ args:
{ stdenv, lib, fetchurl, fetchgit, callPackage, ... }:
final: prev:
{
"""
@@ -2,13 +2,13 @@
stdenv.mkDerivation {
pname = "nelua";
version = "unstable-2023-01-21";
version = "unstable-2023-09-16";
src = fetchFromGitHub {
owner = "edubart";
repo = "nelua-lang";
rev = "d10cc61bc54050b07874a8597f8df20534885105";
hash = "sha256-HyNYqhPCQVBJqEcAUUXfvycXE8tWIMIUJJMTIV48ne8=";
rev = "596fcca5c77932da8a07c249de59a9dff3099495";
hash = "sha256-gXTlAxW7s3VBiC1fGU0aUlGspHlvyY7FC5KLeU2FyGQ=";
};
makeFlags = [ "PREFIX=$(out)" ];
+2 -1
View File
@@ -39,5 +39,6 @@ let
in
mapAliases {
"lpty" = throw "lpy was removed because broken and unmaintained "; # added 2023-10-14
lpty = throw "lpy was removed because broken and unmaintained "; # added 2023-10-14
cyrussasl = throw "cyrussasl was removed because broken and unmaintained "; # added 2023-10-18
}
File diff suppressed because it is too large Load Diff
+34 -12
View File
@@ -117,12 +117,6 @@ with prev;
'';
});
cyrussasl = prev.cyrussasl.overrideAttrs (drv: {
externalDeps = [
{ name = "LIBSASL"; dep = cyrus_sasl; }
];
});
fennel = prev.fennel.overrideAttrs(oa: {
nativeBuildInputs = oa.nativeBuildInputs ++ [
installShellFiles
@@ -322,7 +316,7 @@ with prev;
externalDeps = [
{ name = "EVENT"; dep = libevent; }
];
disabled = luaOlder "5.1" || luaAtLeast "5.4";
meta.broken = luaOlder "5.1" || luaAtLeast "5.4";
});
luaexpat = prev.luaexpat.overrideAttrs (_: {
@@ -386,6 +380,11 @@ with prev;
];
});
# lua-resty-session = prev.lua-resty-session.overrideAttrs (oa: {
# # lua_pack and lua-ffi-zlib are unpackaged, causing this package to not evaluate
# meta.broken = true;
# });
lua-yajl = prev.lua-yajl.overrideAttrs (oa: {
buildInputs = oa.buildInputs ++ [
yajl
@@ -514,8 +513,21 @@ with prev;
'';
});
readline = prev.readline.overrideAttrs (oa: {
propagatedBuildInputs = oa.propagatedBuildInputs ++ [ readline.out ];
readline = final.callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder, lua, luaposix }:
buildLuarocksPackage ({
pname = "readline";
version = "3.2-0";
knownRockspec = (fetchurl {
url = "mirror://luarocks/readline-3.2-0.rockspec";
sha256 = "1r0sgisxm4xd1r6i053iibxh30j7j3rcj4wwkd8rzkj8nln20z24";
}).outPath;
src = fetchurl {
# the rockspec url doesn't work because 'www.' is not covered by the certificate so
# I manually removed the 'www' prefix here
url = "http://pjb.com.au/comp/lua/readline-3.2.tar.gz";
sha256 = "1mk9algpsvyqwhnq7jlw4cgmfzj30l7n2r6ak4qxgdxgc39f48k4";
};
extraVariables = rec {
READLINE_INCDIR = "${readline.dev}/include";
HISTORY_INCDIR = READLINE_INCDIR;
@@ -524,9 +536,19 @@ with prev;
unzip "$curSrc"
tar xf *.tar.gz
'';
# Without this, source root is wrongly set to ./readline-2.6/doc
sourceRoot = "readline-${lib.versions.majorMinor oa.version}";
});
disabled = (luaOlder "5.1") || (luaAtLeast "5.5");
propagatedBuildInputs = [ lua luaposix
readline.out
];
meta = {
homepage = "http://pjb.com.au/comp/lua/readline.html";
description = "Interface to the readline library";
license.fullName = "MIT/X11";
};
})) {};
sqlite = prev.sqlite.overrideAttrs (drv: {
@@ -2,13 +2,13 @@
luarocks.overrideAttrs (old: {
pname = "luarocks-nix";
version = "unstable-2023-02-26";
version = "unstable-2023-10-19";
src = fetchFromGitHub {
owner = "nix-community";
repo = "luarocks-nix";
rev = "4cfea3d5d826db4cfbc809ef8bb5f0a9f3a18919";
sha256 = "sha256-7L8B+/C7Kzt25Ec+OsM2rliYB2/wyZQ3OT63V7AaOxo=";
rev = "4240b25b95d7165cde66fc2acaf5a0f9ad40fd0c";
sha256 = "sha256-dqFFYehBgK0RqH0/1GtZXq7XLGCcc3Kfadq8ICYNCWk=";
};
patches = [ ];
+1
View File
@@ -55,5 +55,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ zane ];
mainProgram = "openrussian";
platforms = platforms.unix;
broken = true;
};
}