pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / lua-modules / generated-packages.nix
bloba7cded6a9758f654a2c3f4e67492fa3170bee9ba
1 /* pkgs/development/lua-modules/generated-packages.nix is an auto-generated file -- DO NOT EDIT!
2 Regenerate it with: nix run nixpkgs#luarocks-packages-updater
3 You can customize the generated packages in pkgs/development/lua-modules/overrides.nix
4 */
6 { stdenv, lib, fetchurl, fetchgit, callPackage, ... }:
7 final: prev:
9 alt-getopt = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }:
10 buildLuarocksPackage {
11   pname = "alt-getopt";
12   version = "0.8.0-1";
13   knownRockspec = (fetchurl {
14     url    = "mirror://luarocks/alt-getopt-0.8.0-1.rockspec";
15     sha256 = "17yxi1lsrbkmwzcn1x48x8758d7v1frsz1bmnpqfv4vfnlh0x210";
16   }).outPath;
17   src = fetchFromGitHub {
18     owner = "cheusov";
19     repo = "lua-alt-getopt";
20     rev = "0.8.0";
21     hash = "sha256-OxtMNB8++cVQ/gQjntLUt3WYopGhYb1VbIUAZEzJB88=";
22   };
24   disabled = luaOlder "5.1" || luaAtLeast "5.4";
26   meta = {
27     homepage = "https://github.com/cheusov/lua-alt-getopt";
28     description = "Process application arguments the same way as getopt_long";
29     maintainers = with lib.maintainers; [ arobyn ];
30     license.fullName = "MIT/X11";
31   };
32 }) {};
34 ansicolors = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
35 buildLuarocksPackage {
36   pname = "ansicolors";
37   version = "1.0.2-3";
38   knownRockspec = (fetchurl {
39     url    = "mirror://luarocks/ansicolors-1.0.2-3.rockspec";
40     sha256 = "19y962xdx5ldl3596ywdl7n825dffz9al6j6rx6pbgmhb7pi8s5v";
41   }).outPath;
42   src = fetchurl {
43     url    = "https://github.com/kikito/ansicolors.lua/archive/v1.0.2.tar.gz";
44     sha256 = "0r4xi57njldmar9pn77l0vr5701rpmilrm51spv45lz0q9js8xps";
45   };
47   disabled = luaOlder "5.1";
49   meta = {
50     homepage = "https://github.com/kikito/ansicolors.lua";
51     description = "Library for color Manipulation.";
52     maintainers = with lib.maintainers; [ Freed-Wu ];
53     license.fullName = "MIT <http://opensource.org/licenses/MIT>";
54   };
55 }) {};
57 argparse = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
58 buildLuarocksPackage {
59   pname = "argparse";
60   version = "0.7.1-1";
61   knownRockspec = (fetchurl {
62     url    = "mirror://luarocks/argparse-0.7.1-1.rockspec";
63     sha256 = "116iaczq6glzzin6qqa2zn7i22hdyzzsq6mzjiqnz6x1qmi0hig8";
64   }).outPath;
65   src = fetchzip {
66     url    = "https://github.com/luarocks/argparse/archive/0.7.1.zip";
67     sha256 = "0idg79d0dfis4qhbkbjlmddq87np75hb2vj41i6prjpvqacvg5v1";
68   };
70   disabled = luaOlder "5.1" || luaAtLeast "5.5";
72   meta = {
73     homepage = "https://github.com/luarocks/argparse";
74     description = "A feature-rich command-line argument parser";
75     license.fullName = "MIT";
76   };
77 }) {};
79 basexx = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
80 buildLuarocksPackage {
81   pname = "basexx";
82   version = "0.4.1-1";
83   knownRockspec = (fetchurl {
84     url    = "mirror://luarocks/basexx-0.4.1-1.rockspec";
85     sha256 = "0kmydxm2wywl18cgj303apsx7hnfd68a9hx9yhq10fj7yfcxzv5f";
86   }).outPath;
87   src = fetchurl {
88     url    = "https://github.com/aiq/basexx/archive/v0.4.1.tar.gz";
89     sha256 = "1rnz6xixxqwy0q6y2hi14rfid4w47h69gfi0rnlq24fz8q2b0qpz";
90   };
92   disabled = luaOlder "5.1";
94   meta = {
95     homepage = "https://github.com/aiq/basexx";
96     description = "A base2, base16, base32, base64 and base85 library for Lua";
97     license.fullName = "MIT";
98   };
99 }) {};
101 binaryheap = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
102 buildLuarocksPackage {
103   pname = "binaryheap";
104   version = "0.4-1";
105   knownRockspec = (fetchurl {
106     url    = "mirror://luarocks/binaryheap-0.4-1.rockspec";
107     sha256 = "1ah37lhskmrb26by5ygs7jblx7qnf6mphgw8kwhw0yacvmkcbql4";
108   }).outPath;
109   src = fetchurl {
110     url    = "https://github.com/Tieske/binaryheap.lua/archive/version_0v4.tar.gz";
111     sha256 = "0f5l4nb5s7dycbkgh3rrl7pf0npcf9k6m2gr2bsn09fjyb3bdc8h";
112   };
114   disabled = luaOlder "5.1";
116   meta = {
117     homepage = "https://github.com/Tieske/binaryheap.lua";
118     description = "Binary heap implementation in pure Lua";
119     maintainers = with lib.maintainers; [ vcunat ];
120     license.fullName = "MIT/X11";
121   };
122 }) {};
124 bit32 = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
125 buildLuarocksPackage {
126   pname = "bit32";
127   version = "5.3.0-1";
128   knownRockspec = (fetchurl {
129     url    = "mirror://luarocks/bit32-5.3.0-1.rockspec";
130     sha256 = "1d6xdihpksrj5a3yvsvnmf3vfk15hj6f8n1rrs65m7adh87hc0yd";
131   }).outPath;
132   src = fetchFromGitHub {
133     owner = "keplerproject";
134     repo = "lua-compat-5.2";
135     rev = "bitlib-5.3.0";
136     hash = "sha256-Ek7FMWskfHwHhEVfjTDZyL/cruHDiQo5Jmnwsvai+MY=";
137   };
139   disabled = luaOlder "5.1";
141   meta = {
142     homepage = "http://www.lua.org/manual/5.2/manual.html#6.7";
143     description = "Lua 5.2 bit manipulation library";
144     maintainers = with lib.maintainers; [ lblasc ];
145     license.fullName = "MIT/X11";
146   };
147 }) {};
149 busted = callPackage({ buildLuarocksPackage, dkjson, fetchFromGitHub, fetchurl, lua-term, luaOlder, lua_cliargs, luassert, luasystem, mediator_lua, penlight, say }:
150 buildLuarocksPackage {
151   pname = "busted";
152   version = "2.2.0-1";
153   knownRockspec = (fetchurl {
154     url    = "mirror://luarocks/busted-2.2.0-1.rockspec";
155     sha256 = "0h4zk4lcm40wg3l0vgjn6lsyh9yayhljx65a0pz5n99dxal8lgnf";
156   }).outPath;
157   src = fetchFromGitHub {
158     owner = "lunarmodules";
159     repo = "busted";
160     rev = "v2.2.0";
161     hash = "sha256-5LxPqmoUwR3XaIToKUgap0L/sNS9uOV080MIenyLnl8=";
162   };
164   disabled = luaOlder "5.1";
165   propagatedBuildInputs = [ dkjson lua-term lua_cliargs luassert luasystem mediator_lua penlight say ];
167   meta = {
168     homepage = "https://lunarmodules.github.io/busted/";
169     description = "Elegant Lua unit testing";
170     license.fullName = "MIT <http://opensource.org/licenses/MIT>";
171   };
172 }) {};
174 busted-htest = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }:
175 buildLuarocksPackage {
176   pname = "busted-htest";
177   version = "1.0.0-2";
178   knownRockspec = (fetchurl {
179     url    = "mirror://luarocks/busted-htest-1.0.0-2.rockspec";
180     sha256 = "10d2pbh2rfy4ygp40h8br4w5j1z5syq5pn6knd4bbnacmswnmcdl";
181   }).outPath;
182   src = fetchFromGitHub {
183     owner = "hishamhm";
184     repo = "busted-htest";
185     rev = "1.0.0";
186     hash = "sha256-tGAQUSeDt+OV/TBAJo/JFdyeBRRZaIQEJG+SKcCaQhs=";
187   };
190   meta = {
191     homepage = "https://github.com/hishamhm/busted-htest";
192     description = "A pretty output handler for Busted";
193     maintainers = with lib.maintainers; [ mrcjkb ];
194     license.fullName = "MIT";
195   };
196 }) {};
198 cassowary = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, penlight }:
199 buildLuarocksPackage {
200   pname = "cassowary";
201   version = "2.3.2-1";
202   knownRockspec = (fetchurl {
203     url    = "mirror://luarocks/cassowary-2.3.2-1.rockspec";
204     sha256 = "0c6sflm8zpgbcdj47s3rd34h69h3nqcciaaqd1wdx5m0lwc3mii0";
205   }).outPath;
206   src = fetchFromGitHub {
207     owner = "sile-typesetter";
208     repo = "cassowary.lua";
209     rev = "v2.3.2";
210     hash = "sha256-wIVuf1L3g2BCM+zW4Nt1IyU6xaP4yYuzxHjVDxsgdNM=";
211   };
213   disabled = luaOlder "5.1";
214   propagatedBuildInputs = [ penlight ];
216   meta = {
217     homepage = "https://github.com/sile-typesetter/cassowary.lua";
218     description = "The cassowary constraint solver";
219     maintainers = with lib.maintainers; [ alerque ];
220     license.fullName = "Apache 2";
221   };
222 }) {};
224 cldr = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, penlight }:
225 buildLuarocksPackage {
226   pname = "cldr";
227   version = "0.3.0-0";
228   knownRockspec = (fetchurl {
229     url    = "mirror://luarocks/cldr-0.3.0-0.rockspec";
230     sha256 = "1fnr8k713w21v7hc64s4w5lgcgnbphq3gm69pisc2s4wq2fkija1";
231   }).outPath;
232   src = fetchFromGitHub {
233     owner = "alerque";
234     repo = "cldr-lua";
235     rev = "v0.3.0";
236     hash = "sha256-5LY0YxHACtreP38biDZD97bkPuuT7an/Z1VBXEJYjkI=";
237   };
239   disabled = luaOlder "5.1";
240   propagatedBuildInputs = [ penlight ];
242   meta = {
243     homepage = "https://github.com/alerque/cldr-lua";
244     description = "Lua interface to Unicode CLDR data";
245     maintainers = with lib.maintainers; [ alerque ];
246     license.fullName = "MIT/ICU";
247   };
248 }) {};
250 commons-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
251 buildLuarocksPackage {
252   pname = "commons.nvim";
253   version = "19.0.0-1";
254   knownRockspec = (fetchurl {
255     url    = "mirror://luarocks/commons.nvim-19.0.0-1.rockspec";
256     sha256 = "0ispimmwx2zh8jpdhdqk0r837y6959l9r2y8iri6l67dnfy7j4ky";
257   }).outPath;
258   src = fetchzip {
259     url    = "https://github.com/linrongbin16/commons.nvim/archive/ab59d5ab57d02bcb2b29234637c79ff74d7693b6.zip";
260     sha256 = "0n7dpwhs1f6rmxvjhqj1vs29apmmcbdwcifjjxi13vdxmx1zn2dq";
261   };
263   disabled = luaOlder "5.1";
265   meta = {
266     homepage = "https://linrongbin16.github.io/commons.nvim/";
267     description = "The commons lua library for Neovim plugin project.";
268     maintainers = with lib.maintainers; [ mrcjkb ];
269     license.fullName = "MIT";
270   };
271 }) {};
273 compat53 = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
274 buildLuarocksPackage {
275   pname = "compat53";
276   version = "0.14.3-1";
277   knownRockspec = (fetchurl {
278     url    = "mirror://luarocks/compat53-0.14.3-1.rockspec";
279     sha256 = "0c50x5nprcfafjnb4gzy23xszmr97mspy1g9m6pyj81c2648288n";
280   }).outPath;
281   src = fetchzip {
282     url    = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.14.3.zip";
283     sha256 = "00qgfl5n2rfp1gikky03dmc30jy4piz0js8d7zznaclxsq2nyp2x";
284   };
286   disabled = luaOlder "5.1" || luaAtLeast "5.5";
288   meta = {
289     homepage = "https://github.com/lunarmodules/lua-compat-5.3";
290     description = "Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1";
291     maintainers = with lib.maintainers; [ vcunat ];
292     license.fullName = "MIT";
293   };
294 }) {};
296 cosmo = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lpeg }:
297 buildLuarocksPackage {
298   pname = "cosmo";
299   version = "16.06.04-1";
300   knownRockspec = (fetchurl {
301     url    = "mirror://luarocks/cosmo-16.06.04-1.rockspec";
302     sha256 = "0ipv1hrlhvaz1myz6qxabq7b7kb3bz456cya3r292487a3g9h9pb";
303   }).outPath;
304   src = fetchFromGitHub {
305     owner = "mascarenhas";
306     repo = "cosmo";
307     rev = "v16.06.04";
308     hash = "sha256-mJE5GkDnfZ3qAQyyyKj+aXOtlITeYs8lerGJSTzU/Tk=";
309   };
311   propagatedBuildInputs = [ lpeg ];
313   meta = {
314     homepage = "http://cosmo.luaforge.net";
315     description = "Safe templates for Lua";
316     license.fullName = "MIT/X11";
317   };
318 }) {};
320 coxpcall = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }:
321 buildLuarocksPackage {
322   pname = "coxpcall";
323   version = "1.17.0-1";
324   knownRockspec = (fetchurl {
325     url    = "mirror://luarocks/coxpcall-1.17.0-1.rockspec";
326     sha256 = "0mf0nggg4ajahy5y1q5zh2zx9rmgzw06572bxx6k8b736b8j7gca";
327   }).outPath;
328   src = fetchFromGitHub {
329     owner = "keplerproject";
330     repo = "coxpcall";
331     rev = "v1_17_0";
332     hash = "sha256-EW8pGI9jiGutNVNmyiCP5sIVYZe2rJQc03OrKXIOeMw=";
333   };
336   meta = {
337     homepage = "http://keplerproject.github.io/coxpcall";
338     description = "Coroutine safe xpcall and pcall";
339     license.fullName = "MIT/X11";
340   };
341 }) {};
343 cqueues = callPackage({ buildLuarocksPackage, fetchurl, lua }:
344 buildLuarocksPackage {
345   pname = "cqueues";
346   version = "20200726.52-0";
347   knownRockspec = (fetchurl {
348     url    = "mirror://luarocks/cqueues-20200726.52-0.rockspec";
349     sha256 = "0w2kq9w0wda56k02rjmvmzccz6bc3mn70s9v7npjadh85i5zlhhp";
350   }).outPath;
351   src = fetchurl {
352     url    = "https://github.com/wahern/cqueues/archive/rel-20200726.tar.gz";
353     sha256 = "0lhd02ag3r1sxr2hx847rdjkddm04l1vf5234v5cz9bd4kfjw4cy";
354   };
356   disabled = lua.luaversion != "5.2";
358   meta = {
359     homepage = "http://25thandclement.com/~william/projects/cqueues.html";
360     description = "Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.";
361     maintainers = with lib.maintainers; [ vcunat ];
362     license.fullName = "MIT/X11";
363   };
364 }) {};
366 cyan = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, luafilesystem, luasystem, tl }:
367 buildLuarocksPackage {
368   pname = "cyan";
369   version = "0.3.1-2";
370   knownRockspec = (fetchurl {
371     url    = "mirror://luarocks/cyan-0.3.1-2.rockspec";
372     sha256 = "1fsz3a05blm45qv690w51fa7scqc7l7f3fcj8s8isax89gjbqvgy";
373   }).outPath;
374   src = fetchFromGitHub {
375     owner = "teal-language";
376     repo = "cyan";
377     rev = "v0.3.1";
378     hash = "sha256-cqQoWR4lIvYAWp5o9jivpjiILO1ECFhCyXG1+vc2yIM=";
379   };
381   propagatedBuildInputs = [ argparse luafilesystem luasystem tl ];
383   meta = {
384     homepage = "https://github.com/teal-language/cyan";
385     description = "A build system for the Teal language";
386     license.fullName = "MIT";
387   };
388 }) {};
390 digestif = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lpeg, luaOlder, luafilesystem }:
391 buildLuarocksPackage {
392   pname = "digestif";
393   version = "0.6-1";
394   knownRockspec = (fetchurl {
395     url    = "mirror://luarocks/digestif-0.6-1.rockspec";
396     sha256 = "0hp7r97b6ivywaxb02cbnm23gjz71mak5ag6m3hi7f3mjqxxxh8k";
397   }).outPath;
398   src = fetchFromGitHub {
399     owner = "astoff";
400     repo = "digestif";
401     rev = "v0.6";
402     hash = "sha256-sGwKt9suRVNrbRJlhNMHzc5r4sK/fvUc7smxmxmrn8Y=";
403   };
405   disabled = luaOlder "5.3";
406   propagatedBuildInputs = [ lpeg luafilesystem ];
408   meta = {
409     homepage = "https://github.com/astoff/digestif/";
410     description = "A code analyzer for TeX";
411     license.fullName = "GPLv3+ and other free licenses";
412   };
413 }) {};
415 dkjson = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }:
416 buildLuarocksPackage {
417   pname = "dkjson";
418   version = "2.8-1";
419   knownRockspec = (fetchurl {
420     url    = "mirror://luarocks/dkjson-2.8-1.rockspec";
421     hash = "sha256-arasJeX7yQ2Rg70RyepiGNvLdiyQz8Wn4HXrdTEIBBg=";
422   }).outPath;
423   src = fetchurl {
424     url    = "http://dkolf.de/dkjson-lua/dkjson-2.8.tar.gz";
425     hash = "sha256-JOjNO+uRwchh63uz+8m9QYu/+a1KpdBHGBYlgjajFTI=";
426   };
428   disabled = luaOlder "5.1" || luaAtLeast "5.5";
430   meta = {
431     homepage = "http://dkolf.de/dkjson-lua/";
432     description = "David Kolf's JSON module for Lua";
433     license.fullName = "MIT/X11";
434   };
435 }) {};
437 fennel = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
438 buildLuarocksPackage {
439   pname = "fennel";
440   version = "1.5.1-1";
441   knownRockspec = (fetchurl {
442     url    = "mirror://luarocks/fennel-1.5.1-1.rockspec";
443     sha256 = "02wq1rlgv2zl1x30vqpdf5nmblxv7kkwx9lwplj4rj1fp9s3m8mh";
444   }).outPath;
445   src = fetchFromGitHub {
446     owner = "bakpakin";
447     repo = "Fennel";
448     rev = "1.5.1";
449     hash = "sha256-ciXElwX/F8YCFA6C0F3+8lnUPQlKYpcdpagAjoXZpyY=";
450   };
452   disabled = luaOlder "5.1";
454   meta = {
455     homepage = "https://fennel-lang.org";
456     description = "A lisp that compiles to Lua";
457     maintainers = with lib.maintainers; [ misterio77 ];
458     license.fullName = "MIT";
459   };
460 }) {};
462 fidget-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
463 buildLuarocksPackage {
464   pname = "fidget.nvim";
465   version = "1.4.1-1";
466   knownRockspec = (fetchurl {
467     url    = "mirror://luarocks/fidget.nvim-1.4.1-1.rockspec";
468     sha256 = "1dfhwa6dgca88h6p9h75qlkcx3qsl8g4aflvndd7vjcimlnfiqqd";
469   }).outPath;
470   src = fetchzip {
471     url    = "https://github.com/j-hui/fidget.nvim/archive/1ba38e4cbb24683973e00c2e36f53ae64da38ef5.zip";
472     sha256 = "0g0z1g1nmrjmg9298vg2ski6m41f1yhpas8kr9mi8pa6ibk4m63x";
473   };
475   disabled = luaOlder "5.1";
477   meta = {
478     homepage = "https://github.com/j-hui/fidget.nvim";
479     description = "Extensible UI for Neovim notifications and LSP progress messages.";
480     maintainers = with lib.maintainers; [ mrcjkb ];
481     license.fullName = "MIT";
482   };
483 }) {};
485 fifo = callPackage({ buildLuarocksPackage, fetchurl, fetchzip }:
486 buildLuarocksPackage {
487   pname = "fifo";
488   version = "0.2-0";
489   knownRockspec = (fetchurl {
490     url    = "mirror://luarocks/fifo-0.2-0.rockspec";
491     sha256 = "0vr9apmai2cyra2n573nr3dyk929gzcs4nm1096jdxcixmvh2ymq";
492   }).outPath;
493   src = fetchzip {
494     url    = "https://github.com/daurnimator/fifo.lua/archive/0.2.zip";
495     sha256 = "1800k7h5hxsvm05bjdr65djjml678lwb0661cll78z1ys2037nzn";
496   };
499   meta = {
500     homepage = "https://github.com/daurnimator/fifo.lua";
501     description = "A lua library/'class' that implements a FIFO";
502     license.fullName = "MIT/X11";
503   };
504 }) {};
506 fluent = callPackage({ buildLuarocksPackage, cldr, fetchFromGitHub, fetchurl, luaOlder, luaepnf, penlight }:
507 buildLuarocksPackage {
508   pname = "fluent";
509   version = "0.2.0-0";
510   knownRockspec = (fetchurl {
511     url    = "mirror://luarocks/fluent-0.2.0-0.rockspec";
512     sha256 = "1x3nk8xdf923rvdijr0jx8v6w3wxxfch7ri3kxca0pw80b5bc2fa";
513   }).outPath;
514   src = fetchFromGitHub {
515     owner = "alerque";
516     repo = "fluent-lua";
517     rev = "v0.2.0";
518     hash = "sha256-uDJWhQ/fDD9ZbYOgPk1FDlU3A3DAZw3Ujx92BglFWoo=";
519   };
521   disabled = luaOlder "5.1";
522   propagatedBuildInputs = [ cldr luaepnf penlight ];
524   meta = {
525     homepage = "https://github.com/alerque/fluent-lua";
526     description = "Lua implementation of Project Fluent";
527     maintainers = with lib.maintainers; [ alerque ];
528     license.fullName = "MIT";
529   };
530 }) {};
532 funnyfiles-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
533 buildLuarocksPackage {
534   pname = "funnyfiles.nvim";
535   version = "1.0.1-1";
536   knownRockspec = (fetchurl {
537     url    = "mirror://luarocks/funnyfiles.nvim-1.0.1-1.rockspec";
538     sha256 = "1r3cgx8wvc1c4syk167m94ws513g0cdmmxnymf3zyidlszdwamy5";
539   }).outPath;
540   src = fetchzip {
541     url    = "https://github.com/aikooo7/funnyfiles.nvim/archive/v1.0.1.zip";
542     sha256 = "00p026r05gldbf18mmv8da9ap09di8dhy0rrd586pr2s2s36nzpd";
543   };
545   disabled = luaOlder "5.1";
547   meta = {
548     homepage = "https://github.com/aikooo7/funnyfiles.nvim";
549     description = "This plugin is a way of creating/deleting files/folders without needing to open a file explorer.";
550     maintainers = with lib.maintainers; [ mrcjkb ];
551     license.fullName = "MIT";
552   };
553 }) {};
555 fzf-lua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
556 buildLuarocksPackage {
557   pname = "fzf-lua";
558   version = "0.0.1479-1";
559   knownRockspec = (fetchurl {
560     url    = "mirror://luarocks/fzf-lua-0.0.1479-1.rockspec";
561     sha256 = "1xj0vw2y9y0ff88gcsh1q8vg9lsrsak435pzx8bizpcxkpaqizc4";
562   }).outPath;
563   src = fetchzip {
564     url    = "https://github.com/ibhagwan/fzf-lua/archive/ce1e24f2a48089b65deefcb0a71a9856839002b5.zip";
565     sha256 = "0nfihl95bxrjmkin8wj6d8sznch695fk2wxkwk6wd92v5dlapypx";
566   };
568   disabled = luaOlder "5.1";
570   meta = {
571     homepage = "https://github.com/ibhagwan/fzf-lua";
572     description = "Improved fzf.vim written in lua";
573     maintainers = with lib.maintainers; [ mrcjkb ];
574     license.fullName = "AGPL-3.0";
575   };
576 }) {};
578 fzy = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
579 buildLuarocksPackage {
580   pname = "fzy";
581   version = "1.0.3-1";
582   knownRockspec = (fetchurl {
583     url    = "mirror://luarocks/fzy-1.0.3-1.rockspec";
584     sha256 = "07d07afjs73bl5krfbaqx4pw2wpfrkyw2iksamkfa8dlqn9ajn1a";
585   }).outPath;
586   src = fetchzip {
587     url    = "https://github.com/swarn/fzy-lua/archive/v1.0.3.zip";
588     sha256 = "0w3alddhn0jd19vmminbi1b79mzlagyl1lygmfpxhzzccdv4vapm";
589   };
591   disabled = luaOlder "5.1";
593   meta = {
594     homepage = "https://github.com/swarn/fzy-lua";
595     description = "A lua implementation of the fzy fuzzy matching algorithm";
596     maintainers = with lib.maintainers; [ mrcjkb ];
597     license.fullName = "MIT";
598   };
599 }) {};
601 gitsigns-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, lua }:
602 buildLuarocksPackage {
603   pname = "gitsigns.nvim";
604   version = "scm-1";
606   src = fetchFromGitHub {
607     owner = "lewis6991";
608     repo = "gitsigns.nvim";
609     rev = "ee7634ab4f0a6606438fe13e16cbf2065589a5ed";
610     hash = "sha256-jR7/rX2bsOMkWc4MHMRlBDdELgl8JOVjGOcx6bl/nYw=";
611   };
613   disabled = lua.luaversion != "5.1";
615   meta = {
616     homepage = "http://github.com/lewis6991/gitsigns.nvim";
617     description = "Git signs written in pure lua";
618     license.fullName = "MIT/X11";
619   };
620 }) {};
622 haskell-tools-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
623 buildLuarocksPackage {
624   pname = "haskell-tools.nvim";
625   version = "4.3.1-1";
626   knownRockspec = (fetchurl {
627     url    = "mirror://luarocks/haskell-tools.nvim-4.3.1-1.rockspec";
628     sha256 = "1aw8rs6b384qp33j615ixp2iz8qpfs9nwv5psgknb38pswh9ldly";
629   }).outPath;
630   src = fetchzip {
631     url    = "https://github.com/mrcjkb/haskell-tools.nvim/archive/v4.3.1.zip";
632     sha256 = "1ssgwms4jipl7j3v51wzmhllg1bm4k1nd3j5i8rwmjcv704izik9";
633   };
635   disabled = luaOlder "5.1";
637   meta = {
638     homepage = "https://github.com/mrcjkb/haskell-tools.nvim";
639     description = " 🦥 Supercharge your Haskell experience in neovim!";
640     maintainers = with lib.maintainers; [ mrcjkb ];
641     license.fullName = "GPL-2.0";
642   };
643 }) {};
645 http = callPackage({ basexx, binaryheap, bit32, buildLuarocksPackage, compat53, cqueues, fetchurl, fetchzip, fifo, lpeg, lpeg_patterns, luaOlder, luaossl }:
646 buildLuarocksPackage {
647   pname = "http";
648   version = "0.3-0";
649   knownRockspec = (fetchurl {
650     url    = "mirror://luarocks/http-0.3-0.rockspec";
651     sha256 = "0fn3irkf5nnmfc83alc40b316hs8l7zdq2xlaiaa65sjd8acfvia";
652   }).outPath;
653   src = fetchzip {
654     url    = "https://github.com/daurnimator/lua-http/archive/v0.3.zip";
655     sha256 = "1pqxxxifl2j1cik3kgayx43v6py5jp6r22myhvxfffysb3b84a2l";
656   };
658   disabled = luaOlder "5.1";
659   propagatedBuildInputs = [ basexx binaryheap bit32 compat53 cqueues fifo lpeg lpeg_patterns luaossl ];
661   meta = {
662     homepage = "https://github.com/daurnimator/lua-http";
663     description = "HTTP library for Lua";
664     maintainers = with lib.maintainers; [ vcunat ];
665     license.fullName = "MIT";
666   };
667 }) {};
669 image-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, magick }:
670 buildLuarocksPackage {
671   pname = "image.nvim";
672   version = "1.3.0-1";
673   knownRockspec = (fetchurl {
674     url    = "mirror://luarocks/image.nvim-1.3.0-1.rockspec";
675     sha256 = "1ls3v5xcgmqmscqk5prpj0q9sy0946rfb2dfva5f1axb5x4jbvj9";
676   }).outPath;
677   src = fetchzip {
678     url    = "https://github.com/3rd/image.nvim/archive/v1.3.0.zip";
679     sha256 = "0fbc3wvzsck8bbz8jz5piy68w1xmq5cnhaj1lw91d8hkyjryrznr";
680   };
682   disabled = luaOlder "5.1";
683   propagatedBuildInputs = [ magick ];
685   meta = {
686     homepage = "https://github.com/3rd/image.nvim";
687     description = "🖼️ Bringing images to Neovim.";
688     maintainers = with lib.maintainers; [ teto ];
689     license.fullName = "MIT";
690   };
691 }) {};
693 inspect = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
694 buildLuarocksPackage {
695   pname = "inspect";
696   version = "3.1.3-0";
697   knownRockspec = (fetchurl {
698     url    = "mirror://luarocks/inspect-3.1.3-0.rockspec";
699     sha256 = "1iivb2jmz0pacmac2msyqwvjjx8q6py4h959m8fkigia6srg5ins";
700   }).outPath;
701   src = fetchurl {
702     url    = "https://github.com/kikito/inspect.lua/archive/v3.1.3.tar.gz";
703     sha256 = "1sqylz5hmj5sbv4gi9988j6av3cb5lwkd7wiyim1h5lr7xhnlf23";
704   };
706   disabled = luaOlder "5.1";
708   meta = {
709     homepage = "https://github.com/kikito/inspect.lua";
710     description = "Lua table visualizer, ideal for debugging";
711     license.fullName = "MIT <http://opensource.org/licenses/MIT>";
712   };
713 }) {};
715 jsregexp = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
716 buildLuarocksPackage {
717   pname = "jsregexp";
718   version = "0.0.7-1";
719   knownRockspec = (fetchurl {
720     url    = "mirror://luarocks/jsregexp-0.0.7-1.rockspec";
721     sha256 = "1yx0340h51xk23n0g8irj5c9bs35zy6p1zl5kp7vy2cwxazbipbl";
722   }).outPath;
723   src = fetchFromGitHub {
724     owner = "kmarius";
725     repo = "jsregexp";
726     rev = "v0.0.7";
727     hash = "sha256-aXRGmo6w7jgKlR2BwKhbFGHC0mOTwHfYsh+lvqNuFtQ=";
728   };
730   disabled = luaOlder "5.1";
732   meta = {
733     homepage = "https://github.com/kmarius/jsregexp";
734     description = "javascript (ECMA19) regular expressions for lua";
735     license.fullName = "MIT";
736   };
737 }) {};
739 ldbus = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }:
740 buildLuarocksPackage {
741   pname = "ldbus";
742   version = "scm-0";
743   knownRockspec = (fetchurl {
744     url    = "mirror://luarocks/ldbus-scm-0.rockspec";
745     sha256 = "1c0h6fx7avzh89hl17v6simy1p4mjg8bimlsbjybks0zxznd8rbm";
746   }).outPath;
747   src = fetchFromGitHub {
748     owner = "daurnimator";
749     repo = "ldbus";
750     rev = "6d4909c983c8a0e2c7384bac8055c628aa524ea2";
751     hash = "sha256-8px1eFSxt/SJipxxmjTpGpJO7V0oOK39+nK7itJCCaM=";
752   };
754   disabled = luaOlder "5.1" || luaAtLeast "5.5";
756   meta = {
757     homepage = "https://github.com/daurnimator/ldbus";
758     description = "A Lua library to access dbus.";
759     license.fullName = "MIT/X11";
760   };
761 }) {};
763 ldoc = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, markdown, penlight }:
764 buildLuarocksPackage {
765   pname = "ldoc";
766   version = "1.5.0-1";
767   knownRockspec = (fetchurl {
768     url    = "mirror://luarocks/ldoc-1.5.0-1.rockspec";
769     sha256 = "1c0yx9j3yqlzxpmspz7n7l1nvh2sww84zhkb1fsbg042sr8h9bxp";
770   }).outPath;
771   src = fetchFromGitHub {
772     owner = "lunarmodules";
773     repo = "ldoc";
774     rev = "v1.5.0";
775     hash = "sha256-Me2LT+UzO8G2vHqG7DjjoCRAtLmhiJHlSEYQGkprxTw=";
776   };
778   propagatedBuildInputs = [ markdown penlight ];
780   meta = {
781     homepage = "http://lunarmodules.github.io/ldoc";
782     description = "A Lua Documentation Tool";
783     license.fullName = "MIT <http://opensource.org/licenses/MIT>";
784   };
785 }) {};
787 lgi = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
788 buildLuarocksPackage {
789   pname = "lgi";
790   version = "0.9.2-1";
791   knownRockspec = (fetchurl {
792     url    = "mirror://luarocks/lgi-0.9.2-1.rockspec";
793     sha256 = "1gqi07m4bs7xibsy4vx8qgyp3yb1wnh0gdq1cpwqzv35y6hn5ds3";
794   }).outPath;
795   src = fetchFromGitHub {
796     owner = "pavouk";
797     repo = "lgi";
798     rev = "0.9.2";
799     hash = "sha256-UpamUbvqzF0JKV3J0wIiJlV6iedwe823vD0EIm3zKw8=";
800   };
802   disabled = luaOlder "5.1";
804   meta = {
805     homepage = "http://github.com/pavouk/lgi";
806     description = "Lua bindings to GObject libraries";
807     license.fullName = "MIT/X11";
808   };
809 }) {};
811 linenoise = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
812 buildLuarocksPackage {
813   pname = "linenoise";
814   version = "0.9-1";
816   src = fetchurl {
817     url    = "https://github.com/hoelzro/lua-linenoise/archive/0.9.tar.gz";
818     sha256 = "177h6gbq89arwiwxah9943i8hl5gvd9wivnd1nhmdl7d8x0dn76c";
819   };
821   disabled = luaOlder "5.1";
823   meta = {
824     homepage = "https://github.com/hoelzro/lua-linenoise";
825     description = "A binding for the linenoise command line library";
826     license.fullName = "MIT/X11";
827   };
828 }) {};
830 ljsyscall = callPackage({ buildLuarocksPackage, fetchurl, lua }:
831 buildLuarocksPackage {
832   pname = "ljsyscall";
833   version = "0.12-1";
834   knownRockspec = (fetchurl {
835     url    = "mirror://luarocks/ljsyscall-0.12-1.rockspec";
836     sha256 = "0zna5s852vn7q414z56kkyqwpighaghyq7h7in3myap4d9vcgm01";
837   }).outPath;
838   src = fetchurl {
839     url    = "https://github.com/justincormack/ljsyscall/archive/v0.12.tar.gz";
840     sha256 = "1w9g36nhxv92cypjia7igg1xpfrn3dbs3hfy6gnnz5mx14v50abf";
841   };
843   disabled = lua.luaversion != "5.1";
845   meta = {
846     homepage = "http://www.myriabit.com/ljsyscall/";
847     description = "LuaJIT Linux syscall FFI";
848     maintainers = with lib.maintainers; [ lblasc ];
849     license.fullName = "MIT";
850   };
851 }) {};
853 llscheck = callPackage({ ansicolors, argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-cjson, luaOlder, luafilesystem, penlight }:
854 buildLuarocksPackage {
855   pname = "llscheck";
856   version = "0.6.0-1";
857   knownRockspec = (fetchurl {
858     url    = "mirror://luarocks/llscheck-0.6.0-1.rockspec";
859     sha256 = "1scgsjgsjbapqgwvwcd9l378sipin2w85mcjdi0fzgldsx87gwni";
860   }).outPath;
861   src = fetchFromGitHub {
862     owner = "jeffzi";
863     repo = "llscheck";
864     rev = "v0.6.0";
865     hash = "sha256-XYfcVPiYCDrmuHyR1TN4QvsWIvbs86FN3UQYfrRHPiI=";
866   };
868   disabled = luaOlder "5.1";
869   propagatedBuildInputs = [ ansicolors argparse lua-cjson luafilesystem penlight ];
871   meta = {
872     homepage = "https://github.com/jeffzi/llscheck";
873     description = "Human-friendly Lua code analysis powered by Lua Language Server";
874     maintainers = with lib.maintainers; [ mrcjkb ];
875     license.fullName = "MIT";
876   };
877 }) {};
879 lmathx = callPackage({ buildLuarocksPackage, fetchurl }:
880 buildLuarocksPackage {
881   pname = "lmathx";
882   version = "20150624-1";
883   knownRockspec = (fetchurl {
884     url    = "mirror://luarocks/lmathx-20150624-1.rockspec";
885     sha256 = "181wzsj1mxjyia43y8zwaydxahnl7a70qzcgc8jhhgic7jyi9pgv";
886   }).outPath;
887   src = fetchurl {
888     url    = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.3/lmathx.tar.gz";
889     sha256 = "1r0ax3lq4xx6469aqc6qlfl3jynlghzhl5j65mpdj0kyzv4nknzf";
890   };
893   meta = {
894     homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lmathx";
895     description = "C99 extensions for the math library";
896     maintainers = with lib.maintainers; [ alexshpilkin ];
897     license.fullName = "Public domain";
898   };
899 }) {};
901 lmpfrlib = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }:
902 buildLuarocksPackage {
903   pname = "lmpfrlib";
904   version = "20170112-2";
905   knownRockspec = (fetchurl {
906     url    = "mirror://luarocks/lmpfrlib-20170112-2.rockspec";
907     sha256 = "1x7qiwmk5b9fi87fn7yvivdsis8h9fk9r3ipqiry5ahx72vzdm7d";
908   }).outPath;
909   src = fetchurl {
910     url    = "http://www.circuitwizard.de/lmpfrlib/lmpfrlib.c";
911     sha256 = "1bkfwdacj1drzqsfxf352fjppqqwi5d4j084jr9vj9dvjb31rbc1";
912   };
914   disabled = luaOlder "5.3" || luaAtLeast "5.5";
916   meta = {
917     homepage = "http://www.circuitwizard.de/lmpfrlib/lmpfrlib.html";
918     description = "Lua API for the GNU MPFR library";
919     maintainers = with lib.maintainers; [ alexshpilkin ];
920     license.fullName = "LGPL";
921   };
922 }) {};
924 loadkit = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
925 buildLuarocksPackage {
926   pname = "loadkit";
927   version = "1.1.0-1";
928   knownRockspec = (fetchurl {
929     url    = "mirror://luarocks/loadkit-1.1.0-1.rockspec";
930     sha256 = "08fx0xh90r2zvjlfjkyrnw2p95xk1a0qgvlnq4siwdb2mm6fq12l";
931   }).outPath;
932   src = fetchFromGitHub {
933     owner = "leafo";
934     repo = "loadkit";
935     rev = "v1.1.0";
936     hash = "sha256-fw+aoP9+yDpme4qXupE07cV1QGZjb2aU7IOHapG+ihU=";
937   };
939   disabled = luaOlder "5.1";
941   meta = {
942     homepage = "https://github.com/leafo/loadkit";
943     description = "Loadkit allows you to load arbitrary files within the Lua package path";
944     maintainers = with lib.maintainers; [ alerque ];
945     license.fullName = "MIT";
946   };
947 }) {};
949 lpeg = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
950 buildLuarocksPackage {
951   pname = "lpeg";
952   version = "1.1.0-1";
953   knownRockspec = (fetchurl {
954     url    = "mirror://luarocks/lpeg-1.1.0-1.rockspec";
955     sha256 = "03af1p00madfhfxjzrsxb0jm0n49ixwadnkdp0vbgs77d2v985jn";
956   }).outPath;
957   src = fetchurl {
958     url    = "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz";
959     sha256 = "0aimsjpcpkh3kk65f0pg1z2bp6d83rn4dg6pgbx1yv14s9kms5ab";
960   };
962   disabled = luaOlder "5.1";
964   meta = {
965     homepage = "http://www.inf.puc-rio.br/~roberto/lpeg.html";
966     description = "Parsing Expression Grammars For Lua";
967     maintainers = with lib.maintainers; [ vyp ];
968     license.fullName = "MIT/X11";
969   };
970 }) {};
972 lpeg_patterns = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lpeg }:
973 buildLuarocksPackage {
974   pname = "lpeg_patterns";
975   version = "0.5-0";
976   knownRockspec = (fetchurl {
977     url    = "mirror://luarocks/lpeg_patterns-0.5-0.rockspec";
978     sha256 = "1vzl3ryryc624mchclzsfl3hsrprb9q214zbi1xsjcc4ckq5qfh7";
979   }).outPath;
980   src = fetchzip {
981     url    = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip";
982     sha256 = "1s3c179a64r45ffkawv9dnxw4mzwkzj00nr9z2gs5haajgpjivw6";
983   };
985   propagatedBuildInputs = [ lpeg ];
987   meta = {
988     homepage = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip";
989     description = "a collection of LPEG patterns";
990     license.fullName = "MIT";
991   };
992 }) {};
994 lpeglabel = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
995 buildLuarocksPackage {
996   pname = "lpeglabel";
997   version = "1.6.0-1";
998   knownRockspec = (fetchurl {
999     url    = "mirror://luarocks/lpeglabel-1.6.0-1.rockspec";
1000     sha256 = "13gc32pggng6f95xx5zw9n9ian518wlgb26mna9kh4q2xa1k42pm";
1001   }).outPath;
1002   src = fetchurl {
1003     url    = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.0-1.tar.gz";
1004     sha256 = "1i02lsxj20iygqm8fy6dih1gh21lqk5qj1mv14wlrkaywnv35wcv";
1005   };
1007   disabled = luaOlder "5.1";
1009   meta = {
1010     homepage = "https://github.com/sqmedeiros/lpeglabel/";
1011     description = "Parsing Expression Grammars For Lua with Labeled Failures";
1012     license.fullName = "MIT/X11";
1013   };
1014 }) {};
1016 lrexlib-gnu = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1017 buildLuarocksPackage {
1018   pname = "lrexlib-gnu";
1019   version = "2.9.2-1";
1020   knownRockspec = (fetchurl {
1021     url    = "mirror://luarocks/lrexlib-gnu-2.9.2-1.rockspec";
1022     sha256 = "14dp5lzpz2prvimpcbqjygbyh9h791h0ywjknj9wgrjjd62qsy6i";
1023   }).outPath;
1024   src = fetchFromGitHub {
1025     owner = "rrthomas";
1026     repo = "lrexlib";
1027     rev = "rel-2-9-2";
1028     hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc=";
1029   };
1031   disabled = luaOlder "5.1";
1033   meta = {
1034     homepage = "https://github.com/rrthomas/lrexlib";
1035     description = "Regular expression library binding (GNU flavour).";
1036     license.fullName = "MIT/X11";
1037   };
1038 }) {};
1040 lrexlib-pcre = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1041 buildLuarocksPackage {
1042   pname = "lrexlib-pcre";
1043   version = "2.9.2-1";
1044   knownRockspec = (fetchurl {
1045     url    = "mirror://luarocks/lrexlib-pcre-2.9.2-1.rockspec";
1046     sha256 = "1214ssm6apgprryqvijjjn82ikb27ylq94yijqf7qjyiy6pz7dc1";
1047   }).outPath;
1048   src = fetchFromGitHub {
1049     owner = "rrthomas";
1050     repo = "lrexlib";
1051     rev = "rel-2-9-2";
1052     hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc=";
1053   };
1055   disabled = luaOlder "5.1";
1057   meta = {
1058     homepage = "https://github.com/rrthomas/lrexlib";
1059     description = "Regular expression library binding (PCRE flavour).";
1060     maintainers = with lib.maintainers; [ vyp ];
1061     license.fullName = "MIT/X11";
1062   };
1063 }) {};
1065 lrexlib-posix = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1066 buildLuarocksPackage {
1067   pname = "lrexlib-posix";
1068   version = "2.9.2-1";
1069   knownRockspec = (fetchurl {
1070     url    = "mirror://luarocks/lrexlib-posix-2.9.2-1.rockspec";
1071     sha256 = "1i11cdvz09a3wjhfjgc88g0mdmdrk13fnhhgskzgm5cmhsdx4s0i";
1072   }).outPath;
1073   src = fetchFromGitHub {
1074     owner = "rrthomas";
1075     repo = "lrexlib";
1076     rev = "rel-2-9-2";
1077     hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc=";
1078   };
1080   disabled = luaOlder "5.1";
1082   meta = {
1083     homepage = "https://github.com/rrthomas/lrexlib";
1084     description = "Regular expression library binding (POSIX flavour).";
1085     license.fullName = "MIT/X11";
1086   };
1087 }) {};
1089 lsp-progress-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
1090 buildLuarocksPackage {
1091   pname = "lsp-progress.nvim";
1092   version = "1.0.13-1";
1093   knownRockspec = (fetchurl {
1094     url    = "mirror://luarocks/lsp-progress.nvim-1.0.13-1.rockspec";
1095     sha256 = "13h0kyrri0bvhkzvyngamsacx62n2dhb2j2gs495z4ghyh1p345i";
1096   }).outPath;
1097   src = fetchzip {
1098     url    = "https://github.com/linrongbin16/lsp-progress.nvim/archive/d5f4d28efe75ce636bfbe271eb45f39689765aab.zip";
1099     sha256 = "0h63z55gwv36rahhha8vkbxb9n4f8psa265khz719i97j17x39rr";
1100   };
1102   disabled = luaOlder "5.1";
1104   meta = {
1105     homepage = "https://linrongbin16.github.io/lsp-progress.nvim/";
1106     description = "A performant lsp progress status for Neovim.";
1107     maintainers = with lib.maintainers; [ gepbird ];
1108     license.fullName = "MIT";
1109   };
1110 }) {};
1112 lua-cjson = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1113 buildLuarocksPackage {
1114   pname = "lua-cjson";
1115   version = "2.1.0.10-1";
1116   knownRockspec = (fetchurl {
1117     url    = "mirror://luarocks/lua-cjson-2.1.0.10-1.rockspec";
1118     sha256 = "05sp7rq72x4kdkyid1ch0yyscwsi5wk85d2hj6xwssz3h8n8drdg";
1119   }).outPath;
1120   src = fetchFromGitHub {
1121     owner = "openresty";
1122     repo = "lua-cjson";
1123     rev = "2.1.0.10";
1124     hash = "sha256-/SeQro0FaJn91bAGjsVIin+mJF89VUm/G0KyJkV9Qps=";
1125   };
1127   disabled = luaOlder "5.1";
1129   meta = {
1130     homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php";
1131     description = "A fast JSON encoding/parsing module";
1132     license.fullName = "MIT";
1133   };
1134 }) {};
1136 lua-cmsgpack = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1137 buildLuarocksPackage {
1138   pname = "lua-cmsgpack";
1139   version = "0.4.0-0";
1140   knownRockspec = (fetchurl {
1141     url    = "mirror://luarocks/lua-cmsgpack-0.4.0-0.rockspec";
1142     sha256 = "10cvr6knx3qvjcw1q9v05f2qy607mai7lbq321nx682aa0n1fzin";
1143   }).outPath;
1144   src = fetchFromGitHub {
1145     owner = "antirez";
1146     repo = "lua-cmsgpack";
1147     rev = "0.4.0";
1148     hash = "sha256-oGKX5G3uNGCJOaZpjLmIJYuq5HtdLd9xM/TlmxODCkg=";
1149   };
1151   disabled = luaOlder "5.1";
1153   meta = {
1154     homepage = "http://github.com/antirez/lua-cmsgpack";
1155     description = "MessagePack C implementation and bindings for Lua 5.1/5.2/5.3";
1156     license.fullName = "Two-clause BSD";
1157   };
1158 }) {};
1160 lua-curl = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
1161 buildLuarocksPackage {
1162   pname = "lua-curl";
1163   version = "0.3.13-1";
1164   knownRockspec = (fetchurl {
1165     url    = "mirror://luarocks/lua-curl-0.3.13-1.rockspec";
1166     sha256 = "0lz534sm35hxazf1w71hagiyfplhsvzr94i6qyv5chjfabrgbhjn";
1167   }).outPath;
1168   src = fetchzip {
1169     url    = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.13.zip";
1170     sha256 = "0gn59bwrnb2mvl8i0ycr6m3jmlgx86xlr9mwnc85zfhj7zhi5anp";
1171   };
1173   disabled = luaOlder "5.1" || luaAtLeast "5.5";
1175   meta = {
1176     homepage = "https://github.com/Lua-cURL";
1177     description = "Lua binding to libcurl";
1178     license.fullName = "MIT/X11";
1179   };
1180 }) {};
1182 lua-ffi-zlib = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1183 buildLuarocksPackage {
1184   pname = "lua-ffi-zlib";
1185   version = "0.6-0";
1186   knownRockspec = (fetchurl {
1187     url    = "mirror://luarocks/lua-ffi-zlib-0.6-0.rockspec";
1188     sha256 = "060sac715f1ris13fjv6gwqm0lk6by0a2zhldxd8hdrc0jss8p34";
1189   }).outPath;
1190   src = fetchFromGitHub {
1191     owner = "hamishforbes";
1192     repo = "lua-ffi-zlib";
1193     rev = "v0.6";
1194     hash = "sha256-l3zN6amZ6uUbOl7vt5XF+Uyz0nbDrYgcaQCWRFSN22Q=";
1195   };
1197   disabled = luaOlder "5.1";
1199   meta = {
1200     homepage = "https://github.com/hamishforbes/lua-ffi-zlib";
1201     description = "A Lua module using LuaJIT's FFI feature to access zlib.";
1202   };
1203 }) {};
1205 lua-iconv = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
1206 buildLuarocksPackage {
1207   pname = "lua-iconv";
1208   version = "7.0.0-4";
1209   knownRockspec = (fetchurl {
1210     url    = "mirror://luarocks/lua-iconv-7.0.0-4.rockspec";
1211     sha256 = "0j34zf98wdr6ks6snsrqi00vwm3ngsa5f74kadsn178iw7hd8c3q";
1212   }).outPath;
1213   src = fetchurl {
1214     url    = "https://github.com/lunarmodules/lua-iconv/archive/v7.0.0/lua-iconv-7.0.0.tar.gz";
1215     sha256 = "0arp0h342hpp4kfdxc69yxspziky4v7c13jbf12yrs8f1lnjzr0x";
1216   };
1218   disabled = luaOlder "5.1";
1220   meta = {
1221     homepage = "https://github.com/lunarmodules/lua-iconv/";
1222     description = "Lua binding to the iconv";
1223     license.fullName = "MIT/X11";
1224   };
1225 }) {};
1227 lua-lsp = callPackage({ buildLuarocksPackage, dkjson, fetchFromGitHub, fetchurl, inspect, lpeglabel, luaAtLeast, luaOlder }:
1228 buildLuarocksPackage {
1229   pname = "lua-lsp";
1230   version = "0.1.0-2";
1231   knownRockspec = (fetchurl {
1232     url    = "mirror://luarocks/lua-lsp-0.1.0-2.rockspec";
1233     sha256 = "19jsz00qlgbyims6cg8i40la7v8kr7zsxrrr3dg0kdg0i36xqs6c";
1234   }).outPath;
1235   src = fetchFromGitHub {
1236     owner = "Alloyed";
1237     repo = "lua-lsp";
1238     rev = "v0.1.0";
1239     hash = "sha256-Fy9d6ZS0R48dUpKpgJ9jRujQna5wsE3+StJ8GQyWY54=";
1240   };
1242   disabled = luaOlder "5.1" || luaAtLeast "5.4";
1243   propagatedBuildInputs = [ dkjson inspect lpeglabel ];
1245   meta = {
1246     homepage = "https://github.com/Alloyed/lua-lsp";
1247     description = "A Language Server implementation for lua, the language";
1248     license.fullName = "MIT";
1249   };
1250 }) {};
1252 lua-messagepack = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
1253 buildLuarocksPackage {
1254   pname = "lua-messagepack";
1255   version = "0.5.4-1";
1256   knownRockspec = (fetchurl {
1257     url    = "mirror://luarocks/lua-messagepack-0.5.4-1.rockspec";
1258     sha256 = "1jygn6f8ab69z0nn1gib45wvjp075gzxp54vdmgxb3qfar0q70kr";
1259   }).outPath;
1260   src = fetchurl {
1261     url    = "https://framagit.org/fperrad/lua-MessagePack/raw/releases/lua-messagepack-0.5.4.tar.gz";
1262     sha256 = "0kk1n9kf6wip8k2xx4wjlv7647biji2p86v4jf0h6d6wkaypq0kz";
1263   };
1265   disabled = luaOlder "5.1";
1267   meta = {
1268     homepage = "https://fperrad.frama.io/lua-MessagePack/";
1269     description = "a pure Lua implementation of the MessagePack serialization format";
1270     license.fullName = "MIT/X11";
1271   };
1272 }) {};
1274 lua-protobuf = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1275 buildLuarocksPackage {
1276   pname = "lua-protobuf";
1277   version = "0.5.2-1";
1278   knownRockspec = (fetchurl {
1279     url    = "mirror://luarocks/lua-protobuf-0.5.2-1.rockspec";
1280     sha256 = "0vi916qn0rbc2xhlf766vja403hwikkglza879yxm77j4n7ywrqb";
1281   }).outPath;
1282   src = fetchFromGitHub {
1283     owner = "starwing";
1284     repo = "lua-protobuf";
1285     rev = "0.5.2";
1286     hash = "sha256-8x6FbaSUcwI1HiVvCr/726CgQSUxkUWqTNJH9pRLbJ0=";
1287   };
1289   disabled = luaOlder "5.1";
1291   meta = {
1292     homepage = "https://github.com/starwing/lua-protobuf";
1293     description = "protobuf data support for Lua";
1294     maintainers = with lib.maintainers; [ lockejan ];
1295     license.fullName = "MIT";
1296   };
1297 }) {};
1299 lua-resty-http = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1300 buildLuarocksPackage {
1301   pname = "lua-resty-http";
1302   version = "0.17.2-0";
1303   knownRockspec = (fetchurl {
1304     url    = "mirror://luarocks/lua-resty-http-0.17.2-0.rockspec";
1305     sha256 = "10swbq779d1q794d17269v0ln26hblsk7kvxj9s60rx71skzql6s";
1306   }).outPath;
1307   src = fetchFromGitHub {
1308     owner = "ledgetech";
1309     repo = "lua-resty-http";
1310     rev = "v0.17.2";
1311     hash = "sha256-Ph3PpzQYKYMvPvjYwx4TeZ9RYoryMsO6mLpkAq/qlHY=";
1312   };
1314   disabled = luaOlder "5.1";
1316   meta = {
1317     homepage = "https://github.com/ledgetech/lua-resty-http";
1318     description = "Lua HTTP client cosocket driver for OpenResty / ngx_lua.";
1319     license.fullName = "2-clause BSD";
1320   };
1321 }) {};
1323 lua-resty-jwt = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-resty-openssl, luaOlder }:
1324 buildLuarocksPackage {
1325   pname = "lua-resty-jwt";
1326   version = "0.2.3-0";
1327   knownRockspec = (fetchurl {
1328     url    = "mirror://luarocks/lua-resty-jwt-0.2.3-0.rockspec";
1329     sha256 = "1fxdwfr4pna3fdfm85kin97n53caq73h807wjb59wpqiynbqzc8c";
1330   }).outPath;
1331   src = fetchFromGitHub {
1332     owner = "cdbattags";
1333     repo = "lua-resty-jwt";
1334     rev = "v0.2.3";
1335     hash = "sha256-m8UbvKk2DR8yCYX9Uv5HjXcZDVyVeRlUKp7UiaN/SkA=";
1336   };
1338   disabled = luaOlder "5.1";
1339   propagatedBuildInputs = [ lua-resty-openssl ];
1341   meta = {
1342     homepage = "https://github.com/cdbattags/lua-resty-jwt";
1343     description = "JWT for ngx_lua and LuaJIT.";
1344     license.fullName = "Apache License Version 2";
1345   };
1346 }) {};
1348 lua-resty-openidc = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-resty-http, lua-resty-jwt, lua-resty-session, luaOlder }:
1349 buildLuarocksPackage {
1350   pname = "lua-resty-openidc";
1351   version = "1.8.0-1";
1352   knownRockspec = (fetchurl {
1353     url    = "mirror://luarocks/lua-resty-openidc-1.8.0-1.rockspec";
1354     sha256 = "0jgajhn45nybhi7z15bg957kznzqcjzxc8nrzmgyignkwp4yi1qk";
1355   }).outPath;
1356   src = fetchFromGitHub {
1357     owner = "zmartzone";
1358     repo = "lua-resty-openidc";
1359     rev = "v1.8.0";
1360     hash = "sha256-LSkNWebMF1L1a66QszugAxcHsW5o9uxQZHWituFFgJs=";
1361   };
1363   disabled = luaOlder "5.1";
1364   propagatedBuildInputs = [ lua-resty-http lua-resty-jwt lua-resty-session ];
1366   meta = {
1367     homepage = "https://github.com/zmartzone/lua-resty-openidc";
1368     description = "A library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality";
1369     license.fullName = "Apache 2.0";
1370   };
1371 }) {};
1373 lua-resty-openssl = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }:
1374 buildLuarocksPackage {
1375   pname = "lua-resty-openssl";
1376   version = "1.5.1-1";
1377   knownRockspec = (fetchurl {
1378     url    = "mirror://luarocks/lua-resty-openssl-1.5.1-1.rockspec";
1379     sha256 = "1xqwsh3r9dmasc46c3dwili7g9p427yh7xdvcpiz7pr25y35saps";
1380   }).outPath;
1381   src = fetchFromGitHub {
1382     owner = "fffonion";
1383     repo = "lua-resty-openssl";
1384     rev = "1.5.1";
1385     hash = "sha256-wkc/9t2jXM2yPEd9ozAMcNe3WsS3MbN01OQ/9sI37Eg=";
1386   };
1389   meta = {
1390     homepage = "https://github.com/fffonion/lua-resty-openssl";
1391     description = "No summary";
1392     license.fullName = "BSD";
1393   };
1394 }) {};
1396 lua-resty-session = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-ffi-zlib, lua-resty-openssl, luaOlder }:
1397 buildLuarocksPackage {
1398   pname = "lua-resty-session";
1399   version = "4.0.5-1";
1400   knownRockspec = (fetchurl {
1401     url    = "mirror://luarocks/lua-resty-session-4.0.5-1.rockspec";
1402     sha256 = "0h0kqwna46mrraq310qjb7yigxwv13n4czk24xnqr21czxsskzkg";
1403   }).outPath;
1404   src = fetchFromGitHub {
1405     owner = "bungle";
1406     repo = "lua-resty-session";
1407     rev = "v4.0.5";
1408     hash = "sha256-n0m6/4JnUPoidM7oWKd+ZyNbb/X/h8w21ptCrFaA8SI=";
1409   };
1411   disabled = luaOlder "5.1";
1412   propagatedBuildInputs = [ lua-ffi-zlib lua-resty-openssl ];
1414   meta = {
1415     homepage = "https://github.com/bungle/lua-resty-session";
1416     description = "Session Library for OpenResty - Flexible and Secure";
1417     license.fullName = "BSD";
1418   };
1419 }) {};
1421 lua-rtoml = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaOlder, luarocks-build-rust-mlua }:
1422 buildLuarocksPackage {
1423   pname = "lua-rtoml";
1424   version = "0.2-0";
1426   src = fetchFromGitHub {
1427     owner = "lblasc";
1428     repo = "lua-rtoml";
1429     rev = "c83f56b9519d85968d663308e303f384c55c7b18";
1430     hash = "sha256-PRoaUQSSvzl9VFK+aGHbJqCW37AsO+oFXNYgM0OdIoY=";
1431   };
1433   disabled = luaOlder "5.1";
1434   propagatedBuildInputs = [ luarocks-build-rust-mlua ];
1436   meta = {
1437     homepage = "https://github.com/lblasc/lua-rtoml";
1438     description = "Lua bindings for the Rust toml crate.";
1439     maintainers = with lib.maintainers; [ lblasc ];
1440     license.fullName = "MIT";
1441   };
1442 }) {};
1444 lua-subprocess = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaOlder }:
1445 buildLuarocksPackage {
1446   pname = "subprocess";
1447   version = "scm-1";
1449   src = fetchFromGitHub {
1450     owner = "0x0ade";
1451     repo = "lua-subprocess";
1452     rev = "bfa8e97da774141f301cfd1106dca53a30a4de54";
1453     hash = "sha256-4LiYWB3PAQ/s33Yj/gwC+Ef1vGe5FedWexeCBVSDIV0=";
1454   };
1456   disabled = luaOlder "5.1";
1458   meta = {
1459     homepage = "https://github.com/xlq/lua-subprocess";
1460     description = "A Lua module written in C that allows you to create child processes and communicate with them.";
1461     maintainers = with lib.maintainers; [ scoder12 ];
1462     license.fullName = "MIT";
1463   };
1464 }) {};
1466 lua-term = callPackage({ buildLuarocksPackage, fetchurl }:
1467 buildLuarocksPackage {
1468   pname = "lua-term";
1469   version = "0.8-1";
1470   knownRockspec = (fetchurl {
1471     url    = "mirror://luarocks/lua-term-0.8-1.rockspec";
1472     sha256 = "1728lj3x8shc5m1yczrl75szq15rnfpzk36n0m49181ly9wxn7s0";
1473   }).outPath;
1474   src = fetchurl {
1475     url    = "https://github.com/hoelzro/lua-term/archive/0.08.tar.gz";
1476     sha256 = "1vfdg5dzqdi3gn6wpc9a3djhsl6fn2ikqdwr8rrqrnd91qwlzycg";
1477   };
1480   meta = {
1481     homepage = "https://github.com/hoelzro/lua-term";
1482     description = "Terminal functions for Lua";
1483     license.fullName = "MIT/X11";
1484   };
1485 }) {};
1487 lua-toml = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1488 buildLuarocksPackage {
1489   pname = "lua-toml";
1490   version = "2.0-1";
1491   knownRockspec = (fetchurl {
1492     url    = "mirror://luarocks/lua-toml-2.0-1.rockspec";
1493     sha256 = "0zd3hrj1ifq89rjby3yn9y96vk20ablljvqdap981navzlbb7zvq";
1494   }).outPath;
1495   src = fetchFromGitHub {
1496     owner = "jonstoler";
1497     repo = "lua-toml";
1498     rev = "v2.0.1";
1499     hash = "sha256-6wCo06Ulmx6HVN2bTrklPqgGiEhDZ1fUfusdS/SDdFI=";
1500   };
1502   disabled = luaOlder "5.1";
1504   meta = {
1505     homepage = "https://github.com/jonstoler/lua-toml";
1506     description = "toml decoder/encoder for Lua";
1507     license.fullName = "MIT";
1508   };
1509 }) {};
1511 lua-utils-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
1512 buildLuarocksPackage {
1513   pname = "lua-utils.nvim";
1514   version = "1.0.2-1";
1515   knownRockspec = (fetchurl {
1516     url    = "mirror://luarocks/lua-utils.nvim-1.0.2-1.rockspec";
1517     sha256 = "0s11j4vd26haz72rb0c5m5h953292rh8r62mvlxbss6i69v2dkr9";
1518   }).outPath;
1519   src = fetchzip {
1520     url    = "https://github.com/nvim-neorg/lua-utils.nvim/archive/v1.0.2.zip";
1521     sha256 = "0bnl2kvxs55l8cjhfpa834bm010n8r4gmsmivjcp548c076msagn";
1522   };
1524   disabled = luaOlder "5.1";
1526   meta = {
1527     homepage = "https://github.com/nvim-neorg/lua-utils.nvim";
1528     description = "A set of utility functions for Neovim plugins.";
1529     maintainers = with lib.maintainers; [ mrcjkb ];
1530     license.fullName = "MIT";
1531   };
1532 }) {};
1534 lua-yajl = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1535 buildLuarocksPackage {
1536   pname = "lua-yajl";
1537   version = "2.1-0";
1538   knownRockspec = (fetchurl {
1539     url    = "mirror://luarocks/lua-yajl-2.1-0.rockspec";
1540     sha256 = "02jlgd4583p3q4w6hjgmdfkasxhamaj58byyrbmnch0qii61in9r";
1541   }).outPath;
1542   src = fetchFromGitHub {
1543     owner = "brimworks";
1544     repo = "lua-yajl";
1545     rev = "v2.1";
1546     hash = "sha256-zHBNedJkGEm47HpbeJvcm6JNUUfA1OunLHPJulR8rF8=";
1547   };
1549   disabled = luaOlder "5.1";
1551   meta = {
1552     homepage = "http://github.com/brimworks/lua-yajl";
1553     description = "Integrate the yajl JSON library with Lua.";
1554     maintainers = with lib.maintainers; [ pstn ];
1555     license.fullName = "MIT/X11";
1556   };
1557 }) {};
1559 lua-zlib = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1560 buildLuarocksPackage {
1561   pname = "lua-zlib";
1562   version = "1.2-2";
1563   knownRockspec = (fetchurl {
1564     url    = "mirror://luarocks/lua-zlib-1.2-2.rockspec";
1565     sha256 = "1ycjy59w6rkhasqqbiyra0f1sj87fswcz25zwxy4gyv7rrwy5hxd";
1566   }).outPath;
1567   src = fetchFromGitHub {
1568     owner = "brimworks";
1569     repo = "lua-zlib";
1570     rev = "v1.2";
1571     hash = "sha256-3gDYO4KcGUmcJFV22NDXWrFDwHNmPvMp++iXrz+QbC0=";
1572   };
1574   disabled = luaOlder "5.1";
1576   meta = {
1577     homepage = "https://github.com/brimworks/lua-zlib";
1578     description = "Simple streaming interface to zlib for Lua.";
1579     maintainers = with lib.maintainers; [ koral ];
1580     license.fullName = "MIT";
1581   };
1582 }) {};
1584 lua_cliargs = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1585 buildLuarocksPackage {
1586   pname = "lua_cliargs";
1587   version = "3.0.2-1";
1588   knownRockspec = (fetchurl {
1589     url    = "mirror://luarocks/lua_cliargs-3.0.2-1.rockspec";
1590     sha256 = "1gp3n9ipaqdk59ilqx1ci5faxmx4dh9sgg3279jb8yfa7wg5b8pf";
1591   }).outPath;
1592   src = fetchFromGitHub {
1593     owner = "lunarmodules";
1594     repo = "lua_cliargs";
1595     rev = "v3.0.2";
1596     hash = "sha256-wL3qBQ8Lu3q8DK2Kaeo1dgzIHd8evaxFYJg47CcQiSg=";
1597   };
1599   disabled = luaOlder "5.1";
1601   meta = {
1602     homepage = "https://github.com/lunarmodules/lua_cliargs.git";
1603     description = "A command-line argument parsing module for Lua";
1604     license.fullName = "MIT";
1605   };
1606 }) {};
1608 luabitop = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaAtLeast, luaOlder }:
1609 buildLuarocksPackage {
1610   pname = "luabitop";
1611   version = "1.0.2-3";
1613   src = fetchFromGitHub {
1614     owner = "teto";
1615     repo = "luabitop";
1616     rev = "96f0a3d73ae5183d0a81bc2f29326eaa06becbfd";
1617     hash = "sha256-PrM8ncb3TaqgVhFdRa+rUsJ5WuIzS4/DRqVqj8tCaeg=";
1618   };
1620   disabled = luaOlder "5.1" || luaAtLeast "5.3";
1622   meta = {
1623     homepage = "http://bitop.luajit.org/";
1624     description = "Lua Bit Operations Module";
1625     license.fullName = "MIT/X license";
1626   };
1627 }) {};
1629 luacheck = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luafilesystem }:
1630 buildLuarocksPackage {
1631   pname = "luacheck";
1632   version = "1.2.0-1";
1633   knownRockspec = (fetchurl {
1634     url    = "mirror://luarocks/luacheck-1.2.0-1.rockspec";
1635     sha256 = "0jnmrppq5hp8cwiw1daa33cdn8y2n5lsjk8vzn7ixb20ddz01m6c";
1636   }).outPath;
1637   src = fetchFromGitHub {
1638     owner = "lunarmodules";
1639     repo = "luacheck";
1640     rev = "v1.2.0";
1641     hash = "sha256-6aDXZRLq2c36dbasyVzcecQKoMvY81RIGYasdF211UY=";
1642   };
1644   disabled = luaOlder "5.1";
1645   propagatedBuildInputs = [ argparse luafilesystem ];
1647   meta = {
1648     homepage = "https://github.com/lunarmodules/luacheck";
1649     description = "A static analyzer and a linter for Lua";
1650     license.fullName = "MIT";
1651   };
1652 }) {};
1654 luacov = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }:
1655 buildLuarocksPackage {
1656   pname = "luacov";
1657   version = "0.15.0-1";
1658   knownRockspec = (fetchurl {
1659     url    = "mirror://luarocks/luacov-0.15.0-1.rockspec";
1660     sha256 = "18byfl23c73pazi60hsx0vd74hqq80mzixab76j36cyn8k4ni9db";
1661   }).outPath;
1662   src = fetchFromGitHub {
1663     owner = "keplerproject";
1664     repo = "luacov";
1665     rev = "v0.15.0";
1666     hash = "sha256-cZrsxQyW5Z13cguTzsdJyIMATJUw6GasLItho6wFpSA=";
1667   };
1669   disabled = luaOlder "5.1" || luaAtLeast "5.5";
1671   meta = {
1672     homepage = "https://keplerproject.github.io/luacov/";
1673     description = "Coverage analysis tool for Lua scripts";
1674     license.fullName = "MIT";
1675   };
1676 }) {};
1678 luadbi = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }:
1679 buildLuarocksPackage {
1680   pname = "luadbi";
1681   version = "0.7.3-1";
1682   knownRockspec = (fetchurl {
1683     url    = "mirror://luarocks/luadbi-0.7.3-1.rockspec";
1684     sha256 = "0lyiwyg6qnnj7d5rxim6b9p68nbszmwhg57xjlvalbcgwgipk1ns";
1685   }).outPath;
1686   src = fetchFromGitHub {
1687     owner = "mwild1";
1688     repo = "luadbi";
1689     rev = "v0.7.3";
1690     hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I=";
1691   };
1693   disabled = luaOlder "5.1" || luaAtLeast "5.5";
1695   meta = {
1696     homepage = "https://github.com/mwild1/luadbi";
1697     description = "Database abstraction layer";
1698     license.fullName = "MIT/X11";
1699   };
1700 }) {};
1702 luadbi-mysql = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder, luadbi }:
1703 buildLuarocksPackage {
1704   pname = "luadbi-mysql";
1705   version = "0.7.3-1";
1706   knownRockspec = (fetchurl {
1707     url    = "mirror://luarocks/luadbi-mysql-0.7.3-1.rockspec";
1708     sha256 = "1x0pl6qpdi4vmhxs2076kkxmikbv0asndh8lp34r47lym37hcrr3";
1709   }).outPath;
1710   src = fetchFromGitHub {
1711     owner = "mwild1";
1712     repo = "luadbi";
1713     rev = "v0.7.3";
1714     hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I=";
1715   };
1717   disabled = luaOlder "5.1" || luaAtLeast "5.5";
1718   propagatedBuildInputs = [ luadbi ];
1720   meta = {
1721     homepage = "https://github.com/mwild1/luadbi";
1722     description = "Database abstraction layer";
1723     license.fullName = "MIT/X11";
1724   };
1725 }) {};
1727 luadbi-postgresql = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder, luadbi }:
1728 buildLuarocksPackage {
1729   pname = "luadbi-postgresql";
1730   version = "0.7.3-1";
1731   knownRockspec = (fetchurl {
1732     url    = "mirror://luarocks/luadbi-postgresql-0.7.3-1.rockspec";
1733     sha256 = "1bnjsgk7cl6wmfhmn8b0av49yabf8flhdi1jhczksvvpf32p77bw";
1734   }).outPath;
1735   src = fetchFromGitHub {
1736     owner = "mwild1";
1737     repo = "luadbi";
1738     rev = "v0.7.3";
1739     hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I=";
1740   };
1742   disabled = luaOlder "5.1" || luaAtLeast "5.5";
1743   propagatedBuildInputs = [ luadbi ];
1745   meta = {
1746     homepage = "https://github.com/mwild1/luadbi";
1747     description = "Database abstraction layer";
1748     license.fullName = "MIT/X11";
1749   };
1750 }) {};
1752 luadbi-sqlite3 = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder, luadbi }:
1753 buildLuarocksPackage {
1754   pname = "luadbi-sqlite3";
1755   version = "0.7.3-1";
1756   knownRockspec = (fetchurl {
1757     url    = "mirror://luarocks/luadbi-sqlite3-0.7.3-1.rockspec";
1758     sha256 = "0ppkk1jkxw2fhc4x26h7h2bks51shl3am552phn7all5h3k7h3by";
1759   }).outPath;
1760   src = fetchFromGitHub {
1761     owner = "mwild1";
1762     repo = "luadbi";
1763     rev = "v0.7.3";
1764     hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I=";
1765   };
1767   disabled = luaOlder "5.1" || luaAtLeast "5.5";
1768   propagatedBuildInputs = [ luadbi ];
1770   meta = {
1771     homepage = "https://github.com/mwild1/luadbi";
1772     description = "Database abstraction layer";
1773     license.fullName = "MIT/X11";
1774   };
1775 }) {};
1777 luaepnf = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lpeg, luaAtLeast, luaOlder }:
1778 buildLuarocksPackage {
1779   pname = "luaepnf";
1780   version = "0.3-2";
1781   knownRockspec = (fetchurl {
1782     url    = "mirror://luarocks/luaepnf-0.3-2.rockspec";
1783     sha256 = "0kqmnj11wmfpc9mz04zzq8ab4mnbkrhcgc525wrq6pgl3p5li8aa";
1784   }).outPath;
1785   src = fetchFromGitHub {
1786     owner = "siffiejoe";
1787     repo = "lua-luaepnf";
1788     rev = "v0.3";
1789     hash = "sha256-iZksr6Ljy94D0VO4xSRO9s/VgcURvCfDMX9DOt2IetM=";
1790   };
1792   disabled = luaOlder "5.1" || luaAtLeast "5.5";
1793   propagatedBuildInputs = [ lpeg ];
1795   meta = {
1796     homepage = "http://siffiejoe.github.io/lua-luaepnf/";
1797     description = "Extended PEG Notation Format (easy grammars for LPeg)";
1798     license.fullName = "MIT";
1799   };
1800 }) {};
1802 luaevent = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
1803 buildLuarocksPackage {
1804   pname = "luaevent";
1805   version = "0.4.6-1";
1806   knownRockspec = (fetchurl {
1807     url    = "mirror://luarocks/luaevent-0.4.6-1.rockspec";
1808     sha256 = "03zixadhx4a7nh67n0sm6sy97c8i9va1a78hibhrl7cfbqc2zc7f";
1809   }).outPath;
1810   src = fetchurl {
1811     url    = "https://github.com/harningt/luaevent/archive/v0.4.6.tar.gz";
1812     sha256 = "0pbh315d3p7hxgzmbhphkcldxv2dadbka96131b8j5914nxvl4nx";
1813   };
1815   disabled = luaOlder "5.1";
1817   meta = {
1818     homepage = "https://github.com/harningt/luaevent";
1819     description = "libevent binding for Lua";
1820     license.fullName = "MIT";
1821   };
1822 }) {};
1824 luaexpat = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1825 buildLuarocksPackage {
1826   pname = "luaexpat";
1827   version = "1.4.1-1";
1828   knownRockspec = (fetchurl {
1829     url    = "mirror://luarocks/luaexpat-1.4.1-1.rockspec";
1830     sha256 = "1abwd385x7wnza7qqz5s4aj6m2l1c23pjmbgnpq73q0s17pn1h0c";
1831   }).outPath;
1832   src = fetchFromGitHub {
1833     owner = "lunarmodules";
1834     repo = "luaexpat";
1835     rev = "1.4.1";
1836     hash = "sha256-SnI+a7555R/EFFdnrvJohP6uzwQiMNQPqgp0jxAI178=";
1837   };
1839   disabled = luaOlder "5.1";
1841   meta = {
1842     homepage = "https://lunarmodules.github.io/luaexpat";
1843     description = "XML Expat parsing";
1844     maintainers = with lib.maintainers; [ arobyn flosse ];
1845     license.fullName = "MIT/X11";
1846   };
1847 }) {};
1849 luaffi = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1850 buildLuarocksPackage {
1851   pname = "luaffi";
1852   version = "scm-1";
1853   knownRockspec = (fetchurl {
1854     url    = "mirror://luarocks/luaffi-scm-1.rockspec";
1855     sha256 = "1nia0g4n1yv1sbv5np572y8yfai56a8bnscir807s5kj5bs0xhxm";
1856   }).outPath;
1857   src = fetchFromGitHub {
1858     owner = "facebook";
1859     repo = "luaffifb";
1860     rev = "a1cb731b08c91643b0665935eb5622b3d621211b";
1861     hash = "sha256-wRjAtEEy8KSlIoi/IIutL73Vbm1r+zKs26dEP7gzR1o=";
1862   };
1864   disabled = luaOlder "5.1";
1866   meta = {
1867     homepage = "https://github.com/facebook/luaffifb";
1868     description = "FFI library for calling C functions from lua";
1869     license.fullName = "BSD";
1870   };
1871 }) {};
1873 luafilesystem = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1874 buildLuarocksPackage {
1875   pname = "luafilesystem";
1876   version = "1.8.0-1";
1877   knownRockspec = (fetchurl {
1878     url    = "mirror://luarocks/luafilesystem-1.8.0-1.rockspec";
1879     sha256 = "18nkaks0b75dmycljg5vljap5w8d0ysdkg96yl5szgzr7nzrymfa";
1880   }).outPath;
1881   src = fetchFromGitHub {
1882     owner = "keplerproject";
1883     repo = "luafilesystem";
1884     rev = "v1_8_0";
1885     hash = "sha256-pEA+Z1pkykWLTT6NHQ5lo8roOh2P0fiHtnK+byTkF5o=";
1886   };
1888   disabled = luaOlder "5.1";
1890   meta = {
1891     homepage = "https://github.com/keplerproject/luafilesystem";
1892     description = "File System Library for the Lua Programming Language";
1893     maintainers = with lib.maintainers; [ flosse ];
1894     license.fullName = "MIT/X11";
1895   };
1896 }) {};
1898 lualdap = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1899 buildLuarocksPackage {
1900   pname = "lualdap";
1901   version = "1.4.0-1";
1902   knownRockspec = (fetchurl {
1903     url    = "mirror://luarocks/lualdap-1.4.0-1.rockspec";
1904     sha256 = "0n924gxm6ccr9hjk4bi5z70vgh7g75dl7293pab41a2qcrlsj9nk";
1905   }).outPath;
1906   src = fetchFromGitHub {
1907     owner = "lualdap";
1908     repo = "lualdap";
1909     rev = "v1.4.0";
1910     hash = "sha256-u91T7RlRa87CbYXZLhrzcpVvZWsCnQObmbS86kfsAHc=";
1911   };
1913   disabled = luaOlder "5.1";
1915   meta = {
1916     homepage = "https://lualdap.github.io/lualdap/";
1917     description = "A Lua interface to the OpenLDAP library";
1918     maintainers = with lib.maintainers; [ aanderse ];
1919     license.fullName = "MIT";
1920   };
1921 }) {};
1923 lualogging = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luasocket }:
1924 buildLuarocksPackage {
1925   pname = "lualogging";
1926   version = "1.8.2-1";
1927   knownRockspec = (fetchurl {
1928     url    = "mirror://luarocks/lualogging-1.8.2-1.rockspec";
1929     sha256 = "164c4xgwkv2ya8fbb22wm48ywc4gx939b574r6bgl8zqayffdqmx";
1930   }).outPath;
1931   src = fetchFromGitHub {
1932     owner = "lunarmodules";
1933     repo = "lualogging";
1934     rev = "v1.8.2";
1935     hash = "sha256-RIblf2C9H6Iajzc9aqnvrK4xq8FAHq9InTO6m3aM5dc=";
1936   };
1938   propagatedBuildInputs = [ luasocket ];
1940   meta = {
1941     homepage = "https://github.com/lunarmodules/lualogging";
1942     description = "A simple API to use logging features";
1943     license.fullName = "MIT/X11";
1944   };
1945 }) {};
1947 luaossl = callPackage({ buildLuarocksPackage, fetchurl, fetchzip }:
1948 buildLuarocksPackage {
1949   pname = "luaossl";
1950   version = "20220711-0";
1951   knownRockspec = (fetchurl {
1952     url    = "mirror://luarocks/luaossl-20220711-0.rockspec";
1953     sha256 = "0b68kvfz587ilmb5c1p7920kysg9q4m4fl4cz4d93jl3270mzh8y";
1954   }).outPath;
1955   src = fetchzip {
1956     url    = "https://github.com/wahern/luaossl/archive/rel-20220711.zip";
1957     sha256 = "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb";
1958   };
1961   meta = {
1962     homepage = "http://25thandclement.com/~william/projects/luaossl.html";
1963     description = "Most comprehensive OpenSSL module in the Lua universe.";
1964     license.fullName = "MIT/X11";
1965   };
1966 }) {};
1968 luaposix = callPackage({ bit32, buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
1969 buildLuarocksPackage {
1970   pname = "luaposix";
1971   version = "34.1.1-1";
1972   knownRockspec = (fetchurl {
1973     url    = "mirror://luarocks/luaposix-34.1.1-1.rockspec";
1974     sha256 = "0hx6my54axjcb3bklr991wji374qq6mwa3ily6dvb72vi2534nwz";
1975   }).outPath;
1976   src = fetchzip {
1977     url    = "http://github.com/luaposix/luaposix/archive/v34.1.1.zip";
1978     sha256 = "0863r8c69yx92lalj174qdhavqmcs2cdimjim6k55qj9yn78v9zl";
1979   };
1981   disabled = luaOlder "5.1" || luaAtLeast "5.4";
1982   propagatedBuildInputs = [ bit32 ];
1984   meta = {
1985     homepage = "http://github.com/luaposix/luaposix/";
1986     description = "Lua bindings for POSIX";
1987     maintainers = with lib.maintainers; [ vyp lblasc ];
1988     license.fullName = "MIT/X11";
1989   };
1990 }) {};
1992 luaprompt = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
1993 buildLuarocksPackage {
1994   pname = "luaprompt";
1995   version = "0.9-1";
1996   knownRockspec = (fetchurl {
1997     url    = "mirror://luarocks/luaprompt-0.9-1.rockspec";
1998     sha256 = "0bh4fpfrqbg9bappnrfr6blvl3lzc99plq7jac67mhph1bjki7rk";
1999   }).outPath;
2000   src = fetchFromGitHub {
2001     owner = "dpapavas";
2002     repo = "luaprompt";
2003     rev = "v0.9";
2004     hash = "sha256-S6bzlIY1KlMK3wy01wGuRujGFgPxcNWmCaISQ87EBGs=";
2005   };
2007   disabled = luaOlder "5.1";
2008   propagatedBuildInputs = [ argparse ];
2010   meta = {
2011     homepage = "https://github.com/dpapavas/luaprompt";
2012     description = "A Lua command prompt with pretty-printing and auto-completion";
2013     maintainers = with lib.maintainers; [ Freed-Wu ];
2014     license.fullName = "MIT/X11";
2015   };
2016 }) {};
2018 luarepl = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
2019 buildLuarocksPackage {
2020   pname = "luarepl";
2021   version = "0.10-1";
2022   knownRockspec = (fetchurl {
2023     url    = "mirror://luarocks/luarepl-0.10-1.rockspec";
2024     sha256 = "12zdljfs4wg55mj7a38iwg7p5i1pmc934v9qlpi61sw4brp6x8d3";
2025   }).outPath;
2026   src = fetchurl {
2027     url    = "https://github.com/hoelzro/lua-repl/archive/0.10.tar.gz";
2028     sha256 = "0wv37h9w6y5pgr39m7yxbf8imkwvaila6rnwjcp0xsxl5c1rzfjm";
2029   };
2031   disabled = luaOlder "5.1";
2033   meta = {
2034     homepage = "https://github.com/hoelzro/lua-repl";
2035     description = "A reusable REPL component for Lua, written in Lua";
2036     license.fullName = "MIT/X11";
2037   };
2038 }) {};
2040 luarocks = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }:
2041 buildLuarocksPackage {
2042   pname = "luarocks";
2043   version = "3.11.1-1";
2044   knownRockspec = (fetchurl {
2045     url    = "mirror://luarocks/luarocks-3.11.1-1.rockspec";
2046     sha256 = "0xg0siza8nlnnkaarmw73q12qx3frlfbysd5ipmxxi1d7yc38bbn";
2047   }).outPath;
2048   src = fetchFromGitHub {
2049     owner = "luarocks";
2050     repo = "luarocks";
2051     rev = "v3.11.1";
2052     hash = "sha256-GglygI8HP+aDFEuucOkjQ2Pgfv4+jW+og+2vL3KoZCQ=";
2053   };
2056   meta = {
2057     homepage = "http://www.luarocks.org";
2058     description = "A package manager for Lua modules.";
2059     maintainers = with lib.maintainers; [ mrcjkb teto ];
2060     license.fullName = "MIT";
2061   };
2062 }) {};
2064 luarocks-build-rust-mlua = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }:
2065 buildLuarocksPackage {
2066   pname = "luarocks-build-rust-mlua";
2067   version = "0.2.3-1";
2068   knownRockspec = (fetchurl {
2069     url    = "mirror://luarocks/luarocks-build-rust-mlua-0.2.3-1.rockspec";
2070     sha256 = "0vkbl2xcjjpi5gn7v2fr7nyyd7fg91zknrgm61cz91mwp4x5i3pf";
2071   }).outPath;
2072   src = fetchFromGitHub {
2073     owner = "mlua-rs";
2074     repo = "luarocks-build-rust-mlua";
2075     rev = "0.2.3";
2076     hash = "sha256-SktU54lLaa9x6ntsyeaomsvCQJOtkJhIK/q5uDDFHqY=";
2077   };
2080   meta = {
2081     homepage = "https://github.com/mlua-rs/luarocks-build-rust-mlua";
2082     description = "A LuaRocks build backend for Lua modules written in Rust using mlua";
2083     maintainers = with lib.maintainers; [ mrcjkb ];
2084     license.fullName = "MIT";
2085   };
2086 }) {};
2088 luarocks-build-treesitter-parser = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, luafilesystem }:
2089 buildLuarocksPackage {
2090   pname = "luarocks-build-treesitter-parser";
2091   version = "5.0.2-1";
2092   knownRockspec = (fetchurl {
2093     url    = "mirror://luarocks/luarocks-build-treesitter-parser-5.0.2-1.rockspec";
2094     sha256 = "037rap1aar6xx25xgnlknkkszarkbflpdfp1jaasq5py397gc61a";
2095   }).outPath;
2096   src = fetchzip {
2097     url    = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser/archive/v5.0.2.zip";
2098     sha256 = "03f17sljq1f7nqrdjn94p9p2j67bs5si2nl0xlv1njj326rby324";
2099   };
2101   disabled = luaOlder "5.1";
2102   propagatedBuildInputs = [ luafilesystem ];
2104   meta = {
2105     homepage = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser";
2106     description = "A luarocks build backend for tree-sitter parsers.";
2107     maintainers = with lib.maintainers; [ mrcjkb ];
2108     license.fullName = "MIT";
2109   };
2110 }) {};
2112 luarocks-build-treesitter-parser-cpp = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, luafilesystem }:
2113 buildLuarocksPackage {
2114   pname = "luarocks-build-treesitter-parser-cpp";
2115   version = "2.0.4-1";
2116   knownRockspec = (fetchurl {
2117     url    = "mirror://luarocks/luarocks-build-treesitter-parser-cpp-2.0.4-1.rockspec";
2118     sha256 = "0hrqy1s9c1naad43bri4icf5y139h5wk52yv4f0dxbvsfqbf8isb";
2119   }).outPath;
2120   src = fetchzip {
2121     url    = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser-cpp/archive/v2.0.4.zip";
2122     sha256 = "0r7mvc1f7wgmb4xgknmr38cv35chwdyxmj1fxw4xsdjrvb1qyvi6";
2123   };
2125   disabled = luaOlder "5.1";
2126   propagatedBuildInputs = [ luafilesystem ];
2128   meta = {
2129     homepage = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser-cpp";
2130     description = "A luarocks build backend for tree-sitter parsers written in C++.";
2131     maintainers = with lib.maintainers; [ mrcjkb ];
2132     license.fullName = "MIT";
2133   };
2134 }) {};
2136 luasec = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luasocket }:
2137 buildLuarocksPackage {
2138   pname = "luasec";
2139   version = "1.3.2-1";
2140   knownRockspec = (fetchurl {
2141     url    = "mirror://luarocks/luasec-1.3.2-1.rockspec";
2142     sha256 = "09nqs60cmbq1bi70cdh7v5xjnlsm2mrxv9pmbbvczijvz184jh33";
2143   }).outPath;
2144   src = fetchFromGitHub {
2145     owner = "brunoos";
2146     repo = "luasec";
2147     rev = "v1.3.2";
2148     hash = "sha256-o3uiZQnn/ID1qAgpZAqA4R3fWWk+Ajcgx++iNu1yLWc=";
2149   };
2151   disabled = luaOlder "5.1";
2152   propagatedBuildInputs = [ luasocket ];
2154   meta = {
2155     homepage = "https://github.com/brunoos/luasec/wiki";
2156     description = "A binding for OpenSSL library to provide TLS/SSL communication over LuaSocket.";
2157     maintainers = with lib.maintainers; [ flosse ];
2158     license.fullName = "MIT";
2159   };
2160 }) {};
2162 luasnip = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, jsregexp, luaOlder }:
2163 buildLuarocksPackage {
2164   pname = "luasnip";
2165   version = "2.3.0-1";
2166   knownRockspec = (fetchurl {
2167     url    = "mirror://luarocks/luasnip-2.3.0-1.rockspec";
2168     sha256 = "022srpvwwbms8i97mdhkwq0yg0pfjm7a6673iyf7cr1xj15pq23v";
2169   }).outPath;
2170   src = fetchzip {
2171     url    = "https://github.com/L3MON4D3/LuaSnip/archive/v2.3.0.zip";
2172     sha256 = "0bbackpym8k11gm32iwwzqjnqanpralanfjkl4lrs33xl7lsylqk";
2173   };
2175   disabled = luaOlder "5.1";
2176   propagatedBuildInputs = [ jsregexp ];
2178   meta = {
2179     homepage = "https://github.com/L3MON4D3/LuaSnip";
2180     description = "Snippet Engine for Neovim written in Lua.";
2181     license.fullName = "Apache-2.0";
2182   };
2183 }) {};
2185 luasocket = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
2186 buildLuarocksPackage {
2187   pname = "luasocket";
2188   version = "3.1.0-1";
2189   knownRockspec = (fetchurl {
2190     url    = "mirror://luarocks/luasocket-3.1.0-1.rockspec";
2191     sha256 = "0wg9735cyz2gj7r9za8yi83w765g0f4pahnny7h0pdpx58pgfx4r";
2192   }).outPath;
2193   src = fetchFromGitHub {
2194     owner = "lunarmodules";
2195     repo = "luasocket";
2196     rev = "v3.1.0";
2197     hash = "sha256-sKSzCrQpS+9reN9IZ4wkh4dB50wiIfA87xN4u1lyHo4=";
2198   };
2200   disabled = luaOlder "5.1";
2202   meta = {
2203     homepage = "https://github.com/lunarmodules/luasocket";
2204     description = "Network support for the Lua language";
2205     license.fullName = "MIT";
2206   };
2207 }) {};
2209 luasql-sqlite3 = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
2210 buildLuarocksPackage {
2211   pname = "luasql-sqlite3";
2212   version = "2.6.1-3";
2213   knownRockspec = (fetchurl {
2214     url    = "mirror://luarocks/luasql-sqlite3-2.6.1-3.rockspec";
2215     sha256 = "1qf8cx4cmsngwp65ksdsf5dsv6yhb4qwdrd2lkpyqaq6p55jfkyb";
2216   }).outPath;
2217   src = fetchFromGitHub {
2218     owner = "lunarmodules";
2219     repo = "luasql";
2220     rev = "2.6.0";
2221     hash = "sha256-bRddE9K9f6TFBD2nY5kkS0BzXilfUP7Z358QLPfna+I=";
2222   };
2224   disabled = luaOlder "5.1";
2226   meta = {
2227     homepage = "https://lunarmodules.github.io/luasql/";
2228     description = "Database connectivity for Lua (SQLite3 driver)";
2229     maintainers = with lib.maintainers; [ vyp ];
2230     license.fullName = "MIT/X11";
2231   };
2232 }) {};
2234 luassert = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, say }:
2235 buildLuarocksPackage {
2236   pname = "luassert";
2237   version = "1.9.0-1";
2238   knownRockspec = (fetchurl {
2239     url    = "mirror://luarocks/luassert-1.9.0-1.rockspec";
2240     sha256 = "1bkzr03190p33lprgy51nl84aq082fyc3f7s3wkk7zlay4byycxd";
2241   }).outPath;
2242   src = fetchFromGitHub {
2243     owner = "lunarmodules";
2244     repo = "luassert";
2245     rev = "v1.9.0";
2246     hash = "sha256-jjdB95Vr5iVsh5T7E84WwZMW6/5H2k2R/ny2VBs2l3I=";
2247   };
2249   disabled = luaOlder "5.1";
2250   propagatedBuildInputs = [ say ];
2252   meta = {
2253     homepage = "https://lunarmodules.github.io/busted/";
2254     description = "Lua assertions extension";
2255     license.fullName = "MIT <http://opensource.org/licenses/MIT>";
2256   };
2257 }) {};
2259 luasystem = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
2260 buildLuarocksPackage {
2261   pname = "luasystem";
2262   version = "0.4.4-1";
2263   knownRockspec = (fetchurl {
2264     url    = "mirror://luarocks/luasystem-0.4.4-1.rockspec";
2265     sha256 = "0gk489qwxfvc5qwmj9fgwi60qnjnqasc665bg8iiggapdwcl5ny4";
2266   }).outPath;
2267   src = fetchFromGitHub {
2268     owner = "lunarmodules";
2269     repo = "luasystem";
2270     rev = "v0.4.4";
2271     hash = "sha256-Lxp3o94QxtsgBMilKBG21mFneh0ux7wRKDyPwMTDDUA=";
2272   };
2274   disabled = luaOlder "5.1";
2276   meta = {
2277     homepage = "https://github.com/lunarmodules/luasystem";
2278     description = "Platform independent system calls for Lua.";
2279     license.fullName = "MIT <http://opensource.org/licenses/MIT>";
2280   };
2281 }) {};
2283 luatext = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
2284 buildLuarocksPackage {
2285   pname = "luatext";
2286   version = "1.2.1-0";
2287   knownRockspec = (fetchurl {
2288     url    = "mirror://luarocks/luatext-1.2.1-0.rockspec";
2289     sha256 = "12ia4ibihd537mjmvdasnwgkinaygqwk03bsj3s0qrfhy6yz84ka";
2290   }).outPath;
2291   src = fetchFromGitHub {
2292     owner = "f4z3r";
2293     repo = "luatext";
2294     rev = "v1.2.1";
2295     hash = "sha256-StxCmjSSy3ok0hNkKTQyq4yS1LfX980R5pULCUjLPek=";
2296   };
2298   disabled = luaOlder "5.1";
2300   meta = {
2301     homepage = "https://github.com/f4z3r/luatext/tree/main";
2302     description = "A small library to print colored text";
2303     license.fullName = "MIT";
2304   };
2305 }) {};
2307 luaunbound = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }:
2308 buildLuarocksPackage {
2309   pname = "luaunbound";
2310   version = "1.0.0-1";
2311   knownRockspec = (fetchurl {
2312     url    = "mirror://luarocks/luaunbound-1.0.0-1.rockspec";
2313     sha256 = "1zlkibdwrj5p97nhs33cz8xx0323z3kiq5x7v0h3i7v6j0h8ppvn";
2314   }).outPath;
2315   src = fetchurl {
2316     url    = "https://code.zash.se/dl/luaunbound/luaunbound-1.0.0.tar.gz";
2317     sha256 = "1lsh0ylp5xskygxl5qdv6mhkm1x8xp0vfd5prk5hxkr19jk5mr3d";
2318   };
2320   disabled = luaOlder "5.1" || luaAtLeast "5.5";
2322   meta = {
2323     homepage = "https://www.zash.se/luaunbound.html";
2324     description = "A binding to libunbound";
2325     license.fullName = "MIT";
2326   };
2327 }) {};
2329 luaunit = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
2330 buildLuarocksPackage {
2331   pname = "luaunit";
2332   version = "3.4-1";
2333   knownRockspec = (fetchurl {
2334     url    = "mirror://luarocks/luaunit-3.4-1.rockspec";
2335     sha256 = "111435fa8p2819vcvg76qmknj0wqk01gy9d1nh55c36616xnj54n";
2336   }).outPath;
2337   src = fetchzip {
2338     url    = "https://github.com/bluebird75/luaunit/releases/download/LUAUNIT_V3_4/rock-luaunit-3.4.zip";
2339     sha256 = "0qf07y3229lq3qq1mfkv83gzbc7dgyr67hysqjb5bbk333flv56r";
2340   };
2342   disabled = luaOlder "5.1" || luaAtLeast "5.5";
2344   meta = {
2345     homepage = "http://github.com/bluebird75/luaunit";
2346     description = "A unit testing framework for Lua";
2347     maintainers = with lib.maintainers; [ lockejan ];
2348     license.fullName = "BSD";
2349   };
2350 }) {};
2352 luautf8 = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
2353 buildLuarocksPackage {
2354   pname = "luautf8";
2355   version = "0.1.5-2";
2356   knownRockspec = (fetchurl {
2357     url    = "mirror://luarocks/luautf8-0.1.5-2.rockspec";
2358     sha256 = "0v788kk1aj7r70w9fgjlp3qrpjbpa9z9l1m7d13csk0pgfkm5iqz";
2359   }).outPath;
2360   src = fetchurl {
2361     url    = "https://github.com/starwing/luautf8/archive/refs/tags/0.1.5.tar.gz";
2362     sha256 = "077ji840wfmy7hq0y13l01dv6jhasznykf89gk9m672jhz6dxggl";
2363   };
2365   disabled = luaOlder "5.1";
2367   meta = {
2368     homepage = "http://github.com/starwing/luautf8";
2369     description = "A UTF-8 support module for Lua";
2370     maintainers = with lib.maintainers; [ pstn ];
2371     license.fullName = "MIT";
2372   };
2373 }) {};
2375 luazip = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }:
2376 buildLuarocksPackage {
2377   pname = "luazip";
2378   version = "1.2.7-1";
2379   knownRockspec = (fetchurl {
2380     url    = "mirror://luarocks/luazip-1.2.7-1.rockspec";
2381     sha256 = "1wxy3p2ksaq4s8lg925mi9cvbh875gsapgkzm323dr8qaxxg7mba";
2382   }).outPath;
2383   src = fetchFromGitHub {
2384     owner = "mpeterv";
2385     repo = "luazip";
2386     rev = "1.2.7";
2387     hash = "sha256-pAuXdvF2hM3ApvOg5nn9EHTGlajujHMtHEoN3Sj+mMo=";
2388   };
2390   disabled = luaOlder "5.1" || luaAtLeast "5.4";
2392   meta = {
2393     homepage = "https://github.com/mpeterv/luazip";
2394     description = "Library for reading files inside zip files";
2395     license.fullName = "MIT";
2396   };
2397 }) {};
2399 lush-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }:
2400 buildLuarocksPackage {
2401   pname = "lush.nvim";
2402   version = "scm-1";
2403   knownRockspec = (fetchurl {
2404     url    = "mirror://luarocks/lush.nvim-scm-1.rockspec";
2405     sha256 = "0ivir5p3mmv051pyya2hj1yrnflrv8bp38dx033i3kzfbpyg23ca";
2406   }).outPath;
2407   src = fetchFromGitHub {
2408     owner = "rktjmp";
2409     repo = "lush.nvim";
2410     rev = "45a79ec4acb5af783a6a29673a999ce37f00497e";
2411     hash = "sha256-meUCXjJ9kHOOpRd4TR2dc7Ai97zOQX35hYFEDZseiSk=";
2412   };
2414   disabled = luaOlder "5.1" || luaAtLeast "5.4";
2416   meta = {
2417     homepage = "https://github.com/rktjmp/lush.nvim";
2418     description = "Define Neovim themes as a DSL in lua, with real-time feedback.";
2419     maintainers = with lib.maintainers; [ teto ];
2420     license.fullName = "MIT/X11";
2421   };
2422 }) {};
2424 luuid = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }:
2425 buildLuarocksPackage {
2426   pname = "luuid";
2427   version = "20120509-2";
2428   knownRockspec = (fetchurl {
2429     url    = "mirror://luarocks/luuid-20120509-2.rockspec";
2430     sha256 = "1q2fv25wfbiqn49mqv26gs4pyllch311akcf7jjn27l5ik8ji5b6";
2431   }).outPath;
2432   src = fetchurl {
2433     url    = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.2/luuid.tar.gz";
2434     sha256 = "1bfkj613d05yps3fivmz0j1bxf2zkg9g1yl0ifffgw0vy00hpnvm";
2435   };
2437   disabled = luaOlder "5.2" || luaAtLeast "5.4";
2439   meta = {
2440     homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid";
2441     description = "A library for UUID generation";
2442     license.fullName = "Public domain";
2443   };
2444 }) {};
2446 luv = callPackage({ buildLuarocksPackage, cmake, fetchurl, luaOlder }:
2447 buildLuarocksPackage {
2448   pname = "luv";
2449   version = "1.48.0-2";
2450   knownRockspec = (fetchurl {
2451     url    = "mirror://luarocks/luv-1.48.0-2.rockspec";
2452     sha256 = "0353bjn9z90a1hd7rksdfrd9fbdd31hbvdaxr1fb0fh0bc1cpy94";
2453   }).outPath;
2454   src = fetchurl {
2455     url    = "https://github.com/luvit/luv/releases/download/1.48.0-2/luv-1.48.0-2.tar.gz";
2456     sha256 = "0yivq14dw0vjyl8ibrgdgrj9fbhjyy4yf3m4jc15bxmlxggisfic";
2457   };
2459   disabled = luaOlder "5.1";
2460   nativeBuildInputs = [ cmake ];
2462   meta = {
2463     homepage = "https://github.com/luvit/luv";
2464     description = "Bare libuv bindings for lua";
2465     license.fullName = "Apache 2.0";
2466   };
2467 }) {};
2469 lyaml = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
2470 buildLuarocksPackage {
2471   pname = "lyaml";
2472   version = "6.2.8-1";
2473   knownRockspec = (fetchurl {
2474     url    = "mirror://luarocks/lyaml-6.2.8-1.rockspec";
2475     sha256 = "0d0h70kjl5fkq589y1sx8qy8as002dhcf88pf60pghvch002ryi1";
2476   }).outPath;
2477   src = fetchzip {
2478     url    = "http://github.com/gvvaughan/lyaml/archive/v6.2.8.zip";
2479     sha256 = "0r3jjsd8x2fs1aanki0s1mvpznl16f32c1qfgmicy0icgy5xfch0";
2480   };
2482   disabled = luaOlder "5.1" || luaAtLeast "5.5";
2484   meta = {
2485     homepage = "http://github.com/gvvaughan/lyaml";
2486     description = "libYAML binding for Lua";
2487     maintainers = with lib.maintainers; [ lblasc ];
2488     license.fullName = "MIT/X11";
2489   };
2490 }) {};
2492 lz-n = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
2493 buildLuarocksPackage {
2494   pname = "lz.n";
2495   version = "2.9.1-1";
2496   knownRockspec = (fetchurl {
2497     url    = "mirror://luarocks/lz.n-2.9.1-1.rockspec";
2498     sha256 = "0x2xgmgxj9zvpa9x57981j3g21wm3zsylpwidk0wsbln7nag6b92";
2499   }).outPath;
2500   src = fetchzip {
2501     url    = "https://github.com/nvim-neorocks/lz.n/archive/v2.9.1.zip";
2502     sha256 = "1xk4m8i61aiwcd9k5xp3wpn3frxkkjy5fk2921qkma1vsadd83yk";
2503   };
2505   disabled = luaOlder "5.1";
2507   meta = {
2508     homepage = "https://github.com/nvim-neorocks/lz.n";
2509     description = "🦥 A dead simple lazy-loading Lua library for Neovim plugins.";
2510     maintainers = with lib.maintainers; [ mrcjkb ];
2511     license.fullName = "GPL-2+";
2512   };
2513 }) {};
2515 lze = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
2516 buildLuarocksPackage {
2517   pname = "lze";
2518   version = "0.1.4-1";
2519   knownRockspec = (fetchurl {
2520     url    = "mirror://luarocks/lze-0.1.4-1.rockspec";
2521     sha256 = "0j2ll2kcqmk7m78x4bwwm47hr0n8kgz027c4l2yhyfw747s70z1h";
2522   }).outPath;
2523   src = fetchzip {
2524     url    = "https://github.com/BirdeeHub/lze/archive/v0.1.4.zip";
2525     sha256 = "1rr8bsxvv53mhkvmc8vb1l6jvbrfzngr3kq8wj3gvpima3jdk1za";
2526   };
2528   disabled = luaOlder "5.1";
2530   meta = {
2531     homepage = "https://github.com/BirdeeHub/lze";
2532     description = "A lazy-loading library for neovim, inspired by, but different from, nvim-neorocks/lz.n";
2533     maintainers = with lib.maintainers; [ birdee ];
2534     license.fullName = "GPL-2+";
2535   };
2536 }) {};
2538 lzn-auto-require = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, lz-n }:
2539 buildLuarocksPackage {
2540   pname = "lzn-auto-require";
2541   version = "0.1.0-1";
2542   knownRockspec = (fetchurl {
2543     url    = "mirror://luarocks/lzn-auto-require-0.1.0-1.rockspec";
2544     sha256 = "01yx40yvj6msh42cyj3vbmi3phdpiqafr0qv12yfj7garhxjidd3";
2545   }).outPath;
2546   src = fetchzip {
2547     url    = "https://github.com/horriblename/lzn-auto-require/archive/v0.1.0.zip";
2548     sha256 = "0hkpyqw1cybrwarvxanf2drz2cbxkh77yz2qq4akhzyvidmn7ny0";
2549   };
2551   disabled = luaOlder "5.1";
2552   propagatedBuildInputs = [ lz-n ];
2554   meta = {
2555     homepage = "https://github.com/horriblename/lzn-auto-require";
2556     description = "Auto load optional plugins via lua modules with lz.n";
2557     maintainers = with lib.maintainers; [ mrcjkb ];
2558     license.fullName = "GPL-2.0";
2559   };
2560 }) {};
2562 magick = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua }:
2563 buildLuarocksPackage {
2564   pname = "magick";
2565   version = "1.6.0-1";
2566   knownRockspec = (fetchurl {
2567     url    = "mirror://luarocks/magick-1.6.0-1.rockspec";
2568     sha256 = "1pg150xsxnqvlhxpiy17s9hm4dkc84v46mlwi9rhriynqz8qks9w";
2569   }).outPath;
2570   src = fetchFromGitHub {
2571     owner = "leafo";
2572     repo = "magick";
2573     rev = "v1.6.0";
2574     hash = "sha256-gda+vLrWyMQ553jVCIRl1qYTS/rXsGhxrBsrJyI8EN4=";
2575   };
2577   disabled = lua.luaversion != "5.1";
2579   meta = {
2580     homepage = "https://github.com/leafo/magick.git";
2581     description = "Lua bindings to ImageMagick & GraphicsMagick for LuaJIT using FFI";
2582     maintainers = with lib.maintainers; [ donovanglover ];
2583     license.fullName = "MIT";
2584   };
2585 }) {};
2587 markdown = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }:
2588 buildLuarocksPackage {
2589   pname = "markdown";
2590   version = "0.33-1";
2591   knownRockspec = (fetchurl {
2592     url    = "mirror://luarocks/markdown-0.33-1.rockspec";
2593     sha256 = "02sixijfi6av8h59kx3ngrhygjn2sx1c85c0qfy20gxiz72wi1pl";
2594   }).outPath;
2595   src = fetchFromGitHub {
2596     owner = "mpeterv";
2597     repo = "markdown";
2598     rev = "0.33";
2599     hash = "sha256-PgRGiSwDODSyNSgeN7kNOCZwjLbGf1Qts/jrfLGYKwU=";
2600   };
2602   disabled = luaOlder "5.1" || luaAtLeast "5.4";
2604   meta = {
2605     homepage = "https://github.com/mpeterv/markdown";
2606     description = "Markdown text-to-html markup system.";
2607     license.fullName = "MIT/X11";
2608   };
2609 }) {};
2611 mediator_lua = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
2612 buildLuarocksPackage {
2613   pname = "mediator_lua";
2614   version = "1.1.2-0";
2615   knownRockspec = (fetchurl {
2616     url    = "mirror://luarocks/mediator_lua-1.1.2-0.rockspec";
2617     sha256 = "0frzvf7i256260a1s8xh92crwa2m42972qxfq29zl05aw3pyn7bm";
2618   }).outPath;
2619   src = fetchurl {
2620     url    = "https://github.com/Olivine-Labs/mediator_lua/archive/v1.1.2-0.tar.gz";
2621     sha256 = "16zzzhiy3y35v8advmlkzpryzxv5vji7727vwkly86q8sagqbxgs";
2622   };
2624   disabled = luaOlder "5.1";
2626   meta = {
2627     homepage = "http://olivinelabs.com/mediator_lua/";
2628     description = "Event handling through channels";
2629     license.fullName = "MIT <http://opensource.org/licenses/MIT>";
2630   };
2631 }) {};
2633 middleclass = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
2634 buildLuarocksPackage {
2635   pname = "middleclass";
2636   version = "4.1.1-0";
2637   knownRockspec = (fetchurl {
2638     url    = "mirror://luarocks/middleclass-4.1.1-0.rockspec";
2639     sha256 = "10xzs48lr1dy7cx99581r956gl16px0a9gbdlfar41n19r96mhb1";
2640   }).outPath;
2641   src = fetchurl {
2642     url    = "https://github.com/kikito/middleclass/archive/v4.1.1.tar.gz";
2643     sha256 = "11ahv0b9wgqfnabv57rb7ilsvn2vcvxb1czq6faqrsqylvr5l7nh";
2644   };
2646   disabled = luaOlder "5.1";
2648   meta = {
2649     homepage = "https://github.com/kikito/middleclass";
2650     description = "A simple OOP library for Lua";
2651     license.fullName = "MIT";
2652   };
2653 }) {};
2655 mimetypes = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
2656 buildLuarocksPackage {
2657   pname = "mimetypes";
2658   version = "1.0.0-3";
2659   knownRockspec = (fetchurl {
2660     url    = "mirror://luarocks/mimetypes-1.0.0-3.rockspec";
2661     sha256 = "02f5x5pkz6fba71mp031arrgmddsyivn5fsa0pj3q3a7nxxpmnq9";
2662   }).outPath;
2663   src = fetchurl {
2664     url    = "https://github.com/lunarmodules/lua-mimetypes/archive/v1.0.0/lua-mimetypes-1.0.0.tar.gz";
2665     sha256 = "1rc5lnzvw4cg8wxn4w4sar2xgf5vaivdd2hgpxxcqfzzcmblg1zk";
2666   };
2668   disabled = luaOlder "5.1";
2670   meta = {
2671     homepage = "https://github/lunarmodules/lua-mimetypes/";
2672     description = "A simple library for looking up the MIME types of files.";
2673     license.fullName = "MIT/X11";
2674   };
2675 }) {};
2677 moonscript = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, lpeg, luaOlder, luafilesystem }:
2678 buildLuarocksPackage {
2679   pname = "moonscript";
2680   version = "dev-1";
2682   src = fetchFromGitHub {
2683     owner = "leafo";
2684     repo = "moonscript";
2685     rev = "d5341c9093c49d3724072b209cde28b5cb0f47c9";
2686     hash = "sha256-sVMhqCzGhfEGoFueVINx9hnnE5vNN61S6t3CXGBnxcA=";
2687   };
2689   disabled = luaOlder "5.1";
2690   propagatedBuildInputs = [ argparse lpeg luafilesystem ];
2692   meta = {
2693     homepage = "http://moonscript.org";
2694     description = "A programmer friendly language that compiles to Lua";
2695     maintainers = with lib.maintainers; [ arobyn ];
2696     license.fullName = "MIT";
2697   };
2698 }) {};
2700 mpack = callPackage({ buildLuarocksPackage, fetchurl }:
2701 buildLuarocksPackage {
2702   pname = "mpack";
2703   version = "1.0.12-0";
2704   knownRockspec = (fetchurl {
2705     url    = "mirror://luarocks/mpack-1.0.12-0.rockspec";
2706     sha256 = "01jr8vvkqdvadr5kpgsd17gjyz729hbd609qsm682ylggabgqsyy";
2707   }).outPath;
2708   src = fetchurl {
2709     url    = "https://github.com/libmpack/libmpack-lua/releases/download/1.0.12/libmpack-lua-1.0.12.tar.gz";
2710     sha256 = "1gzqks9cq3krd9rs3dq9jm1m23pjpqjv9ymkxj9gbyjcy6qn5dh6";
2711   };
2714   meta = {
2715     homepage = "https://github.com/libmpack/libmpack-lua";
2716     description = "Lua binding to libmpack";
2717     license.fullName = "MIT";
2718   };
2719 }) {};
2721 neorg = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua-utils-nvim, luaOlder, nui-nvim, nvim-nio, pathlib-nvim, plenary-nvim }:
2722 buildLuarocksPackage {
2723   pname = "neorg";
2724   version = "9.1.1-1";
2725   knownRockspec = (fetchurl {
2726     url    = "mirror://luarocks/neorg-9.1.1-1.rockspec";
2727     sha256 = "0zafy1hkrvh41vlx1g4rqlcvc4x9pi8dcji30qi0b8lj45pldyr3";
2728   }).outPath;
2729   src = fetchzip {
2730     url    = "https://github.com/nvim-neorg/neorg/archive/v9.1.1.zip";
2731     sha256 = "18lk22lfzwwn4hy2s035g3kslqmvrr28lm5w9k3dazqwj5nlka3z";
2732   };
2734   disabled = luaOlder "5.1";
2735   propagatedBuildInputs = [ lua-utils-nvim nui-nvim nvim-nio pathlib-nvim plenary-nvim ];
2737   meta = {
2738     homepage = "https://github.com/nvim-neorg/neorg";
2739     description = "Modernity meets insane extensibility. The future of organizing your life in Neovim.";
2740     maintainers = with lib.maintainers; [ GaetanLepage ];
2741     license.fullName = "GPL-3.0";
2742   };
2743 }) {};
2745 neotest = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio, plenary-nvim }:
2746 buildLuarocksPackage {
2747   pname = "neotest";
2748   version = "5.6.1-1";
2749   knownRockspec = (fetchurl {
2750     url    = "mirror://luarocks/neotest-5.6.1-1.rockspec";
2751     sha256 = "08r740v4yxhjxrh3xcbi9974d28h786lkbzff6x0bixdsvnysdwy";
2752   }).outPath;
2753   src = fetchzip {
2754     url    = "https://github.com/nvim-neotest/neotest/archive/6d3d22cdad49999ef774ebe1bc250a4994038964.zip";
2755     sha256 = "10zac93v1i9iqbwwy4hb1q4wmwxg1nf9dmlywx6qmlkq0scnqg80";
2756   };
2758   disabled = luaOlder "5.1";
2759   propagatedBuildInputs = [ nvim-nio plenary-nvim ];
2761   meta = {
2762     homepage = "https://github.com/nvim-neotest/neotest";
2763     description = "An extensible framework for interacting with tests within NeoVim.";
2764     maintainers = with lib.maintainers; [ mrcjkb ];
2765     license.fullName = "MIT";
2766   };
2767 }) {};
2769 nlua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
2770 buildLuarocksPackage {
2771   pname = "nlua";
2772   version = "0.2.0-1";
2773   knownRockspec = (fetchurl {
2774     url    = "mirror://luarocks/nlua-0.2.0-1.rockspec";
2775     sha256 = "15d8gmlf0kr31p1nlj9skliq8yfk3k24w0df6jxlxqnmb8nkxk04";
2776   }).outPath;
2777   src = fetchzip {
2778     url    = "https://github.com/mfussenegger/nlua/archive/v0.2.0.zip";
2779     sha256 = "09fxryslz9qwyzsvy0sc67irjikcg8cngl5d6g56prqixr3bsxpy";
2780   };
2782   disabled = luaOlder "5.1";
2784   meta = {
2785     homepage = "https://github.com/mfussenegger/nlua";
2786     description = "Neovim as Lua interpreter";
2787     maintainers = with lib.maintainers; [ teto ];
2788     license.fullName = "GPL-3.0";
2789   };
2790 }) {};
2792 nui-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }:
2793 buildLuarocksPackage {
2794   pname = "nui.nvim";
2795   version = "0.3.0-1";
2796   knownRockspec = (fetchurl {
2797     url    = "mirror://luarocks/nui.nvim-0.3.0-1.rockspec";
2798     sha256 = "0ng75wzbc0bn4zgwqk7dx5hazybfqxpjfzp7k2syh7kajmsy8z8b";
2799   }).outPath;
2800   src = fetchFromGitHub {
2801     owner = "MunifTanjim";
2802     repo = "nui.nvim";
2803     rev = "0.3.0";
2804     hash = "sha256-L0ebXtv794357HOAgT17xlEJsmpqIHGqGlYfDB20WTo=";
2805   };
2808   meta = {
2809     homepage = "https://github.com/MunifTanjim/nui.nvim";
2810     description = "UI Component Library for Neovim.";
2811     maintainers = with lib.maintainers; [ mrcjkb ];
2812     license.fullName = "MIT";
2813   };
2814 }) {};
2816 nvim-cmp = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaAtLeast, luaOlder }:
2817 buildLuarocksPackage {
2818   pname = "nvim-cmp";
2819   version = "scm-1";
2821   src = fetchFromGitHub {
2822     owner = "hrsh7th";
2823     repo = "nvim-cmp";
2824     rev = "29fb4854573355792df9e156cb779f0d31308796";
2825     hash = "sha256-dAsXxv1RtgMc1i5QrR2xqOeK6aRgYNqdYyTXVBXhVJ4=";
2826   };
2828   disabled = luaOlder "5.1" || luaAtLeast "5.4";
2830   meta = {
2831     homepage = "https://github.com/hrsh7th/nvim-cmp";
2832     description = "A completion plugin for neovim";
2833     license.fullName = "MIT";
2834   };
2835 }) {};
2837 nvim-nio = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
2838 buildLuarocksPackage {
2839   pname = "nvim-nio";
2840   version = "1.10.0-1";
2841   knownRockspec = (fetchurl {
2842     url    = "mirror://luarocks/nvim-nio-1.10.0-1.rockspec";
2843     sha256 = "1dkspn96vvk38l809c7bl2gnjxkj8yj4aj6s5859pz4pxvxzs8p6";
2844   }).outPath;
2845   src = fetchzip {
2846     url    = "https://github.com/nvim-neotest/nvim-nio/archive/a428f309119086dc78dd4b19306d2d67be884eee.zip";
2847     sha256 = "0n40q6znpy1xzywd1hwyivx7y1n0i0fcp3m7jp0vgipm6qssda4b";
2848   };
2850   disabled = luaOlder "5.1";
2852   meta = {
2853     homepage = "https://github.com/nvim-neotest/nvim-nio";
2854     description = "A library for asynchronous IO in Neovim";
2855     maintainers = with lib.maintainers; [ mrcjkb ];
2856     license.fullName = "MIT";
2857   };
2858 }) {};
2860 pathlib-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio }:
2861 buildLuarocksPackage {
2862   pname = "pathlib.nvim";
2863   version = "2.2.3-1";
2864   knownRockspec = (fetchurl {
2865     url    = "mirror://luarocks/pathlib.nvim-2.2.3-1.rockspec";
2866     sha256 = "0qwsjcsl6760d8d5k1lxlykh78g6v7xcr9caq3yh75yn76mwrl4i";
2867   }).outPath;
2868   src = fetchzip {
2869     url    = "https://github.com/pysan3/pathlib.nvim/archive/v2.2.3.zip";
2870     sha256 = "1z3nwy83r3zbll9wc2wyvg60z0dqc5hm2xdfvqh3hwm5s9w8j432";
2871   };
2873   disabled = luaOlder "5.1";
2874   propagatedBuildInputs = [ nvim-nio ];
2876   meta = {
2877     homepage = "https://pysan3.github.io/pathlib.nvim/";
2878     description = "OS Independent, ultimate solution to path handling in neovim.";
2879     license.fullName = "MPL-2.0";
2880   };
2881 }) {};
2883 penlight = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luafilesystem }:
2884 buildLuarocksPackage {
2885   pname = "penlight";
2886   version = "1.14.0-2";
2887   knownRockspec = (fetchurl {
2888     url    = "mirror://luarocks/penlight-1.14.0-2.rockspec";
2889     sha256 = "0gs07q81mkrk9i0hhqvd8nf5vzmv540ch2hiw4rcqg18vbyincq7";
2890   }).outPath;
2891   src = fetchFromGitHub {
2892     owner = "lunarmodules";
2893     repo = "penlight";
2894     rev = "1.14.0";
2895     hash = "sha256-4zAt0GgQEkg9toaUaDn3ST3RvjLUDsuOzrKi9lhq0fQ=";
2896   };
2898   propagatedBuildInputs = [ luafilesystem ];
2900   meta = {
2901     homepage = "https://lunarmodules.github.io/penlight";
2902     description = "Lua utility libraries loosely based on the Python standard libraries";
2903     maintainers = with lib.maintainers; [ alerque ];
2904     license.fullName = "MIT/X11";
2905   };
2906 }) {};
2908 plenary-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaAtLeast, luaOlder, luassert }:
2909 buildLuarocksPackage {
2910   pname = "plenary.nvim";
2911   version = "scm-1";
2913   src = fetchFromGitHub {
2914     owner = "nvim-lua";
2915     repo = "plenary.nvim";
2916     rev = "2d9b06177a975543726ce5c73fca176cedbffe9d";
2917     hash = "sha256-bmmPekAvuBvLQmrnnX0n+FRBqfVxBsObhxIEkDGAla4=";
2918   };
2920   disabled = luaOlder "5.1" || luaAtLeast "5.4";
2921   propagatedBuildInputs = [ luassert ];
2923   meta = {
2924     homepage = "http://github.com/nvim-lua/plenary.nvim";
2925     description = "lua functions you don't want to write ";
2926     license.fullName = "MIT/X11";
2927   };
2928 }) {};
2930 psl = callPackage({ buildLuarocksPackage, fetchurl, fetchzip }:
2931 buildLuarocksPackage {
2932   pname = "psl";
2933   version = "0.3-0";
2934   knownRockspec = (fetchurl {
2935     url    = "mirror://luarocks/psl-0.3-0.rockspec";
2936     sha256 = "1x7sc8n780k67v31bvqqxhh6ihy0k91zmp6xcxmkifr0gd008x9z";
2937   }).outPath;
2938   src = fetchzip {
2939     url    = "https://github.com/daurnimator/lua-psl/archive/v0.3.zip";
2940     sha256 = "1x9zskjn6fp9343w9314104128ik4lbk98pg6zfhl1v35107m1jx";
2941   };
2944   meta = {
2945     homepage = "https://github.com/daurnimator/lua-psl";
2946     description = "Bindings to libpsl, a C library that handles the Public Suffix List (PSL)";
2947     license.fullName = "MIT";
2948   };
2949 }) {};
2951 rapidjson = callPackage({ buildLuarocksPackage, cmake, fetchFromGitHub, fetchurl, luaOlder }:
2952 buildLuarocksPackage {
2953   pname = "rapidjson";
2954   version = "0.7.1-1";
2955   knownRockspec = (fetchurl {
2956     url    = "mirror://luarocks/rapidjson-0.7.1-1.rockspec";
2957     sha256 = "01lbsn9rckdyx0va7nm9dammic9117kxiawp55yg2h5q3p978d41";
2958   }).outPath;
2959   src = fetchFromGitHub {
2960     owner = "xpol";
2961     repo = "lua-rapidjson";
2962     rev = "v0.7.1";
2963     hash = "sha256-y/czEVPtCt4uN1n49Qi7BrgZmkG+SDXlM5D2GvvO2qg=";
2964   };
2966   disabled = luaOlder "5.1";
2967   nativeBuildInputs = [ cmake ];
2969   meta = {
2970     homepage = "https://github.com/xpol/lua-rapidjson";
2971     description = "Json module based on the very fast RapidJSON.";
2972     license.fullName = "MIT";
2973   };
2974 }) {};
2976 rest-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, fidget-nvim, luaOlder, mimetypes, nvim-nio, xml2lua }:
2977 buildLuarocksPackage {
2978   pname = "rest.nvim";
2979   version = "3.8.3-1";
2980   knownRockspec = (fetchurl {
2981     url    = "mirror://luarocks/rest.nvim-3.8.3-1.rockspec";
2982     sha256 = "0xz2h3z1ifydhlyrv2h13s26y2amx1x5xqppd6sq4bcg4zk82qv3";
2983   }).outPath;
2984   src = fetchzip {
2985     url    = "https://github.com/rest-nvim/rest.nvim/archive/v3.8.3.zip";
2986     sha256 = "0cjck6c2qpa13rll3n1i0a97kpzlzpmk93nl2c4lvgplc3xp6zkf";
2987   };
2989   disabled = luaOlder "5.1";
2990   propagatedBuildInputs = [ fidget-nvim mimetypes nvim-nio xml2lua ];
2992   meta = {
2993     homepage = "https://github.com/rest-nvim/rest.nvim";
2994     description = "A fast Neovim http client written in Lua";
2995     maintainers = with lib.maintainers; [ teto ];
2996     license.fullName = "GPL-3.0";
2997   };
2998 }) {};
3000 rocks-config-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, rocks-nvim }:
3001 buildLuarocksPackage {
3002   pname = "rocks-config.nvim";
3003   version = "3.0.0-1";
3004   knownRockspec = (fetchurl {
3005     url    = "mirror://luarocks/rocks-config.nvim-3.0.0-1.rockspec";
3006     sha256 = "08jg5v1jnmg0ig395d6lmsdpa2vw8m9w3barvar0s77a7lkxgywg";
3007   }).outPath;
3008   src = fetchzip {
3009     url    = "https://github.com/nvim-neorocks/rocks-config.nvim/archive/v3.0.0.zip";
3010     sha256 = "16836pxg0bq6f8qj6kn73v75kbwlr533pmv9dal4h53qldqjn9hh";
3011   };
3013   disabled = luaOlder "5.1";
3014   propagatedBuildInputs = [ rocks-nvim ];
3016   meta = {
3017     homepage = "https://github.com/nvim-neorocks/rocks-config.nvim";
3018     description = "Allow rocks.nvim to help configure your plugins.";
3019     maintainers = with lib.maintainers; [ mrcjkb ];
3020     license.fullName = "GPL-3.0";
3021   };
3022 }) {};
3024 rocks-dev-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio, rocks-nvim, rtp-nvim }:
3025 buildLuarocksPackage {
3026   pname = "rocks-dev.nvim";
3027   version = "1.7.0-1";
3028   knownRockspec = (fetchurl {
3029     url    = "mirror://luarocks/rocks-dev.nvim-1.7.0-1.rockspec";
3030     sha256 = "0jc8nxxbr7m3vw4lcyxi8wm4w0nz1ml54sbs96z4kj0p6mm9fds6";
3031   }).outPath;
3032   src = fetchzip {
3033     url    = "https://github.com/nvim-neorocks/rocks-dev.nvim/archive/v1.7.0.zip";
3034     sha256 = "13n9dkv5217qd8dhj54d1rfqp6mx5jir319fmsln47jv83x7micz";
3035   };
3037   disabled = luaOlder "5.1";
3038   propagatedBuildInputs = [ nvim-nio rocks-nvim rtp-nvim ];
3040   meta = {
3041     homepage = "https://github.com/nvim-neorocks/rocks-dev.nvim";
3042     description = "A swiss-army knife for testing and developing rocks.nvim modules.";
3043     maintainers = with lib.maintainers; [ mrcjkb ];
3044     license.fullName = "GPL-3.0";
3045   };
3046 }) {};
3048 rocks-git-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio, rocks-nvim }:
3049 buildLuarocksPackage {
3050   pname = "rocks-git.nvim";
3051   version = "2.5.0-1";
3052   knownRockspec = (fetchurl {
3053     url    = "mirror://luarocks/rocks-git.nvim-2.5.0-1.rockspec";
3054     sha256 = "1qxmwl7b21d9cxbai24pg1pymd8pii4bgikkc017qi3dafk7baqk";
3055   }).outPath;
3056   src = fetchzip {
3057     url    = "https://github.com/nvim-neorocks/rocks-git.nvim/archive/v2.5.0.zip";
3058     sha256 = "1nvq3yhmnab2frfkf5yh6ffq7rqw3rmxsbj0hbm28vg3rr9c2zjw";
3059   };
3061   disabled = luaOlder "5.1";
3062   propagatedBuildInputs = [ nvim-nio rocks-nvim ];
3064   meta = {
3065     homepage = "https://github.com/nvim-neorocks/rocks-git.nvim";
3066     description = "Use rocks.nvim to install plugins from git!";
3067     maintainers = with lib.maintainers; [ mrcjkb ];
3068     license.fullName = "GPL-3.0";
3069   };
3070 }) {};
3072 rocks-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, fidget-nvim, fzy, luaOlder, luarocks, nvim-nio, rtp-nvim, toml-edit }:
3073 buildLuarocksPackage {
3074   pname = "rocks.nvim";
3075   version = "2.41.0-1";
3076   knownRockspec = (fetchurl {
3077     url    = "mirror://luarocks/rocks.nvim-2.41.0-1.rockspec";
3078     sha256 = "1srhz85sfhkzlsy68mvwhdixvwz0awhrn530sny0287zhnrxrilp";
3079   }).outPath;
3080   src = fetchzip {
3081     url    = "https://github.com/nvim-neorocks/rocks.nvim/archive/v2.41.0.zip";
3082     sha256 = "0j44chcziimqn6jm2ckbwmn97nin0dwhnnrdpm87j754kbqsj21a";
3083   };
3085   disabled = luaOlder "5.1";
3086   propagatedBuildInputs = [ fidget-nvim fzy luarocks nvim-nio rtp-nvim toml-edit ];
3088   meta = {
3089     homepage = "https://github.com/nvim-neorocks/rocks.nvim";
3090     description = "🌒 Neovim plugin management inspired by Cargo, powered by luarocks";
3091     maintainers = with lib.maintainers; [ mrcjkb ];
3092     license.fullName = "GPL-3.0";
3093   };
3094 }) {};
3096 rtp-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
3097 buildLuarocksPackage {
3098   pname = "rtp.nvim";
3099   version = "1.2.0-1";
3100   knownRockspec = (fetchurl {
3101     url    = "mirror://luarocks/rtp.nvim-1.2.0-1.rockspec";
3102     sha256 = "0is9ssi3pwvshm88lnp4hkig4f0ckgl2f3a1axwci89y8lla50iv";
3103   }).outPath;
3104   src = fetchzip {
3105     url    = "https://github.com/nvim-neorocks/rtp.nvim/archive/v1.2.0.zip";
3106     sha256 = "1b6hx50nr2s2mnhsx9zy54pjdq7f78mi394v2b2c9v687s45nqln";
3107   };
3109   disabled = luaOlder "5.1";
3111   meta = {
3112     homepage = "https://github.com/nvim-neorocks/rtp.nvim";
3113     description = "Source plugin and ftdetect directories on the Neovim runtimepath.";
3114     maintainers = with lib.maintainers; [ mrcjkb ];
3115     license.fullName = "GPL-3.0";
3116   };
3117 }) {};
3119 rustaceanvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
3120 buildLuarocksPackage {
3121   pname = "rustaceanvim";
3122   version = "5.13.0-1";
3123   knownRockspec = (fetchurl {
3124     url    = "mirror://luarocks/rustaceanvim-5.13.0-1.rockspec";
3125     sha256 = "1r0b3haiix45ngl570dld84h1y36lpw2lc1vsf5z08xms45c5fay";
3126   }).outPath;
3127   src = fetchzip {
3128     url    = "https://github.com/mrcjkb/rustaceanvim/archive/v5.13.0.zip";
3129     sha256 = "1prlsh1fl1a3r8fcshmzwbjk3imbxg2z43xl8fwbsginpizl8g09";
3130   };
3132   disabled = luaOlder "5.1";
3134   meta = {
3135     homepage = "https://github.com/mrcjkb/rustaceanvim";
3136     description = "🦀 Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim";
3137     maintainers = with lib.maintainers; [ mrcjkb ];
3138     license.fullName = "GPL-2.0";
3139   };
3140 }) {};
3142 say = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
3143 buildLuarocksPackage {
3144   pname = "say";
3145   version = "1.4.1-3";
3146   knownRockspec = (fetchurl {
3147     url    = "mirror://luarocks/say-1.4.1-3.rockspec";
3148     sha256 = "0iibmq5m5092y168banckgs15ngj2yjx11n40fyk7jly4pbasljq";
3149   }).outPath;
3150   src = fetchFromGitHub {
3151     owner = "lunarmodules";
3152     repo = "say";
3153     rev = "v1.4.1";
3154     hash = "sha256-IjNkK1leVtYgbEjUqguVMjbdW+0BHAOCE0pazrVuF50=";
3155   };
3157   disabled = luaOlder "5.1";
3159   meta = {
3160     homepage = "https://lunarmodules.github.io/say";
3161     description = "Lua string hashing/indexing library";
3162     license.fullName = "MIT";
3163   };
3164 }) {};
3166 serpent = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }:
3167 buildLuarocksPackage {
3168   pname = "serpent";
3169   version = "0.30-2";
3170   knownRockspec = (fetchurl {
3171     url    = "mirror://luarocks/serpent-0.30-2.rockspec";
3172     sha256 = "0v83lr9ars1n0djbh7np8jjqdhhaw0pdy2nkcqzqrhv27rzv494n";
3173   }).outPath;
3174   src = fetchFromGitHub {
3175     owner = "pkulchenko";
3176     repo = "serpent";
3177     rev = "0.30";
3178     hash = "sha256-aCP/Lk11wdnqXzntgNlyZz1LkLgZApcvDiA//LLzAGE=";
3179   };
3181   disabled = luaOlder "5.1" || luaAtLeast "5.5";
3183   meta = {
3184     homepage = "https://github.com/pkulchenko/serpent";
3185     description = "Lua serializer and pretty printer";
3186     maintainers = with lib.maintainers; [ lockejan ];
3187     license.fullName = "MIT";
3188   };
3189 }) {};
3191 sqlite = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luv }:
3192 buildLuarocksPackage {
3193   pname = "sqlite";
3194   version = "v1.2.2-0";
3195   knownRockspec = (fetchurl {
3196     url    = "mirror://luarocks/sqlite-v1.2.2-0.rockspec";
3197     sha256 = "0jxsl9lpxsbzc6s5bwmh27mglkqz1299lz68vfxayvailwl3xbxm";
3198   }).outPath;
3199   src = fetchFromGitHub {
3200     owner = "tami5";
3201     repo = "sqlite.lua";
3202     rev = "v1.2.2";
3203     hash = "sha256-NUjZkFawhUD0oI3pDh/XmVwtcYyPqa+TtVbl3k13cTI=";
3204   };
3206   propagatedBuildInputs = [ luv ];
3208   meta = {
3209     homepage = "https://github.com/tami5/sqlite.lua";
3210     description = "SQLite/LuaJIT binding and a highly opinionated wrapper for storing, retrieving, caching, and persisting [SQLite] databases";
3211     license.fullName = "MIT";
3212   };
3213 }) {};
3215 std-_debug = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
3216 buildLuarocksPackage {
3217   pname = "std._debug";
3218   version = "1.0.1-1";
3219   knownRockspec = (fetchurl {
3220     url    = "mirror://luarocks/std._debug-1.0.1-1.rockspec";
3221     sha256 = "0mr9hgzfr9v37da9rfys2wjq48hi3lv27i3g38433dlgbxipsbc4";
3222   }).outPath;
3223   src = fetchzip {
3224     url    = "http://github.com/lua-stdlib/_debug/archive/v1.0.1.zip";
3225     sha256 = "19vfpv389q79vgxwhhr09l6l6hf6h2yjp09zvnp0l07ar4v660pv";
3226   };
3228   disabled = luaOlder "5.1" || luaAtLeast "5.5";
3230   meta = {
3231     homepage = "http://lua-stdlib.github.io/_debug";
3232     description = "Debug Hints Library";
3233     license.fullName = "MIT/X11";
3234   };
3235 }) {};
3237 std-normalize = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder, std-_debug }:
3238 buildLuarocksPackage {
3239   pname = "std.normalize";
3240   version = "2.0.3-1";
3241   knownRockspec = (fetchurl {
3242     url    = "mirror://luarocks/std.normalize-2.0.3-1.rockspec";
3243     sha256 = "1l83ikiaw4dch2r69cxpl93b9d4wf54vbjb6fcggnkxxgm0amj3a";
3244   }).outPath;
3245   src = fetchzip {
3246     url    = "http://github.com/lua-stdlib/normalize/archive/v2.0.3.zip";
3247     sha256 = "1gyywglxd2y7ck3hk8ap73w0x7hf9irpg6vgs8yc6k9k4c5g3fgi";
3248   };
3250   disabled = luaOlder "5.1" || luaAtLeast "5.5";
3251   propagatedBuildInputs = [ std-_debug ];
3253   meta = {
3254     homepage = "https://lua-stdlib.github.io/normalize";
3255     description = "Normalized Lua Functions";
3256     license.fullName = "MIT/X11";
3257   };
3258 }) {};
3260 stdlib = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
3261 buildLuarocksPackage {
3262   pname = "stdlib";
3263   version = "41.2.2-1";
3264   knownRockspec = (fetchurl {
3265     url    = "mirror://luarocks/stdlib-41.2.2-1.rockspec";
3266     sha256 = "0rscb4cm8s8bb8fk8rknc269y7bjqpslspsaxgs91i8bvabja6f6";
3267   }).outPath;
3268   src = fetchzip {
3269     url    = "http://github.com/lua-stdlib/lua-stdlib/archive/release-v41.2.2.zip";
3270     sha256 = "0ry6k0wh4vyar1z68s0qmqzkdkfn9lcznsl8av7x78qz6l16wfw4";
3271   };
3273   disabled = luaOlder "5.1" || luaAtLeast "5.5";
3275   meta = {
3276     homepage = "http://lua-stdlib.github.io/lua-stdlib";
3277     description = "General Lua Libraries";
3278     maintainers = with lib.maintainers; [ vyp ];
3279     license.fullName = "MIT/X11";
3280   };
3281 }) {};
3283 teal-language-server = callPackage({ buildLuarocksPackage, cyan, dkjson, fetchFromGitHub, fetchurl, luafilesystem }:
3284 buildLuarocksPackage {
3285   pname = "teal-language-server";
3286   version = "dev-1";
3287   knownRockspec = (fetchurl {
3288     url    = "mirror://luarocks/teal-language-server-dev-1.rockspec";
3289     sha256 = "01l44c6bknz7ff9xqgich31hlb0yk4ms5k1hs4rhm3cs95s5vlzc";
3290   }).outPath;
3291   src = fetchFromGitHub {
3292     owner = "teal-language";
3293     repo = "teal-language-server";
3294     rev = "67b5d7cad60b9df472851a2c61591f2aab97da47";
3295     hash = "sha256-fUuOjJrwpLU1YoJm3yn+X15ioRf4GZoi6323On1W2Io=";
3296   };
3298   propagatedBuildInputs = [ cyan dkjson luafilesystem ];
3300   meta = {
3301     homepage = "https://github.com/teal-language/teal-language-server";
3302     description = "A language server for the Teal language";
3303     license.fullName = "MIT";
3304   };
3305 }) {};
3307 telescope-manix = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, telescope-nvim }:
3308 buildLuarocksPackage {
3309   pname = "telescope-manix";
3310   version = "1.0.3-1";
3311   knownRockspec = (fetchurl {
3312     url    = "mirror://luarocks/telescope-manix-1.0.3-1.rockspec";
3313     sha256 = "0avqlglmki244q3ffnlc358z3pn36ibcqysxrxw7h6qy1zcwm8sr";
3314   }).outPath;
3315   src = fetchzip {
3316     url    = "https://github.com/mrcjkb/telescope-manix/archive/1.0.3.zip";
3317     sha256 = "186rbdddpv8q0zcz18lnkarp0grdzxp80189n4zj2mqyzqnw0svj";
3318   };
3320   disabled = luaOlder "5.1";
3321   propagatedBuildInputs = [ telescope-nvim ];
3323   meta = {
3324     homepage = "https://github.com/mrcjkb/telescope-manix";
3325     description = "A telescope.nvim extension for Manix - A fast documentation searcher for Nix";
3326     license.fullName = "GPL-2.0";
3327   };
3328 }) {};
3330 telescope-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua, plenary-nvim }:
3331 buildLuarocksPackage {
3332   pname = "telescope.nvim";
3333   version = "scm-1";
3334   knownRockspec = (fetchurl {
3335     url    = "mirror://luarocks/telescope.nvim-scm-1.rockspec";
3336     sha256 = "07mjkv1nv9b3ifxk2bbpbhvp0awblyklyz6aaqw418x4gm4q1g35";
3337   }).outPath;
3338   src = fetchFromGitHub {
3339     owner = "nvim-telescope";
3340     repo = "telescope.nvim";
3341     rev = "37dc9233a473dd6c3f54456ef9994d8f77c80211";
3342     hash = "sha256-zidYSt0WrnATuCpSGGhYuafNpPPN6dJ6hEuCgFytfEk=";
3343   };
3345   disabled = lua.luaversion != "5.1";
3346   propagatedBuildInputs = [ plenary-nvim ];
3348   meta = {
3349     homepage = "https://github.com/nvim-telescope/telescope.nvim";
3350     description = "Find, Filter, Preview, Pick. All lua, all the time.";
3351     license.fullName = "MIT";
3352   };
3353 }) {};
3355 tiktoken_core = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luarocks-build-rust-mlua }:
3356 buildLuarocksPackage {
3357   pname = "tiktoken_core";
3358   version = "0.2.2-1";
3359   knownRockspec = (fetchurl {
3360     url    = "mirror://luarocks/tiktoken_core-0.2.2-1.rockspec";
3361     sha256 = "1bx1kj47d6di1iflhccm5p7z2ry5c83f59pqi5jsf1r2h000p4n5";
3362   }).outPath;
3363   src = fetchFromGitHub {
3364     owner = "gptlang";
3365     repo = "lua-tiktoken";
3366     rev = "v0.2.2";
3367     hash = "sha256-H83kk9dsH/cWBEx2AXQQ82l8sNfhzO864jwDd7vwAQc=";
3368   };
3370   disabled = luaOlder "5.1";
3371   propagatedBuildInputs = [ luarocks-build-rust-mlua ];
3373   meta = {
3374     homepage = "https://github.com/gptlang/lua-tiktoken";
3375     description = "An experimental port of OpenAI's Tokenizer to lua";
3376     maintainers = with lib.maintainers; [ natsukium ];
3377     license.fullName = "MIT";
3378   };
3379 }) {};
3381 tl = callPackage({ argparse, buildLuarocksPackage, compat53, fetchFromGitHub, fetchurl, luafilesystem }:
3382 buildLuarocksPackage {
3383   pname = "tl";
3384   version = "0.15.3-1";
3385   knownRockspec = (fetchurl {
3386     url    = "mirror://luarocks/tl-0.15.3-1.rockspec";
3387     sha256 = "15p67r5bjp997pymjq80yn1gyf7r5g2nwkachkwx88100ihblqrc";
3388   }).outPath;
3389   src = fetchFromGitHub {
3390     owner = "teal-language";
3391     repo = "tl";
3392     rev = "v0.15.3";
3393     hash = "sha256-nkwPYI4uB1rTtcBsZ7TKNPusWXtXViyBDSkiL9UH+Wo=";
3394   };
3396   propagatedBuildInputs = [ argparse compat53 luafilesystem ];
3398   meta = {
3399     homepage = "https://github.com/teal-language/tl";
3400     description = "Teal, a typed dialect of Lua";
3401     maintainers = with lib.maintainers; [ mephistophiles ];
3402     license.fullName = "MIT";
3403   };
3404 }) {};
3406 toml-edit = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, luarocks-build-rust-mlua }:
3407 buildLuarocksPackage {
3408   pname = "toml-edit";
3409   version = "0.5.0-1";
3410   knownRockspec = (fetchurl {
3411     url    = "mirror://luarocks/toml-edit-0.5.0-1.rockspec";
3412     sha256 = "1d80s6jcdw7ny52vda7lx4xccmavnl7sji1bcchmbc7krbf6s7v0";
3413   }).outPath;
3414   src = fetchzip {
3415     url    = "https://github.com/nvim-neorocks/toml-edit.lua/archive/v0.5.0.zip";
3416     sha256 = "0cfsp9h7kjm52mrjf42jrp3np7akql8ynlnvq32m2ayshjdsdx6q";
3417   };
3419   disabled = luaOlder "5.1";
3420   nativeBuildInputs = [ luarocks-build-rust-mlua ];
3422   meta = {
3423     homepage = "https://github.com/nvim-neorocks/toml-edit.lua";
3424     description = "TOML Parser + Formatting and Comment-Preserving Editor";
3425     maintainers = with lib.maintainers; [ mrcjkb ];
3426     license.fullName = "MIT";
3427   };
3428 }) {};
3430 tree-sitter-norg = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luarocks-build-treesitter-parser-cpp }:
3431 buildLuarocksPackage {
3432   pname = "tree-sitter-norg";
3433   version = "0.2.6-1";
3434   knownRockspec = (fetchurl {
3435     url    = "mirror://luarocks/tree-sitter-norg-0.2.6-1.rockspec";
3436     sha256 = "1s0wj59v4zjgimws742ybzy7nhnnkz8nas4y5k96c2z5z54ynxmq";
3437   }).outPath;
3438   src = fetchzip {
3439     url    = "https://github.com/nvim-neorg/tree-sitter-norg/archive/v0.2.6.zip";
3440     sha256 = "077rds0rq10wjywpj4hmmq9dd6qp6sfwbdjyh587laldrfl7jy6g";
3441   };
3443   nativeBuildInputs = [ luarocks-build-treesitter-parser-cpp ];
3445   meta = {
3446     homepage = "https://github.com/nvim-neorg/tree-sitter-norg";
3447     description = "The official tree-sitter parser for Norg documents.";
3448     maintainers = with lib.maintainers; [ mrcjkb ];
3449     license.fullName = "MIT";
3450   };
3451 }) {};
3453 vstruct = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
3454 buildLuarocksPackage {
3455   pname = "vstruct";
3456   version = "2.1.1-1";
3457   knownRockspec = (fetchurl {
3458     url    = "mirror://luarocks/vstruct-2.1.1-1.rockspec";
3459     sha256 = "111ff5207hspda9fpj9dqdd699rax0df3abdnfbmdbdy3j07dd04";
3460   }).outPath;
3461   src = fetchFromGitHub {
3462     owner = "ToxicFrog";
3463     repo = "vstruct";
3464     rev = "v2.1.1";
3465     hash = "sha256-p9yRJ3Kr6WQ4vBSTOVLoX6peNCJW6b6kgXCySg7aiWo=";
3466   };
3468   disabled = luaOlder "5.1";
3470   meta = {
3471     homepage = "https://github.com/ToxicFrog/vstruct";
3472     description = "Lua library to manipulate binary data";
3473   };
3474 }) {};
3476 vusted = callPackage({ buildLuarocksPackage, busted, fetchFromGitHub, fetchurl, luasystem }:
3477 buildLuarocksPackage {
3478   pname = "vusted";
3479   version = "2.5.0-1";
3480   knownRockspec = (fetchurl {
3481     url    = "mirror://luarocks/vusted-2.5.0-1.rockspec";
3482     sha256 = "05jv8kl0hy3pyrknafmynifrqyrcc5q9qkd4ly1vmxgmmbm30nqz";
3483   }).outPath;
3484   src = fetchFromGitHub {
3485     owner = "notomo";
3486     repo = "vusted";
3487     rev = "v2.5.0";
3488     hash = "sha256-1/fZ8OAw9NZoY1YDN6OhOJRqwRDWps5JJDIsvWg1Nr4=";
3489   };
3491   propagatedBuildInputs = [ busted luasystem ];
3493   meta = {
3494     homepage = "https://github.com/notomo/vusted";
3495     description = "`busted` wrapper for testing neovim plugin";
3496     maintainers = with lib.maintainers; [ figsoda ];
3497     license.fullName = "MIT <http://opensource.org/licenses/MIT>";
3498   };
3499 }) {};
3501 xml2lua = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
3502 buildLuarocksPackage {
3503   pname = "xml2lua";
3504   version = "1.6-2";
3505   knownRockspec = (fetchurl {
3506     url    = "mirror://luarocks/xml2lua-1.6-2.rockspec";
3507     sha256 = "1fh57kv95a18q4869hmr4fbzbnlmq5z83mkkixvwzg3szf9kvfcn";
3508   }).outPath;
3509   src = fetchFromGitHub {
3510     owner = "manoelcampos";
3511     repo = "xml2lua";
3512     rev = "v1.6-2";
3513     hash = "sha256-4il5mmRLtuyCJ2Nm1tKv2hXk7rmiq7Fppx9LMbjkne0=";
3514   };
3516   disabled = luaOlder "5.1";
3518   meta = {
3519     homepage = "http://manoelcampos.github.io/xml2lua/";
3520     description = "An XML Parser written entirely in Lua that works for Lua 5.1+";
3521     maintainers = with lib.maintainers; [ teto ];
3522     license.fullName = "MIT";
3523   };
3524 }) {};
3528 /* GENERATED - do not edit this file */