at 24.11-pre 105 kB view raw
1/* pkgs/development/lua-modules/generated-packages.nix is an auto-generated file -- DO NOT EDIT! 2Regenerate it with: nix run nixpkgs#luarocks-packages-updater 3You can customize the generated packages in pkgs/development/lua-modules/overrides.nix 4*/ 5 6{ stdenv, lib, fetchurl, fetchgit, callPackage, ... }: 7final: prev: 8{ 9alt-getopt = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: 10buildLuarocksPackage { 11 pname = "alt-getopt"; 12 version = "0.8.0-1"; 13 knownRockspec = (fetchurl { 14 url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/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 }; 23 24 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 25 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}) {}; 33 34argparse = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: 35buildLuarocksPackage { 36 pname = "argparse"; 37 version = "0.7.1-1"; 38 knownRockspec = (fetchurl { 39 url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/argparse-0.7.1-1.rockspec"; 40 sha256 = "116iaczq6glzzin6qqa2zn7i22hdyzzsq6mzjiqnz6x1qmi0hig8"; 41 }).outPath; 42 src = fetchzip { 43 url = "https://github.com/luarocks/argparse/archive/0.7.1.zip"; 44 sha256 = "0idg79d0dfis4qhbkbjlmddq87np75hb2vj41i6prjpvqacvg5v1"; 45 }; 46 47 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 48 49 meta = { 50 homepage = "https://github.com/luarocks/argparse"; 51 description = "A feature-rich command-line argument parser"; 52 license.fullName = "MIT"; 53 }; 54}) {}; 55 56basexx = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 57buildLuarocksPackage { 58 pname = "basexx"; 59 version = "0.4.1-1"; 60 knownRockspec = (fetchurl { 61 url = "mirror://luarocks/basexx-0.4.1-1.rockspec"; 62 sha256 = "0kmydxm2wywl18cgj303apsx7hnfd68a9hx9yhq10fj7yfcxzv5f"; 63 }).outPath; 64 src = fetchurl { 65 url = "https://github.com/aiq/basexx/archive/v0.4.1.tar.gz"; 66 sha256 = "1rnz6xixxqwy0q6y2hi14rfid4w47h69gfi0rnlq24fz8q2b0qpz"; 67 }; 68 69 disabled = luaOlder "5.1"; 70 71 meta = { 72 homepage = "https://github.com/aiq/basexx"; 73 description = "A base2, base16, base32, base64 and base85 library for Lua"; 74 license.fullName = "MIT"; 75 }; 76}) {}; 77 78binaryheap = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 79buildLuarocksPackage { 80 pname = "binaryheap"; 81 version = "0.4-1"; 82 knownRockspec = (fetchurl { 83 url = "mirror://luarocks/binaryheap-0.4-1.rockspec"; 84 sha256 = "1ah37lhskmrb26by5ygs7jblx7qnf6mphgw8kwhw0yacvmkcbql4"; 85 }).outPath; 86 src = fetchurl { 87 url = "https://github.com/Tieske/binaryheap.lua/archive/version_0v4.tar.gz"; 88 sha256 = "0f5l4nb5s7dycbkgh3rrl7pf0npcf9k6m2gr2bsn09fjyb3bdc8h"; 89 }; 90 91 disabled = luaOlder "5.1"; 92 93 meta = { 94 homepage = "https://github.com/Tieske/binaryheap.lua"; 95 description = "Binary heap implementation in pure Lua"; 96 maintainers = with lib.maintainers; [ vcunat ]; 97 license.fullName = "MIT/X11"; 98 }; 99}) {}; 100 101bit32 = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 102buildLuarocksPackage { 103 pname = "bit32"; 104 version = "5.3.0-1"; 105 knownRockspec = (fetchurl { 106 url = "mirror://luarocks/bit32-5.3.0-1.rockspec"; 107 sha256 = "1d6xdihpksrj5a3yvsvnmf3vfk15hj6f8n1rrs65m7adh87hc0yd"; 108 }).outPath; 109 src = fetchFromGitHub { 110 owner = "keplerproject"; 111 repo = "lua-compat-5.2"; 112 rev = "bitlib-5.3.0"; 113 hash = "sha256-Ek7FMWskfHwHhEVfjTDZyL/cruHDiQo5Jmnwsvai+MY="; 114 }; 115 116 disabled = luaOlder "5.1"; 117 118 meta = { 119 homepage = "http://www.lua.org/manual/5.2/manual.html#6.7"; 120 description = "Lua 5.2 bit manipulation library"; 121 maintainers = with lib.maintainers; [ lblasc ]; 122 license.fullName = "MIT/X11"; 123 }; 124}) {}; 125 126busted = callPackage({ buildLuarocksPackage, dkjson, fetchFromGitHub, fetchurl, lua-term, luaOlder, lua_cliargs, luassert, luasystem, mediator_lua, penlight, say }: 127buildLuarocksPackage { 128 pname = "busted"; 129 version = "2.2.0-1"; 130 knownRockspec = (fetchurl { 131 url = "mirror://luarocks/busted-2.2.0-1.rockspec"; 132 sha256 = "0h4zk4lcm40wg3l0vgjn6lsyh9yayhljx65a0pz5n99dxal8lgnf"; 133 }).outPath; 134 src = fetchFromGitHub { 135 owner = "lunarmodules"; 136 repo = "busted"; 137 rev = "v2.2.0"; 138 hash = "sha256-5LxPqmoUwR3XaIToKUgap0L/sNS9uOV080MIenyLnl8="; 139 }; 140 141 disabled = luaOlder "5.1"; 142 propagatedBuildInputs = [ dkjson lua-term lua_cliargs luassert luasystem mediator_lua penlight say ]; 143 144 meta = { 145 homepage = "https://lunarmodules.github.io/busted/"; 146 description = "Elegant Lua unit testing"; 147 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 148 }; 149}) {}; 150 151cassowary = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, penlight }: 152buildLuarocksPackage { 153 pname = "cassowary"; 154 version = "2.3.2-1"; 155 knownRockspec = (fetchurl { 156 url = "mirror://luarocks/cassowary-2.3.2-1.rockspec"; 157 sha256 = "0c6sflm8zpgbcdj47s3rd34h69h3nqcciaaqd1wdx5m0lwc3mii0"; 158 }).outPath; 159 src = fetchFromGitHub { 160 owner = "sile-typesetter"; 161 repo = "cassowary.lua"; 162 rev = "v2.3.2"; 163 hash = "sha256-wIVuf1L3g2BCM+zW4Nt1IyU6xaP4yYuzxHjVDxsgdNM="; 164 }; 165 166 disabled = luaOlder "5.1"; 167 propagatedBuildInputs = [ penlight ]; 168 169 meta = { 170 homepage = "https://github.com/sile-typesetter/cassowary.lua"; 171 description = "The cassowary constraint solver"; 172 maintainers = with lib.maintainers; [ alerque ]; 173 license.fullName = "Apache 2"; 174 }; 175}) {}; 176 177cldr = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, penlight }: 178buildLuarocksPackage { 179 pname = "cldr"; 180 version = "0.3.0-0"; 181 knownRockspec = (fetchurl { 182 url = "mirror://luarocks/cldr-0.3.0-0.rockspec"; 183 sha256 = "1fnr8k713w21v7hc64s4w5lgcgnbphq3gm69pisc2s4wq2fkija1"; 184 }).outPath; 185 src = fetchFromGitHub { 186 owner = "alerque"; 187 repo = "cldr-lua"; 188 rev = "v0.3.0"; 189 hash = "sha256-5LY0YxHACtreP38biDZD97bkPuuT7an/Z1VBXEJYjkI="; 190 }; 191 192 disabled = luaOlder "5.1"; 193 propagatedBuildInputs = [ penlight ]; 194 195 meta = { 196 homepage = "https://github.com/alerque/cldr-lua"; 197 description = "Lua interface to Unicode CLDR data"; 198 maintainers = with lib.maintainers; [ alerque ]; 199 license.fullName = "MIT/ICU"; 200 }; 201}) {}; 202 203commons-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 204buildLuarocksPackage { 205 pname = "commons.nvim"; 206 version = "15.0.2-1"; 207 knownRockspec = (fetchurl { 208 url = "mirror://luarocks/commons.nvim-15.0.2-1.rockspec"; 209 sha256 = "1n78bgp9y2smnhkjkdvn2c6lq6071k9dml4j6r7hk462hxsbjsqn"; 210 }).outPath; 211 src = fetchzip { 212 url = "https://github.com/linrongbin16/commons.nvim/archive/cc17fd28c5f171c5d55f75d668b812e2d70b4cf3.zip"; 213 sha256 = "0w5z03r59jy3zb653dwp9c6fq8ivjj1j2ksnsx95wlmj1mx04ixi"; 214 }; 215 216 disabled = luaOlder "5.1"; 217 218 meta = { 219 homepage = "https://linrongbin16.github.io/commons.nvim/"; 220 description = "The commons lua library for Neovim plugin project."; 221 maintainers = with lib.maintainers; [ mrcjkb ]; 222 license.fullName = "MIT"; 223 }; 224}) {}; 225 226compat53 = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: 227buildLuarocksPackage { 228 pname = "compat53"; 229 version = "0.13-1"; 230 knownRockspec = (fetchurl { 231 url = "mirror://luarocks/compat53-0.13-1.rockspec"; 232 sha256 = "10gmhd526a5q0dl4dvjq7a5c7f3i7hcdla8hpygl79dhgbm649i3"; 233 }).outPath; 234 src = fetchzip { 235 url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.13.zip"; 236 sha256 = "06kpx5qyk1zki2r2g6z3alwhvmays50670z7mbl55h7s0kff2cpz"; 237 }; 238 239 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 240 241 meta = { 242 homepage = "https://github.com/lunarmodules/lua-compat-5.3"; 243 description = "Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1"; 244 maintainers = with lib.maintainers; [ vcunat ]; 245 license.fullName = "MIT"; 246 }; 247}) {}; 248 249cosmo = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lpeg }: 250buildLuarocksPackage { 251 pname = "cosmo"; 252 version = "16.06.04-1"; 253 knownRockspec = (fetchurl { 254 url = "mirror://luarocks/cosmo-16.06.04-1.rockspec"; 255 sha256 = "0ipv1hrlhvaz1myz6qxabq7b7kb3bz456cya3r292487a3g9h9pb"; 256 }).outPath; 257 src = fetchFromGitHub { 258 owner = "mascarenhas"; 259 repo = "cosmo"; 260 rev = "v16.06.04"; 261 hash = "sha256-mJE5GkDnfZ3qAQyyyKj+aXOtlITeYs8lerGJSTzU/Tk="; 262 }; 263 264 propagatedBuildInputs = [ lpeg ]; 265 266 meta = { 267 homepage = "http://cosmo.luaforge.net"; 268 description = "Safe templates for Lua"; 269 license.fullName = "MIT/X11"; 270 }; 271}) {}; 272 273coxpcall = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }: 274buildLuarocksPackage { 275 pname = "coxpcall"; 276 version = "1.17.0-1"; 277 knownRockspec = (fetchurl { 278 url = "mirror://luarocks/coxpcall-1.17.0-1.rockspec"; 279 sha256 = "0mf0nggg4ajahy5y1q5zh2zx9rmgzw06572bxx6k8b736b8j7gca"; 280 }).outPath; 281 src = fetchFromGitHub { 282 owner = "keplerproject"; 283 repo = "coxpcall"; 284 rev = "v1_17_0"; 285 hash = "sha256-EW8pGI9jiGutNVNmyiCP5sIVYZe2rJQc03OrKXIOeMw="; 286 }; 287 288 289 meta = { 290 homepage = "http://keplerproject.github.io/coxpcall"; 291 description = "Coroutine safe xpcall and pcall"; 292 license.fullName = "MIT/X11"; 293 }; 294}) {}; 295 296cqueues = callPackage({ buildLuarocksPackage, fetchurl, lua }: 297buildLuarocksPackage { 298 pname = "cqueues"; 299 version = "20200726.52-0"; 300 knownRockspec = (fetchurl { 301 url = "mirror://luarocks/cqueues-20200726.52-0.rockspec"; 302 sha256 = "0w2kq9w0wda56k02rjmvmzccz6bc3mn70s9v7npjadh85i5zlhhp"; 303 }).outPath; 304 src = fetchurl { 305 url = "https://github.com/wahern/cqueues/archive/rel-20200726.tar.gz"; 306 sha256 = "0lhd02ag3r1sxr2hx847rdjkddm04l1vf5234v5cz9bd4kfjw4cy"; 307 }; 308 309 disabled = lua.luaversion != "5.2"; 310 311 meta = { 312 homepage = "http://25thandclement.com/~william/projects/cqueues.html"; 313 description = "Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix."; 314 maintainers = with lib.maintainers; [ vcunat ]; 315 license.fullName = "MIT/X11"; 316 }; 317}) {}; 318 319cyan = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, luafilesystem, tl }: 320buildLuarocksPackage { 321 pname = "cyan"; 322 version = "0.3.0-1"; 323 knownRockspec = (fetchurl { 324 url = "mirror://luarocks/cyan-0.3.0-1.rockspec"; 325 sha256 = "1bs5gwgdhibj2gm8y3810b0hh6s9n00fgij8nnjag9kpqrd80vsj"; 326 }).outPath; 327 src = fetchFromGitHub { 328 owner = "teal-language"; 329 repo = "cyan"; 330 rev = "51649e4a814c05deaf5dde929ba82803f5170bbc"; 331 hash = "sha256-83F2hFAXHLg4l5O0+j3zbwTv0TaCWEfWErO9C0V9W04="; 332 }; 333 334 propagatedBuildInputs = [ argparse luafilesystem tl ]; 335 336 meta = { 337 homepage = "https://github.com/teal-language/cyan"; 338 description = "A build system for the Teal language"; 339 license.fullName = "MIT"; 340 }; 341}) {}; 342 343digestif = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lpeg, luaOlder }: 344buildLuarocksPackage { 345 pname = "digestif"; 346 version = "0.5.1-1"; 347 knownRockspec = (fetchurl { 348 url = "mirror://luarocks/digestif-0.5.1-1.rockspec"; 349 sha256 = "03hhzpq1szdw43slq38wbndwh8knv71q9pgwd7hvvkp9wykzjhwr"; 350 }).outPath; 351 src = fetchFromGitHub { 352 owner = "astoff"; 353 repo = "digestif"; 354 rev = "v0.5.1"; 355 hash = "sha256-8QTc4IKD1tjRlyrSZy7cyUzRkvm6IHwlOXchPf2BaMk="; 356 }; 357 358 disabled = luaOlder "5.3"; 359 propagatedBuildInputs = [ lpeg ]; 360 361 meta = { 362 homepage = "https://github.com/astoff/digestif/"; 363 description = "A code analyzer for TeX"; 364 license.fullName = "GPLv3+ and other free licenses"; 365 }; 366}) {}; 367 368dkjson = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }: 369buildLuarocksPackage { 370 pname = "dkjson"; 371 version = "2.7-1"; 372 knownRockspec = (fetchurl { 373 url = "mirror://luarocks/dkjson-2.7-1.rockspec"; 374 sha256 = "0kgrgyn848hadsfhf2wccamgdpjs1cz7424fjp9vfqzjbwa06lxd"; 375 }).outPath; 376 src = fetchurl { 377 url = "http://dkolf.de/dkjson-lua/dkjson-2.7.tar.gz"; 378 sha256 = "sha256-TFGmIQLy9r23Z3fx23NgUJtKARaANYi06CVfQ1ryOVw="; 379 }; 380 381 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 382 383 meta = { 384 homepage = "http://dkolf.de/dkjson-lua/"; 385 description = "David Kolf's JSON module for Lua"; 386 license.fullName = "MIT/X11"; 387 }; 388}) {}; 389 390fennel = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 391buildLuarocksPackage { 392 pname = "fennel"; 393 version = "1.4.2-1"; 394 knownRockspec = (fetchurl { 395 url = "mirror://luarocks/fennel-1.4.2-1.rockspec"; 396 sha256 = "17ygacyqdvplyz3046ay3xr4z83sdjrxkcl21mklpxx29j8p0bv1"; 397 }).outPath; 398 src = fetchurl { 399 url = "https://fennel-lang.org/downloads/fennel-1.4.2.tar.gz"; 400 sha256 = "1inhy8rrywx8svdzhy1yaaa0cfyrmi21ckj7h8xmd7yqaw66ma86"; 401 }; 402 403 disabled = luaOlder "5.1"; 404 405 meta = { 406 homepage = "https://fennel-lang.org/"; 407 description = "A lisp that compiles to Lua"; 408 maintainers = with lib.maintainers; [ misterio77 ]; 409 license.fullName = "MIT"; 410 }; 411}) {}; 412 413fidget-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 414buildLuarocksPackage { 415 pname = "fidget.nvim"; 416 version = "1.1.0-1"; 417 knownRockspec = (fetchurl { 418 url = "mirror://luarocks/fidget.nvim-1.1.0-1.rockspec"; 419 sha256 = "0pgjbsqp6bs9kwi0qphihwhl47j1lzdgg3xfa6msikrcf8d7j0hf"; 420 }).outPath; 421 src = fetchzip { 422 url = "https://github.com/j-hui/fidget.nvim/archive/300018af4abd00610a345e382ca1f4b7ba420f77.zip"; 423 sha256 = "0bwjcqkb735wqnzc8rngvpq1b2rxgc7m0arjypvnvzsxw6wd1f61"; 424 }; 425 426 disabled = luaOlder "5.1"; 427 428 meta = { 429 homepage = "https://github.com/j-hui/fidget.nvim"; 430 description = "Extensible UI for Neovim notifications and LSP progress messages."; 431 maintainers = with lib.maintainers; [ mrcjkb ]; 432 license.fullName = "MIT"; 433 }; 434}) {}; 435 436fifo = callPackage({ buildLuarocksPackage, fetchurl, fetchzip }: 437buildLuarocksPackage { 438 pname = "fifo"; 439 version = "0.2-0"; 440 knownRockspec = (fetchurl { 441 url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/fifo-0.2-0.rockspec"; 442 sha256 = "0vr9apmai2cyra2n573nr3dyk929gzcs4nm1096jdxcixmvh2ymq"; 443 }).outPath; 444 src = fetchzip { 445 url = "https://github.com/daurnimator/fifo.lua/archive/0.2.zip"; 446 sha256 = "1800k7h5hxsvm05bjdr65djjml678lwb0661cll78z1ys2037nzn"; 447 }; 448 449 450 meta = { 451 homepage = "https://github.com/daurnimator/fifo.lua"; 452 description = "A lua library/'class' that implements a FIFO"; 453 license.fullName = "MIT/X11"; 454 }; 455}) {}; 456 457fluent = callPackage({ buildLuarocksPackage, cldr, fetchFromGitHub, fetchurl, luaOlder, luaepnf, penlight }: 458buildLuarocksPackage { 459 pname = "fluent"; 460 version = "0.2.0-0"; 461 knownRockspec = (fetchurl { 462 url = "mirror://luarocks/fluent-0.2.0-0.rockspec"; 463 sha256 = "1x3nk8xdf923rvdijr0jx8v6w3wxxfch7ri3kxca0pw80b5bc2fa"; 464 }).outPath; 465 src = fetchFromGitHub { 466 owner = "alerque"; 467 repo = "fluent-lua"; 468 rev = "v0.2.0"; 469 hash = "sha256-uDJWhQ/fDD9ZbYOgPk1FDlU3A3DAZw3Ujx92BglFWoo="; 470 }; 471 472 disabled = luaOlder "5.1"; 473 propagatedBuildInputs = [ cldr luaepnf penlight ]; 474 475 meta = { 476 homepage = "https://github.com/alerque/fluent-lua"; 477 description = "Lua implementation of Project Fluent"; 478 maintainers = with lib.maintainers; [ alerque ]; 479 license.fullName = "MIT"; 480 }; 481}) {}; 482 483funnyfiles-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 484buildLuarocksPackage { 485 pname = "funnyfiles.nvim"; 486 version = "1.0.1-1"; 487 knownRockspec = (fetchurl { 488 url = "mirror://luarocks/funnyfiles.nvim-1.0.1-1.rockspec"; 489 sha256 = "1r3cgx8wvc1c4syk167m94ws513g0cdmmxnymf3zyidlszdwamy5"; 490 }).outPath; 491 src = fetchzip { 492 url = "https://github.com/aikooo7/funnyfiles.nvim/archive/v1.0.1.zip"; 493 sha256 = "00p026r05gldbf18mmv8da9ap09di8dhy0rrd586pr2s2s36nzpd"; 494 }; 495 496 disabled = luaOlder "5.1"; 497 498 meta = { 499 homepage = "https://github.com/aikooo7/funnyfiles.nvim"; 500 description = "This plugin is a way of creating/deleting files/folders without needing to open a file explorer."; 501 maintainers = with lib.maintainers; [ mrcjkb ]; 502 license.fullName = "MIT"; 503 }; 504}) {}; 505 506fzf-lua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 507buildLuarocksPackage { 508 pname = "fzf-lua"; 509 version = "0.0.1243-1"; 510 knownRockspec = (fetchurl { 511 url = "mirror://luarocks/fzf-lua-0.0.1243-1.rockspec"; 512 sha256 = "1qg36v2gx36k313jisxyf6yjywzqngak2qcx211hd2wzxdnsaxdb"; 513 }).outPath; 514 src = fetchzip { 515 url = "https://github.com/ibhagwan/fzf-lua/archive/9a0912d171940e8701d1f65d5ee2b23b810720c1.zip"; 516 sha256 = "0xzgpng4r9paza87fnxc3cfn331g1pmcayv1vky7jmriy5xsrxh6"; 517 }; 518 519 disabled = luaOlder "5.1"; 520 521 meta = { 522 homepage = "https://github.com/ibhagwan/fzf-lua"; 523 description = "Improved fzf.vim written in lua"; 524 maintainers = with lib.maintainers; [ mrcjkb ]; 525 license.fullName = "AGPL-3.0"; 526 }; 527}) {}; 528 529fzy = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 530buildLuarocksPackage { 531 pname = "fzy"; 532 version = "1.0.3-1"; 533 knownRockspec = (fetchurl { 534 url = "mirror://luarocks/fzy-1.0.3-1.rockspec"; 535 sha256 = "07d07afjs73bl5krfbaqx4pw2wpfrkyw2iksamkfa8dlqn9ajn1a"; 536 }).outPath; 537 src = fetchzip { 538 url = "https://github.com/swarn/fzy-lua/archive/v1.0.3.zip"; 539 sha256 = "0w3alddhn0jd19vmminbi1b79mzlagyl1lygmfpxhzzccdv4vapm"; 540 }; 541 542 disabled = luaOlder "5.1"; 543 544 meta = { 545 homepage = "https://github.com/swarn/fzy-lua"; 546 description = "A lua implementation of the fzy fuzzy matching algorithm"; 547 maintainers = with lib.maintainers; [ mrcjkb ]; 548 license.fullName = "MIT"; 549 }; 550}) {}; 551 552gitsigns-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, lua }: 553buildLuarocksPackage { 554 pname = "gitsigns.nvim"; 555 version = "scm-1"; 556 557 src = fetchFromGitHub { 558 owner = "lewis6991"; 559 repo = "gitsigns.nvim"; 560 rev = "035da036e68e509ed158414416c827d022d914bd"; 561 hash = "sha256-UK3DyvrQ0kLm9wrMQ6tLDoDunoThbY/Yfjn+eCZpuMw="; 562 }; 563 564 disabled = lua.luaversion != "5.1"; 565 566 meta = { 567 homepage = "http://github.com/lewis6991/gitsigns.nvim"; 568 description = "Git signs written in pure lua"; 569 license.fullName = "MIT/X11"; 570 }; 571}) {}; 572 573haskell-tools-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 574buildLuarocksPackage { 575 pname = "haskell-tools.nvim"; 576 version = "3.1.8-1"; 577 knownRockspec = (fetchurl { 578 url = "mirror://luarocks/haskell-tools.nvim-3.1.8-1.rockspec"; 579 sha256 = "1jhms5gpah8lk0mn1gx127afmihyaq1fj8qrd6a8yh3wy12k1qxc"; 580 }).outPath; 581 src = fetchzip { 582 url = "https://github.com/mrcjkb/haskell-tools.nvim/archive/3.1.8.zip"; 583 sha256 = "14nk6jyq2y4q93ij56bdjy17h3jlmjwsspw3l6ahvjsl6yg1lv75"; 584 }; 585 586 disabled = luaOlder "5.1"; 587 588 meta = { 589 homepage = "https://github.com/mrcjkb/haskell-tools.nvim"; 590 description = "Supercharge your Haskell experience in neovim!"; 591 maintainers = with lib.maintainers; [ mrcjkb ]; 592 license.fullName = "GPL-2.0"; 593 }; 594}) {}; 595 596http = callPackage({ basexx, binaryheap, bit32, buildLuarocksPackage, compat53, cqueues, fetchurl, fetchzip, fifo, lpeg, lpeg_patterns, luaOlder, luaossl }: 597buildLuarocksPackage { 598 pname = "http"; 599 version = "0.3-0"; 600 knownRockspec = (fetchurl { 601 url = "mirror://luarocks/http-0.3-0.rockspec"; 602 sha256 = "0fn3irkf5nnmfc83alc40b316hs8l7zdq2xlaiaa65sjd8acfvia"; 603 }).outPath; 604 src = fetchzip { 605 url = "https://github.com/daurnimator/lua-http/archive/v0.3.zip"; 606 sha256 = "1pqxxxifl2j1cik3kgayx43v6py5jp6r22myhvxfffysb3b84a2l"; 607 }; 608 609 disabled = luaOlder "5.1"; 610 propagatedBuildInputs = [ basexx binaryheap bit32 compat53 cqueues fifo lpeg lpeg_patterns luaossl ]; 611 612 meta = { 613 homepage = "https://github.com/daurnimator/lua-http"; 614 description = "HTTP library for Lua"; 615 maintainers = with lib.maintainers; [ vcunat ]; 616 license.fullName = "MIT"; 617 }; 618}) {}; 619 620image-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, magick }: 621buildLuarocksPackage { 622 pname = "image.nvim"; 623 version = "1.2.0-1"; 624 knownRockspec = (fetchurl { 625 url = "mirror://luarocks/image.nvim-1.2.0-1.rockspec"; 626 sha256 = "0732fk2p2v9f72689jms4pdjsx9m7vdi1ib65jfz7q4lv9pdx508"; 627 }).outPath; 628 src = fetchzip { 629 url = "https://github.com/3rd/image.nvim/archive/v1.2.0.zip"; 630 sha256 = "1v4db60yykjajabmf12zjcg47bb814scjrig0wvn4yc11isinymg"; 631 }; 632 633 disabled = luaOlder "5.1"; 634 propagatedBuildInputs = [ magick ]; 635 636 meta = { 637 homepage = "https://github.com/3rd/image.nvim"; 638 description = "🖼 Bringing images to Neovim."; 639 maintainers = with lib.maintainers; [ teto ]; 640 license.fullName = "MIT"; 641 }; 642}) {}; 643 644inspect = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 645buildLuarocksPackage { 646 pname = "inspect"; 647 version = "3.1.3-0"; 648 knownRockspec = (fetchurl { 649 url = "mirror://luarocks/inspect-3.1.3-0.rockspec"; 650 sha256 = "1iivb2jmz0pacmac2msyqwvjjx8q6py4h959m8fkigia6srg5ins"; 651 }).outPath; 652 src = fetchurl { 653 url = "https://github.com/kikito/inspect.lua/archive/v3.1.3.tar.gz"; 654 sha256 = "1sqylz5hmj5sbv4gi9988j6av3cb5lwkd7wiyim1h5lr7xhnlf23"; 655 }; 656 657 disabled = luaOlder "5.1"; 658 659 meta = { 660 homepage = "https://github.com/kikito/inspect.lua"; 661 description = "Lua table visualizer, ideal for debugging"; 662 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 663 }; 664}) {}; 665 666jsregexp = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 667buildLuarocksPackage { 668 pname = "jsregexp"; 669 version = "0.0.7-1"; 670 knownRockspec = (fetchurl { 671 url = "mirror://luarocks/jsregexp-0.0.7-1.rockspec"; 672 sha256 = "1yx0340h51xk23n0g8irj5c9bs35zy6p1zl5kp7vy2cwxazbipbl"; 673 }).outPath; 674 src = fetchFromGitHub { 675 owner = "kmarius"; 676 repo = "jsregexp"; 677 rev = "v0.0.7"; 678 hash = "sha256-aXRGmo6w7jgKlR2BwKhbFGHC0mOTwHfYsh+lvqNuFtQ="; 679 }; 680 681 disabled = luaOlder "5.1"; 682 683 meta = { 684 homepage = "https://github.com/kmarius/jsregexp"; 685 description = "javascript (ECMA19) regular expressions for lua"; 686 license.fullName = "MIT"; 687 }; 688}) {}; 689 690ldbus = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: 691buildLuarocksPackage { 692 pname = "ldbus"; 693 version = "scm-0"; 694 knownRockspec = (fetchurl { 695 url = "mirror://luarocks/ldbus-scm-0.rockspec"; 696 sha256 = "1c0h6fx7avzh89hl17v6simy1p4mjg8bimlsbjybks0zxznd8rbm"; 697 }).outPath; 698 src = fetchFromGitHub { 699 owner = "daurnimator"; 700 repo = "ldbus"; 701 rev = "6d4909c983c8a0e2c7384bac8055c628aa524ea2"; 702 hash = "sha256-8px1eFSxt/SJipxxmjTpGpJO7V0oOK39+nK7itJCCaM="; 703 }; 704 705 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 706 707 meta = { 708 homepage = "https://github.com/daurnimator/ldbus"; 709 description = "A Lua library to access dbus."; 710 license.fullName = "MIT/X11"; 711 }; 712}) {}; 713 714ldoc = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, markdown, penlight }: 715buildLuarocksPackage { 716 pname = "ldoc"; 717 version = "1.5.0-1"; 718 knownRockspec = (fetchurl { 719 url = "mirror://luarocks/ldoc-1.5.0-1.rockspec"; 720 sha256 = "1c0yx9j3yqlzxpmspz7n7l1nvh2sww84zhkb1fsbg042sr8h9bxp"; 721 }).outPath; 722 src = fetchFromGitHub { 723 owner = "lunarmodules"; 724 repo = "ldoc"; 725 rev = "v1.5.0"; 726 hash = "sha256-Me2LT+UzO8G2vHqG7DjjoCRAtLmhiJHlSEYQGkprxTw="; 727 }; 728 729 propagatedBuildInputs = [ markdown penlight ]; 730 731 meta = { 732 homepage = "http://lunarmodules.github.io/ldoc"; 733 description = "A Lua Documentation Tool"; 734 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 735 }; 736}) {}; 737 738lgi = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 739buildLuarocksPackage { 740 pname = "lgi"; 741 version = "0.9.2-1"; 742 knownRockspec = (fetchurl { 743 url = "mirror://luarocks/lgi-0.9.2-1.rockspec"; 744 sha256 = "1gqi07m4bs7xibsy4vx8qgyp3yb1wnh0gdq1cpwqzv35y6hn5ds3"; 745 }).outPath; 746 src = fetchFromGitHub { 747 owner = "pavouk"; 748 repo = "lgi"; 749 rev = "0.9.2"; 750 hash = "sha256-UpamUbvqzF0JKV3J0wIiJlV6iedwe823vD0EIm3zKw8="; 751 }; 752 753 disabled = luaOlder "5.1"; 754 755 meta = { 756 homepage = "http://github.com/pavouk/lgi"; 757 description = "Lua bindings to GObject libraries"; 758 license.fullName = "MIT/X11"; 759 }; 760}) {}; 761 762linenoise = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 763buildLuarocksPackage { 764 pname = "linenoise"; 765 version = "0.9-1"; 766 767 src = fetchurl { 768 url = "https://github.com/hoelzro/lua-linenoise/archive/0.9.tar.gz"; 769 sha256 = "177h6gbq89arwiwxah9943i8hl5gvd9wivnd1nhmdl7d8x0dn76c"; 770 }; 771 772 disabled = luaOlder "5.1"; 773 774 meta = { 775 homepage = "https://github.com/hoelzro/lua-linenoise"; 776 description = "A binding for the linenoise command line library"; 777 license.fullName = "MIT/X11"; 778 }; 779}) {}; 780 781ljsyscall = callPackage({ buildLuarocksPackage, fetchurl, lua }: 782buildLuarocksPackage { 783 pname = "ljsyscall"; 784 version = "0.12-1"; 785 knownRockspec = (fetchurl { 786 url = "mirror://luarocks/ljsyscall-0.12-1.rockspec"; 787 sha256 = "0zna5s852vn7q414z56kkyqwpighaghyq7h7in3myap4d9vcgm01"; 788 }).outPath; 789 src = fetchurl { 790 url = "https://github.com/justincormack/ljsyscall/archive/v0.12.tar.gz"; 791 sha256 = "1w9g36nhxv92cypjia7igg1xpfrn3dbs3hfy6gnnz5mx14v50abf"; 792 }; 793 794 disabled = lua.luaversion != "5.1"; 795 796 meta = { 797 homepage = "http://www.myriabit.com/ljsyscall/"; 798 description = "LuaJIT Linux syscall FFI"; 799 maintainers = with lib.maintainers; [ lblasc ]; 800 license.fullName = "MIT"; 801 }; 802}) {}; 803 804lmathx = callPackage({ buildLuarocksPackage, fetchurl }: 805buildLuarocksPackage { 806 pname = "lmathx"; 807 version = "20150624-1"; 808 knownRockspec = (fetchurl { 809 url = "mirror://luarocks/lmathx-20150624-1.rockspec"; 810 sha256 = "181wzsj1mxjyia43y8zwaydxahnl7a70qzcgc8jhhgic7jyi9pgv"; 811 }).outPath; 812 src = fetchurl { 813 url = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.3/lmathx.tar.gz"; 814 sha256 = "1r0ax3lq4xx6469aqc6qlfl3jynlghzhl5j65mpdj0kyzv4nknzf"; 815 }; 816 817 818 meta = { 819 homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lmathx"; 820 description = "C99 extensions for the math library"; 821 maintainers = with lib.maintainers; [ alexshpilkin ]; 822 license.fullName = "Public domain"; 823 }; 824}) {}; 825 826lmpfrlib = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }: 827buildLuarocksPackage { 828 pname = "lmpfrlib"; 829 version = "20170112-2"; 830 knownRockspec = (fetchurl { 831 url = "mirror://luarocks/lmpfrlib-20170112-2.rockspec"; 832 sha256 = "1x7qiwmk5b9fi87fn7yvivdsis8h9fk9r3ipqiry5ahx72vzdm7d"; 833 }).outPath; 834 src = fetchurl { 835 url = "http://www.circuitwizard.de/lmpfrlib/lmpfrlib.c"; 836 sha256 = "1bkfwdacj1drzqsfxf352fjppqqwi5d4j084jr9vj9dvjb31rbc1"; 837 }; 838 839 disabled = luaOlder "5.3" || luaAtLeast "5.5"; 840 841 meta = { 842 homepage = "http://www.circuitwizard.de/lmpfrlib/lmpfrlib.html"; 843 description = "Lua API for the GNU MPFR library"; 844 maintainers = with lib.maintainers; [ alexshpilkin ]; 845 license.fullName = "LGPL"; 846 }; 847}) {}; 848 849loadkit = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 850buildLuarocksPackage { 851 pname = "loadkit"; 852 version = "1.1.0-1"; 853 knownRockspec = (fetchurl { 854 url = "mirror://luarocks/loadkit-1.1.0-1.rockspec"; 855 sha256 = "08fx0xh90r2zvjlfjkyrnw2p95xk1a0qgvlnq4siwdb2mm6fq12l"; 856 }).outPath; 857 src = fetchFromGitHub { 858 owner = "leafo"; 859 repo = "loadkit"; 860 rev = "v1.1.0"; 861 hash = "sha256-fw+aoP9+yDpme4qXupE07cV1QGZjb2aU7IOHapG+ihU="; 862 }; 863 864 disabled = luaOlder "5.1"; 865 866 meta = { 867 homepage = "https://github.com/leafo/loadkit"; 868 description = "Loadkit allows you to load arbitrary files within the Lua package path"; 869 maintainers = with lib.maintainers; [ alerque ]; 870 license.fullName = "MIT"; 871 }; 872}) {}; 873 874lpeg = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 875buildLuarocksPackage { 876 pname = "lpeg"; 877 version = "1.1.0-1"; 878 knownRockspec = (fetchurl { 879 url = "mirror://luarocks/lpeg-1.1.0-1.rockspec"; 880 sha256 = "03af1p00madfhfxjzrsxb0jm0n49ixwadnkdp0vbgs77d2v985jn"; 881 }).outPath; 882 src = fetchurl { 883 url = "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz"; 884 sha256 = "0aimsjpcpkh3kk65f0pg1z2bp6d83rn4dg6pgbx1yv14s9kms5ab"; 885 }; 886 887 disabled = luaOlder "5.1"; 888 889 meta = { 890 homepage = "http://www.inf.puc-rio.br/~roberto/lpeg.html"; 891 description = "Parsing Expression Grammars For Lua"; 892 maintainers = with lib.maintainers; [ vyp ]; 893 license.fullName = "MIT/X11"; 894 }; 895}) {}; 896 897lpeg_patterns = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lpeg }: 898buildLuarocksPackage { 899 pname = "lpeg_patterns"; 900 version = "0.5-0"; 901 knownRockspec = (fetchurl { 902 url = "mirror://luarocks/lpeg_patterns-0.5-0.rockspec"; 903 sha256 = "1vzl3ryryc624mchclzsfl3hsrprb9q214zbi1xsjcc4ckq5qfh7"; 904 }).outPath; 905 src = fetchzip { 906 url = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip"; 907 sha256 = "1s3c179a64r45ffkawv9dnxw4mzwkzj00nr9z2gs5haajgpjivw6"; 908 }; 909 910 propagatedBuildInputs = [ lpeg ]; 911 912 meta = { 913 homepage = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip"; 914 description = "a collection of LPEG patterns"; 915 license.fullName = "MIT"; 916 }; 917}) {}; 918 919lpeglabel = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 920buildLuarocksPackage { 921 pname = "lpeglabel"; 922 version = "1.6.0-1"; 923 knownRockspec = (fetchurl { 924 url = "mirror://luarocks/lpeglabel-1.6.0-1.rockspec"; 925 sha256 = "13gc32pggng6f95xx5zw9n9ian518wlgb26mna9kh4q2xa1k42pm"; 926 }).outPath; 927 src = fetchurl { 928 url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.0-1.tar.gz"; 929 sha256 = "1i02lsxj20iygqm8fy6dih1gh21lqk5qj1mv14wlrkaywnv35wcv"; 930 }; 931 932 disabled = luaOlder "5.1"; 933 934 meta = { 935 homepage = "https://github.com/sqmedeiros/lpeglabel/"; 936 description = "Parsing Expression Grammars For Lua with Labeled Failures"; 937 license.fullName = "MIT/X11"; 938 }; 939}) {}; 940 941lrexlib-gnu = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 942buildLuarocksPackage { 943 pname = "lrexlib-gnu"; 944 version = "2.9.2-1"; 945 knownRockspec = (fetchurl { 946 url = "mirror://luarocks/lrexlib-gnu-2.9.2-1.rockspec"; 947 sha256 = "14dp5lzpz2prvimpcbqjygbyh9h791h0ywjknj9wgrjjd62qsy6i"; 948 }).outPath; 949 src = fetchFromGitHub { 950 owner = "rrthomas"; 951 repo = "lrexlib"; 952 rev = "rel-2-9-2"; 953 hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; 954 }; 955 956 disabled = luaOlder "5.1"; 957 958 meta = { 959 homepage = "https://github.com/rrthomas/lrexlib"; 960 description = "Regular expression library binding (GNU flavour)."; 961 license.fullName = "MIT/X11"; 962 }; 963}) {}; 964 965lrexlib-pcre = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 966buildLuarocksPackage { 967 pname = "lrexlib-pcre"; 968 version = "2.9.2-1"; 969 knownRockspec = (fetchurl { 970 url = "mirror://luarocks/lrexlib-pcre-2.9.2-1.rockspec"; 971 sha256 = "1214ssm6apgprryqvijjjn82ikb27ylq94yijqf7qjyiy6pz7dc1"; 972 }).outPath; 973 src = fetchFromGitHub { 974 owner = "rrthomas"; 975 repo = "lrexlib"; 976 rev = "rel-2-9-2"; 977 hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; 978 }; 979 980 disabled = luaOlder "5.1"; 981 982 meta = { 983 homepage = "https://github.com/rrthomas/lrexlib"; 984 description = "Regular expression library binding (PCRE flavour)."; 985 maintainers = with lib.maintainers; [ vyp ]; 986 license.fullName = "MIT/X11"; 987 }; 988}) {}; 989 990lrexlib-posix = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 991buildLuarocksPackage { 992 pname = "lrexlib-posix"; 993 version = "2.9.2-1"; 994 knownRockspec = (fetchurl { 995 url = "mirror://luarocks/lrexlib-posix-2.9.2-1.rockspec"; 996 sha256 = "1i11cdvz09a3wjhfjgc88g0mdmdrk13fnhhgskzgm5cmhsdx4s0i"; 997 }).outPath; 998 src = fetchFromGitHub { 999 owner = "rrthomas"; 1000 repo = "lrexlib"; 1001 rev = "rel-2-9-2"; 1002 hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; 1003 }; 1004 1005 disabled = luaOlder "5.1"; 1006 1007 meta = { 1008 homepage = "https://github.com/rrthomas/lrexlib"; 1009 description = "Regular expression library binding (POSIX flavour)."; 1010 license.fullName = "MIT/X11"; 1011 }; 1012}) {}; 1013 1014lua-cjson = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1015buildLuarocksPackage { 1016 pname = "lua-cjson"; 1017 version = "2.1.0.10-1"; 1018 knownRockspec = (fetchurl { 1019 url = "mirror://luarocks/lua-cjson-2.1.0.10-1.rockspec"; 1020 sha256 = "05sp7rq72x4kdkyid1ch0yyscwsi5wk85d2hj6xwssz3h8n8drdg"; 1021 }).outPath; 1022 src = fetchFromGitHub { 1023 owner = "openresty"; 1024 repo = "lua-cjson"; 1025 rev = "2.1.0.10"; 1026 hash = "sha256-/SeQro0FaJn91bAGjsVIin+mJF89VUm/G0KyJkV9Qps="; 1027 }; 1028 1029 disabled = luaOlder "5.1"; 1030 1031 meta = { 1032 homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php"; 1033 description = "A fast JSON encoding/parsing module"; 1034 license.fullName = "MIT"; 1035 }; 1036}) {}; 1037 1038lua-cmsgpack = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1039buildLuarocksPackage { 1040 pname = "lua-cmsgpack"; 1041 version = "0.4.0-0"; 1042 knownRockspec = (fetchurl { 1043 url = "mirror://luarocks/lua-cmsgpack-0.4.0-0.rockspec"; 1044 sha256 = "10cvr6knx3qvjcw1q9v05f2qy607mai7lbq321nx682aa0n1fzin"; 1045 }).outPath; 1046 src = fetchFromGitHub { 1047 owner = "antirez"; 1048 repo = "lua-cmsgpack"; 1049 rev = "0.4.0"; 1050 hash = "sha256-oGKX5G3uNGCJOaZpjLmIJYuq5HtdLd9xM/TlmxODCkg="; 1051 }; 1052 1053 disabled = luaOlder "5.1"; 1054 1055 meta = { 1056 homepage = "http://github.com/antirez/lua-cmsgpack"; 1057 description = "MessagePack C implementation and bindings for Lua 5.1/5.2/5.3"; 1058 license.fullName = "Two-clause BSD"; 1059 }; 1060}) {}; 1061 1062lua-curl = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: 1063buildLuarocksPackage { 1064 pname = "lua-curl"; 1065 version = "0.3.13-1"; 1066 knownRockspec = (fetchurl { 1067 url = "mirror://luarocks/lua-curl-0.3.13-1.rockspec"; 1068 sha256 = "0lz534sm35hxazf1w71hagiyfplhsvzr94i6qyv5chjfabrgbhjn"; 1069 }).outPath; 1070 src = fetchzip { 1071 url = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.13.zip"; 1072 sha256 = "0gn59bwrnb2mvl8i0ycr6m3jmlgx86xlr9mwnc85zfhj7zhi5anp"; 1073 }; 1074 1075 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 1076 1077 meta = { 1078 homepage = "https://github.com/Lua-cURL"; 1079 description = "Lua binding to libcurl"; 1080 license.fullName = "MIT/X11"; 1081 }; 1082}) {}; 1083 1084lua-ffi-zlib = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1085buildLuarocksPackage { 1086 pname = "lua-ffi-zlib"; 1087 version = "0.6-0"; 1088 knownRockspec = (fetchurl { 1089 url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lua-ffi-zlib-0.6-0.rockspec"; 1090 sha256 = "060sac715f1ris13fjv6gwqm0lk6by0a2zhldxd8hdrc0jss8p34"; 1091 }).outPath; 1092 src = fetchFromGitHub { 1093 owner = "hamishforbes"; 1094 repo = "lua-ffi-zlib"; 1095 rev = "v0.6"; 1096 hash = "sha256-l3zN6amZ6uUbOl7vt5XF+Uyz0nbDrYgcaQCWRFSN22Q="; 1097 }; 1098 1099 disabled = luaOlder "5.1"; 1100 1101 meta = { 1102 homepage = "https://github.com/hamishforbes/lua-ffi-zlib"; 1103 description = "A Lua module using LuaJIT's FFI feature to access zlib."; 1104 }; 1105}) {}; 1106 1107lua-iconv = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 1108buildLuarocksPackage { 1109 pname = "lua-iconv"; 1110 version = "7.0.0-4"; 1111 knownRockspec = (fetchurl { 1112 url = "mirror://luarocks/lua-iconv-7.0.0-4.rockspec"; 1113 sha256 = "0j34zf98wdr6ks6snsrqi00vwm3ngsa5f74kadsn178iw7hd8c3q"; 1114 }).outPath; 1115 src = fetchurl { 1116 url = "https://github.com/lunarmodules/lua-iconv/archive/v7.0.0/lua-iconv-7.0.0.tar.gz"; 1117 sha256 = "0arp0h342hpp4kfdxc69yxspziky4v7c13jbf12yrs8f1lnjzr0x"; 1118 }; 1119 1120 disabled = luaOlder "5.1"; 1121 1122 meta = { 1123 homepage = "https://github.com/lunarmodules/lua-iconv/"; 1124 description = "Lua binding to the iconv"; 1125 license.fullName = "MIT/X11"; 1126 }; 1127}) {}; 1128 1129lua-lsp = callPackage({ buildLuarocksPackage, dkjson, fetchFromGitHub, fetchurl, inspect, lpeglabel, luaAtLeast, luaOlder }: 1130buildLuarocksPackage { 1131 pname = "lua-lsp"; 1132 version = "0.1.0-2"; 1133 knownRockspec = (fetchurl { 1134 url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lua-lsp-0.1.0-2.rockspec"; 1135 sha256 = "19jsz00qlgbyims6cg8i40la7v8kr7zsxrrr3dg0kdg0i36xqs6c"; 1136 }).outPath; 1137 src = fetchFromGitHub { 1138 owner = "Alloyed"; 1139 repo = "lua-lsp"; 1140 rev = "v0.1.0"; 1141 hash = "sha256-Fy9d6ZS0R48dUpKpgJ9jRujQna5wsE3+StJ8GQyWY54="; 1142 }; 1143 1144 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 1145 propagatedBuildInputs = [ dkjson inspect lpeglabel ]; 1146 1147 meta = { 1148 homepage = "https://github.com/Alloyed/lua-lsp"; 1149 description = "A Language Server implementation for lua, the language"; 1150 license.fullName = "MIT"; 1151 }; 1152}) {}; 1153 1154lua-messagepack = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 1155buildLuarocksPackage { 1156 pname = "lua-messagepack"; 1157 version = "0.5.4-1"; 1158 knownRockspec = (fetchurl { 1159 url = "mirror://luarocks/lua-messagepack-0.5.4-1.rockspec"; 1160 sha256 = "1jygn6f8ab69z0nn1gib45wvjp075gzxp54vdmgxb3qfar0q70kr"; 1161 }).outPath; 1162 src = fetchurl { 1163 url = "https://framagit.org/fperrad/lua-MessagePack/raw/releases/lua-messagepack-0.5.4.tar.gz"; 1164 sha256 = "0kk1n9kf6wip8k2xx4wjlv7647biji2p86v4jf0h6d6wkaypq0kz"; 1165 }; 1166 1167 disabled = luaOlder "5.1"; 1168 1169 meta = { 1170 homepage = "https://fperrad.frama.io/lua-MessagePack/"; 1171 description = "a pure Lua implementation of the MessagePack serialization format"; 1172 license.fullName = "MIT/X11"; 1173 }; 1174}) {}; 1175 1176lua-protobuf = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1177buildLuarocksPackage { 1178 pname = "lua-protobuf"; 1179 version = "0.5.1-1"; 1180 knownRockspec = (fetchurl { 1181 url = "mirror://luarocks/lua-protobuf-0.5.1-1.rockspec"; 1182 sha256 = "1ljn0xwrhcr49k4fzrh0g1q13j16sa6h3wd5q62995q4jlrmnhja"; 1183 }).outPath; 1184 src = fetchFromGitHub { 1185 owner = "starwing"; 1186 repo = "lua-protobuf"; 1187 rev = "0.5.1"; 1188 hash = "sha256-Di4fahYlTFfJ2xM6KMs5BY44JV7IKBxxR345uk8X9W8="; 1189 }; 1190 1191 disabled = luaOlder "5.1"; 1192 1193 meta = { 1194 homepage = "https://github.com/starwing/lua-protobuf"; 1195 description = "protobuf data support for Lua"; 1196 maintainers = with lib.maintainers; [ lockejan ]; 1197 license.fullName = "MIT"; 1198 }; 1199}) {}; 1200 1201lua-resty-http = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1202buildLuarocksPackage { 1203 pname = "lua-resty-http"; 1204 version = "0.17.2-0"; 1205 knownRockspec = (fetchurl { 1206 url = "mirror://luarocks/lua-resty-http-0.17.2-0.rockspec"; 1207 sha256 = "10swbq779d1q794d17269v0ln26hblsk7kvxj9s60rx71skzql6s"; 1208 }).outPath; 1209 src = fetchFromGitHub { 1210 owner = "ledgetech"; 1211 repo = "lua-resty-http"; 1212 rev = "v0.17.2"; 1213 hash = "sha256-Ph3PpzQYKYMvPvjYwx4TeZ9RYoryMsO6mLpkAq/qlHY="; 1214 }; 1215 1216 disabled = luaOlder "5.1"; 1217 1218 meta = { 1219 homepage = "https://github.com/ledgetech/lua-resty-http"; 1220 description = "Lua HTTP client cosocket driver for OpenResty / ngx_lua."; 1221 license.fullName = "2-clause BSD"; 1222 }; 1223}) {}; 1224 1225lua-resty-jwt = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-resty-openssl, luaOlder }: 1226buildLuarocksPackage { 1227 pname = "lua-resty-jwt"; 1228 version = "0.2.3-0"; 1229 knownRockspec = (fetchurl { 1230 url = "mirror://luarocks/lua-resty-jwt-0.2.3-0.rockspec"; 1231 sha256 = "1fxdwfr4pna3fdfm85kin97n53caq73h807wjb59wpqiynbqzc8c"; 1232 }).outPath; 1233 src = fetchFromGitHub { 1234 owner = "cdbattags"; 1235 repo = "lua-resty-jwt"; 1236 rev = "v0.2.3"; 1237 hash = "sha256-m8UbvKk2DR8yCYX9Uv5HjXcZDVyVeRlUKp7UiaN/SkA="; 1238 }; 1239 1240 disabled = luaOlder "5.1"; 1241 propagatedBuildInputs = [ lua-resty-openssl ]; 1242 1243 meta = { 1244 homepage = "https://github.com/cdbattags/lua-resty-jwt"; 1245 description = "JWT for ngx_lua and LuaJIT."; 1246 license.fullName = "Apache License Version 2"; 1247 }; 1248}) {}; 1249 1250lua-resty-openidc = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-resty-http, lua-resty-jwt, lua-resty-session, luaOlder }: 1251buildLuarocksPackage { 1252 pname = "lua-resty-openidc"; 1253 version = "1.7.6-3"; 1254 knownRockspec = (fetchurl { 1255 url = "mirror://luarocks/lua-resty-openidc-1.7.6-3.rockspec"; 1256 sha256 = "08nq24kxw51xiyyp5jailyqjfsgz4m4fzy4hb7g3fv76vcsf8msp"; 1257 }).outPath; 1258 src = fetchFromGitHub { 1259 owner = "zmartzone"; 1260 repo = "lua-resty-openidc"; 1261 rev = "v1.7.6"; 1262 hash = "sha256-1yBmYuFlF/RdOz9csteaqsEEUxVWdwE6IMgS5M9PsJU="; 1263 }; 1264 1265 disabled = luaOlder "5.1"; 1266 propagatedBuildInputs = [ lua-resty-http lua-resty-jwt lua-resty-session ]; 1267 1268 meta = { 1269 homepage = "https://github.com/zmartzone/lua-resty-openidc"; 1270 description = "A library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality"; 1271 license.fullName = "Apache 2.0"; 1272 }; 1273}) {}; 1274 1275lua-resty-openssl = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }: 1276buildLuarocksPackage { 1277 pname = "lua-resty-openssl"; 1278 version = "1.3.1-1"; 1279 knownRockspec = (fetchurl { 1280 url = "mirror://luarocks/lua-resty-openssl-1.3.1-1.rockspec"; 1281 sha256 = "1rqsmsnnnz78yb0x2xf7764l3rk54ngk3adm6an4g7dm5kryv33f"; 1282 }).outPath; 1283 src = fetchFromGitHub { 1284 owner = "fffonion"; 1285 repo = "lua-resty-openssl"; 1286 rev = "1.3.1"; 1287 hash = "sha256-4h6oIdiMyW9enJToUBtRuUdnKSyWuFFxIDvj4dFRKDs="; 1288 }; 1289 1290 1291 meta = { 1292 homepage = "https://github.com/fffonion/lua-resty-openssl"; 1293 description = "No summary"; 1294 license.fullName = "BSD"; 1295 }; 1296}) {}; 1297 1298lua-resty-session = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-ffi-zlib, lua-resty-openssl, luaOlder }: 1299buildLuarocksPackage { 1300 pname = "lua-resty-session"; 1301 version = "4.0.5-1"; 1302 knownRockspec = (fetchurl { 1303 url = "mirror://luarocks/lua-resty-session-4.0.5-1.rockspec"; 1304 sha256 = "0h0kqwna46mrraq310qjb7yigxwv13n4czk24xnqr21czxsskzkg"; 1305 }).outPath; 1306 src = fetchFromGitHub { 1307 owner = "bungle"; 1308 repo = "lua-resty-session"; 1309 rev = "v4.0.5"; 1310 hash = "sha256-n0m6/4JnUPoidM7oWKd+ZyNbb/X/h8w21ptCrFaA8SI="; 1311 }; 1312 1313 disabled = luaOlder "5.1"; 1314 propagatedBuildInputs = [ lua-ffi-zlib lua-resty-openssl ]; 1315 1316 meta = { 1317 homepage = "https://github.com/bungle/lua-resty-session"; 1318 description = "Session Library for OpenResty - Flexible and Secure"; 1319 license.fullName = "BSD"; 1320 }; 1321}) {}; 1322 1323lua-rtoml = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaOlder, luarocks-build-rust-mlua }: 1324buildLuarocksPackage { 1325 pname = "lua-rtoml"; 1326 version = "0.2-0"; 1327 1328 src = fetchFromGitHub { 1329 owner = "lblasc"; 1330 repo = "lua-rtoml"; 1331 rev = "c83f56b9519d85968d663308e303f384c55c7b18"; 1332 hash = "sha256-PRoaUQSSvzl9VFK+aGHbJqCW37AsO+oFXNYgM0OdIoY="; 1333 }; 1334 1335 disabled = luaOlder "5.1"; 1336 propagatedBuildInputs = [ luarocks-build-rust-mlua ]; 1337 1338 meta = { 1339 homepage = "https://github.com/lblasc/lua-rtoml"; 1340 description = "Lua bindings for the Rust toml crate."; 1341 maintainers = with lib.maintainers; [ lblasc ]; 1342 license.fullName = "MIT"; 1343 }; 1344}) {}; 1345 1346lua-subprocess = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaOlder }: 1347buildLuarocksPackage { 1348 pname = "subprocess"; 1349 version = "scm-1"; 1350 1351 src = fetchFromGitHub { 1352 owner = "0x0ade"; 1353 repo = "lua-subprocess"; 1354 rev = "bfa8e97da774141f301cfd1106dca53a30a4de54"; 1355 hash = "sha256-4LiYWB3PAQ/s33Yj/gwC+Ef1vGe5FedWexeCBVSDIV0="; 1356 }; 1357 1358 disabled = luaOlder "5.1"; 1359 1360 meta = { 1361 homepage = "https://github.com/xlq/lua-subprocess"; 1362 description = "A Lua module written in C that allows you to create child processes and communicate with them."; 1363 maintainers = with lib.maintainers; [ scoder12 ]; 1364 license.fullName = "MIT"; 1365 }; 1366}) {}; 1367 1368lua-term = callPackage({ buildLuarocksPackage, fetchurl }: 1369buildLuarocksPackage { 1370 pname = "lua-term"; 1371 version = "0.8-1"; 1372 knownRockspec = (fetchurl { 1373 url = "mirror://luarocks/lua-term-0.8-1.rockspec"; 1374 sha256 = "1728lj3x8shc5m1yczrl75szq15rnfpzk36n0m49181ly9wxn7s0"; 1375 }).outPath; 1376 src = fetchurl { 1377 url = "https://github.com/hoelzro/lua-term/archive/0.08.tar.gz"; 1378 sha256 = "1vfdg5dzqdi3gn6wpc9a3djhsl6fn2ikqdwr8rrqrnd91qwlzycg"; 1379 }; 1380 1381 1382 meta = { 1383 homepage = "https://github.com/hoelzro/lua-term"; 1384 description = "Terminal functions for Lua"; 1385 license.fullName = "MIT/X11"; 1386 }; 1387}) {}; 1388 1389lua-toml = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1390buildLuarocksPackage { 1391 pname = "lua-toml"; 1392 version = "2.0-1"; 1393 knownRockspec = (fetchurl { 1394 url = "mirror://luarocks/lua-toml-2.0-1.rockspec"; 1395 sha256 = "0zd3hrj1ifq89rjby3yn9y96vk20ablljvqdap981navzlbb7zvq"; 1396 }).outPath; 1397 src = fetchFromGitHub { 1398 owner = "jonstoler"; 1399 repo = "lua-toml"; 1400 rev = "v2.0.1"; 1401 hash = "sha256-6wCo06Ulmx6HVN2bTrklPqgGiEhDZ1fUfusdS/SDdFI="; 1402 }; 1403 1404 disabled = luaOlder "5.1"; 1405 1406 meta = { 1407 homepage = "https://github.com/jonstoler/lua-toml"; 1408 description = "toml decoder/encoder for Lua"; 1409 license.fullName = "MIT"; 1410 }; 1411}) {}; 1412 1413lua-utils-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 1414buildLuarocksPackage { 1415 pname = "lua-utils.nvim"; 1416 version = "1.0.2-1"; 1417 knownRockspec = (fetchurl { 1418 url = "mirror://luarocks/lua-utils.nvim-1.0.2-1.rockspec"; 1419 sha256 = "0s11j4vd26haz72rb0c5m5h953292rh8r62mvlxbss6i69v2dkr9"; 1420 }).outPath; 1421 src = fetchzip { 1422 url = "https://github.com/nvim-neorg/lua-utils.nvim/archive/v1.0.2.zip"; 1423 sha256 = "0bnl2kvxs55l8cjhfpa834bm010n8r4gmsmivjcp548c076msagn"; 1424 }; 1425 1426 disabled = luaOlder "5.1"; 1427 1428 meta = { 1429 homepage = "https://github.com/nvim-neorg/lua-utils.nvim"; 1430 description = "A set of utility functions for Neovim plugins."; 1431 maintainers = with lib.maintainers; [ mrcjkb ]; 1432 license.fullName = "MIT"; 1433 }; 1434}) {}; 1435 1436lua-yajl = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1437buildLuarocksPackage { 1438 pname = "lua-yajl"; 1439 version = "2.0-1"; 1440 knownRockspec = (fetchurl { 1441 url = "mirror://luarocks/lua-yajl-2.0-1.rockspec"; 1442 sha256 = "0h600zgq5qc9z3cid1kr35q3qb98alg0m3qf0a3mfj33hya6pcxp"; 1443 }).outPath; 1444 src = fetchFromGitHub { 1445 owner = "brimworks"; 1446 repo = "lua-yajl"; 1447 rev = "v2.0"; 1448 hash = "sha256-/UhdjTUzd5ZsQG3CaS6i0cYOgkLR4TJCUAcw5yYhYEI="; 1449 }; 1450 1451 disabled = luaOlder "5.1"; 1452 1453 meta = { 1454 homepage = "http://github.com/brimworks/lua-yajl"; 1455 description = "Integrate the yajl JSON library with Lua."; 1456 maintainers = with lib.maintainers; [ pstn ]; 1457 license.fullName = "MIT/X11"; 1458 }; 1459}) {}; 1460 1461lua-zlib = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1462buildLuarocksPackage { 1463 pname = "lua-zlib"; 1464 version = "1.2-2"; 1465 knownRockspec = (fetchurl { 1466 url = "mirror://luarocks/lua-zlib-1.2-2.rockspec"; 1467 sha256 = "1ycjy59w6rkhasqqbiyra0f1sj87fswcz25zwxy4gyv7rrwy5hxd"; 1468 }).outPath; 1469 src = fetchFromGitHub { 1470 owner = "brimworks"; 1471 repo = "lua-zlib"; 1472 rev = "v1.2"; 1473 hash = "sha256-3gDYO4KcGUmcJFV22NDXWrFDwHNmPvMp++iXrz+QbC0="; 1474 }; 1475 1476 disabled = luaOlder "5.1"; 1477 1478 meta = { 1479 homepage = "https://github.com/brimworks/lua-zlib"; 1480 description = "Simple streaming interface to zlib for Lua."; 1481 maintainers = with lib.maintainers; [ koral ]; 1482 license.fullName = "MIT"; 1483 }; 1484}) {}; 1485 1486lua_cliargs = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1487buildLuarocksPackage { 1488 pname = "lua_cliargs"; 1489 version = "3.0.2-1"; 1490 knownRockspec = (fetchurl { 1491 url = "mirror://luarocks/lua_cliargs-3.0.2-1.rockspec"; 1492 sha256 = "1gp3n9ipaqdk59ilqx1ci5faxmx4dh9sgg3279jb8yfa7wg5b8pf"; 1493 }).outPath; 1494 src = fetchFromGitHub { 1495 owner = "lunarmodules"; 1496 repo = "lua_cliargs"; 1497 rev = "v3.0.2"; 1498 hash = "sha256-wL3qBQ8Lu3q8DK2Kaeo1dgzIHd8evaxFYJg47CcQiSg="; 1499 }; 1500 1501 disabled = luaOlder "5.1"; 1502 1503 meta = { 1504 homepage = "https://github.com/lunarmodules/lua_cliargs.git"; 1505 description = "A command-line argument parsing module for Lua"; 1506 license.fullName = "MIT"; 1507 }; 1508}) {}; 1509 1510luabitop = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaAtLeast, luaOlder }: 1511buildLuarocksPackage { 1512 pname = "luabitop"; 1513 version = "1.0.2-3"; 1514 1515 src = fetchFromGitHub { 1516 owner = "teto"; 1517 repo = "luabitop"; 1518 rev = "96f0a3d73ae5183d0a81bc2f29326eaa06becbfd"; 1519 hash = "sha256-PrM8ncb3TaqgVhFdRa+rUsJ5WuIzS4/DRqVqj8tCaeg="; 1520 }; 1521 1522 disabled = luaOlder "5.1" || luaAtLeast "5.3"; 1523 1524 meta = { 1525 homepage = "http://bitop.luajit.org/"; 1526 description = "Lua Bit Operations Module"; 1527 license.fullName = "MIT/X license"; 1528 }; 1529}) {}; 1530 1531luacheck = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luafilesystem }: 1532buildLuarocksPackage { 1533 pname = "luacheck"; 1534 version = "1.1.2-1"; 1535 knownRockspec = (fetchurl { 1536 url = "mirror://luarocks/luacheck-1.1.2-1.rockspec"; 1537 sha256 = "11p7kf7v1b5rhi3m57g2zqwzmnnp79v76gh13b0fg2c78ljkq1k9"; 1538 }).outPath; 1539 src = fetchFromGitHub { 1540 owner = "lunarmodules"; 1541 repo = "luacheck"; 1542 rev = "v1.1.2"; 1543 hash = "sha256-AUEHRuldlnuxBWGRzcbjM4zu5IBGfbNEUakPmpS4VIo="; 1544 }; 1545 1546 disabled = luaOlder "5.1"; 1547 propagatedBuildInputs = [ argparse luafilesystem ]; 1548 1549 meta = { 1550 homepage = "https://github.com/lunarmodules/luacheck"; 1551 description = "A static analyzer and a linter for Lua"; 1552 license.fullName = "MIT"; 1553 }; 1554}) {}; 1555 1556luacov = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: 1557buildLuarocksPackage { 1558 pname = "luacov"; 1559 version = "0.15.0-1"; 1560 knownRockspec = (fetchurl { 1561 url = "mirror://luarocks/luacov-0.15.0-1.rockspec"; 1562 sha256 = "18byfl23c73pazi60hsx0vd74hqq80mzixab76j36cyn8k4ni9db"; 1563 }).outPath; 1564 src = fetchFromGitHub { 1565 owner = "keplerproject"; 1566 repo = "luacov"; 1567 rev = "v0.15.0"; 1568 hash = "sha256-cZrsxQyW5Z13cguTzsdJyIMATJUw6GasLItho6wFpSA="; 1569 }; 1570 1571 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 1572 1573 meta = { 1574 homepage = "https://keplerproject.github.io/luacov/"; 1575 description = "Coverage analysis tool for Lua scripts"; 1576 license.fullName = "MIT"; 1577 }; 1578}) {}; 1579 1580luadbi = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: 1581buildLuarocksPackage { 1582 pname = "luadbi"; 1583 version = "0.7.3-1"; 1584 knownRockspec = (fetchurl { 1585 url = "mirror://luarocks/luadbi-0.7.3-1.rockspec"; 1586 sha256 = "0lyiwyg6qnnj7d5rxim6b9p68nbszmwhg57xjlvalbcgwgipk1ns"; 1587 }).outPath; 1588 src = fetchFromGitHub { 1589 owner = "mwild1"; 1590 repo = "luadbi"; 1591 rev = "v0.7.3"; 1592 hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I="; 1593 }; 1594 1595 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 1596 1597 meta = { 1598 homepage = "https://github.com/mwild1/luadbi"; 1599 description = "Database abstraction layer"; 1600 license.fullName = "MIT/X11"; 1601 }; 1602}) {}; 1603 1604luadbi-mysql = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder, luadbi }: 1605buildLuarocksPackage { 1606 pname = "luadbi-mysql"; 1607 version = "0.7.3-1"; 1608 knownRockspec = (fetchurl { 1609 url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luadbi-mysql-0.7.3-1.rockspec"; 1610 sha256 = "1x0pl6qpdi4vmhxs2076kkxmikbv0asndh8lp34r47lym37hcrr3"; 1611 }).outPath; 1612 src = fetchFromGitHub { 1613 owner = "mwild1"; 1614 repo = "luadbi"; 1615 rev = "v0.7.3"; 1616 hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I="; 1617 }; 1618 1619 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 1620 propagatedBuildInputs = [ luadbi ]; 1621 1622 meta = { 1623 homepage = "https://github.com/mwild1/luadbi"; 1624 description = "Database abstraction layer"; 1625 license.fullName = "MIT/X11"; 1626 }; 1627}) {}; 1628 1629luadbi-postgresql = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder, luadbi }: 1630buildLuarocksPackage { 1631 pname = "luadbi-postgresql"; 1632 version = "0.7.3-1"; 1633 knownRockspec = (fetchurl { 1634 url = "mirror://luarocks/luadbi-postgresql-0.7.3-1.rockspec"; 1635 sha256 = "1bnjsgk7cl6wmfhmn8b0av49yabf8flhdi1jhczksvvpf32p77bw"; 1636 }).outPath; 1637 src = fetchFromGitHub { 1638 owner = "mwild1"; 1639 repo = "luadbi"; 1640 rev = "v0.7.3"; 1641 hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I="; 1642 }; 1643 1644 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 1645 propagatedBuildInputs = [ luadbi ]; 1646 1647 meta = { 1648 homepage = "https://github.com/mwild1/luadbi"; 1649 description = "Database abstraction layer"; 1650 license.fullName = "MIT/X11"; 1651 }; 1652}) {}; 1653 1654luadbi-sqlite3 = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder, luadbi }: 1655buildLuarocksPackage { 1656 pname = "luadbi-sqlite3"; 1657 version = "0.7.3-1"; 1658 knownRockspec = (fetchurl { 1659 url = "mirror://luarocks/luadbi-sqlite3-0.7.3-1.rockspec"; 1660 sha256 = "0ppkk1jkxw2fhc4x26h7h2bks51shl3am552phn7all5h3k7h3by"; 1661 }).outPath; 1662 src = fetchFromGitHub { 1663 owner = "mwild1"; 1664 repo = "luadbi"; 1665 rev = "v0.7.3"; 1666 hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I="; 1667 }; 1668 1669 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 1670 propagatedBuildInputs = [ luadbi ]; 1671 1672 meta = { 1673 homepage = "https://github.com/mwild1/luadbi"; 1674 description = "Database abstraction layer"; 1675 license.fullName = "MIT/X11"; 1676 }; 1677}) {}; 1678 1679luaepnf = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lpeg, luaAtLeast, luaOlder }: 1680buildLuarocksPackage { 1681 pname = "luaepnf"; 1682 version = "0.3-2"; 1683 knownRockspec = (fetchurl { 1684 url = "mirror://luarocks/luaepnf-0.3-2.rockspec"; 1685 sha256 = "0kqmnj11wmfpc9mz04zzq8ab4mnbkrhcgc525wrq6pgl3p5li8aa"; 1686 }).outPath; 1687 src = fetchFromGitHub { 1688 owner = "siffiejoe"; 1689 repo = "lua-luaepnf"; 1690 rev = "v0.3"; 1691 hash = "sha256-iZksr6Ljy94D0VO4xSRO9s/VgcURvCfDMX9DOt2IetM="; 1692 }; 1693 1694 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 1695 propagatedBuildInputs = [ lpeg ]; 1696 1697 meta = { 1698 homepage = "http://siffiejoe.github.io/lua-luaepnf/"; 1699 description = "Extended PEG Notation Format (easy grammars for LPeg)"; 1700 license.fullName = "MIT"; 1701 }; 1702}) {}; 1703 1704luaevent = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 1705buildLuarocksPackage { 1706 pname = "luaevent"; 1707 version = "0.4.6-1"; 1708 knownRockspec = (fetchurl { 1709 url = "mirror://luarocks/luaevent-0.4.6-1.rockspec"; 1710 sha256 = "03zixadhx4a7nh67n0sm6sy97c8i9va1a78hibhrl7cfbqc2zc7f"; 1711 }).outPath; 1712 src = fetchurl { 1713 url = "https://github.com/harningt/luaevent/archive/v0.4.6.tar.gz"; 1714 sha256 = "0pbh315d3p7hxgzmbhphkcldxv2dadbka96131b8j5914nxvl4nx"; 1715 }; 1716 1717 disabled = luaOlder "5.1"; 1718 1719 meta = { 1720 homepage = "https://github.com/harningt/luaevent"; 1721 description = "libevent binding for Lua"; 1722 license.fullName = "MIT"; 1723 }; 1724}) {}; 1725 1726luaexpat = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1727buildLuarocksPackage { 1728 pname = "luaexpat"; 1729 version = "1.4.1-1"; 1730 knownRockspec = (fetchurl { 1731 url = "mirror://luarocks/luaexpat-1.4.1-1.rockspec"; 1732 sha256 = "1abwd385x7wnza7qqz5s4aj6m2l1c23pjmbgnpq73q0s17pn1h0c"; 1733 }).outPath; 1734 src = fetchFromGitHub { 1735 owner = "lunarmodules"; 1736 repo = "luaexpat"; 1737 rev = "1.4.1"; 1738 hash = "sha256-SnI+a7555R/EFFdnrvJohP6uzwQiMNQPqgp0jxAI178="; 1739 }; 1740 1741 disabled = luaOlder "5.1"; 1742 1743 meta = { 1744 homepage = "https://lunarmodules.github.io/luaexpat"; 1745 description = "XML Expat parsing"; 1746 maintainers = with lib.maintainers; [ arobyn flosse ]; 1747 license.fullName = "MIT/X11"; 1748 }; 1749}) {}; 1750 1751luaffi = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1752buildLuarocksPackage { 1753 pname = "luaffi"; 1754 version = "scm-1"; 1755 knownRockspec = (fetchurl { 1756 url = "mirror://luarocks/luaffi-scm-1.rockspec"; 1757 sha256 = "1nia0g4n1yv1sbv5np572y8yfai56a8bnscir807s5kj5bs0xhxm"; 1758 }).outPath; 1759 src = fetchFromGitHub { 1760 owner = "facebook"; 1761 repo = "luaffifb"; 1762 rev = "a1cb731b08c91643b0665935eb5622b3d621211b"; 1763 hash = "sha256-wRjAtEEy8KSlIoi/IIutL73Vbm1r+zKs26dEP7gzR1o="; 1764 }; 1765 1766 disabled = luaOlder "5.1"; 1767 1768 meta = { 1769 homepage = "https://github.com/facebook/luaffifb"; 1770 description = "FFI library for calling C functions from lua"; 1771 license.fullName = "BSD"; 1772 }; 1773}) {}; 1774 1775luafilesystem = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1776buildLuarocksPackage { 1777 pname = "luafilesystem"; 1778 version = "1.8.0-1"; 1779 knownRockspec = (fetchurl { 1780 url = "mirror://luarocks/luafilesystem-1.8.0-1.rockspec"; 1781 sha256 = "18nkaks0b75dmycljg5vljap5w8d0ysdkg96yl5szgzr7nzrymfa"; 1782 }).outPath; 1783 src = fetchFromGitHub { 1784 owner = "keplerproject"; 1785 repo = "luafilesystem"; 1786 rev = "v1_8_0"; 1787 hash = "sha256-pEA+Z1pkykWLTT6NHQ5lo8roOh2P0fiHtnK+byTkF5o="; 1788 }; 1789 1790 disabled = luaOlder "5.1"; 1791 1792 meta = { 1793 homepage = "https://github.com/keplerproject/luafilesystem"; 1794 description = "File System Library for the Lua Programming Language"; 1795 maintainers = with lib.maintainers; [ flosse ]; 1796 license.fullName = "MIT/X11"; 1797 }; 1798}) {}; 1799 1800lualdap = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 1801buildLuarocksPackage { 1802 pname = "lualdap"; 1803 version = "1.4.0-1"; 1804 knownRockspec = (fetchurl { 1805 url = "mirror://luarocks/lualdap-1.4.0-1.rockspec"; 1806 sha256 = "0n924gxm6ccr9hjk4bi5z70vgh7g75dl7293pab41a2qcrlsj9nk"; 1807 }).outPath; 1808 src = fetchFromGitHub { 1809 owner = "lualdap"; 1810 repo = "lualdap"; 1811 rev = "v1.4.0"; 1812 hash = "sha256-u91T7RlRa87CbYXZLhrzcpVvZWsCnQObmbS86kfsAHc="; 1813 }; 1814 1815 disabled = luaOlder "5.1"; 1816 1817 meta = { 1818 homepage = "https://lualdap.github.io/lualdap/"; 1819 description = "A Lua interface to the OpenLDAP library"; 1820 maintainers = with lib.maintainers; [ aanderse ]; 1821 license.fullName = "MIT"; 1822 }; 1823}) {}; 1824 1825lualogging = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luasocket }: 1826buildLuarocksPackage { 1827 pname = "lualogging"; 1828 version = "1.8.2-1"; 1829 knownRockspec = (fetchurl { 1830 url = "mirror://luarocks/lualogging-1.8.2-1.rockspec"; 1831 sha256 = "164c4xgwkv2ya8fbb22wm48ywc4gx939b574r6bgl8zqayffdqmx"; 1832 }).outPath; 1833 src = fetchFromGitHub { 1834 owner = "lunarmodules"; 1835 repo = "lualogging"; 1836 rev = "v1.8.2"; 1837 hash = "sha256-RIblf2C9H6Iajzc9aqnvrK4xq8FAHq9InTO6m3aM5dc="; 1838 }; 1839 1840 propagatedBuildInputs = [ luasocket ]; 1841 1842 meta = { 1843 homepage = "https://github.com/lunarmodules/lualogging"; 1844 description = "A simple API to use logging features"; 1845 license.fullName = "MIT/X11"; 1846 }; 1847}) {}; 1848 1849luaossl = callPackage({ buildLuarocksPackage, fetchurl, fetchzip }: 1850buildLuarocksPackage { 1851 pname = "luaossl"; 1852 version = "20220711-0"; 1853 knownRockspec = (fetchurl { 1854 url = "mirror://luarocks/luaossl-20220711-0.rockspec"; 1855 sha256 = "0b68kvfz587ilmb5c1p7920kysg9q4m4fl4cz4d93jl3270mzh8y"; 1856 }).outPath; 1857 src = fetchzip { 1858 url = "https://github.com/wahern/luaossl/archive/rel-20220711.zip"; 1859 sha256 = "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb"; 1860 }; 1861 1862 1863 meta = { 1864 homepage = "http://25thandclement.com/~william/projects/luaossl.html"; 1865 description = "Most comprehensive OpenSSL module in the Lua universe."; 1866 license.fullName = "MIT/X11"; 1867 }; 1868}) {}; 1869 1870luaposix = callPackage({ bit32, buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: 1871buildLuarocksPackage { 1872 pname = "luaposix"; 1873 version = "34.1.1-1"; 1874 knownRockspec = (fetchurl { 1875 url = "mirror://luarocks/luaposix-34.1.1-1.rockspec"; 1876 sha256 = "0hx6my54axjcb3bklr991wji374qq6mwa3ily6dvb72vi2534nwz"; 1877 }).outPath; 1878 src = fetchzip { 1879 url = "http://github.com/luaposix/luaposix/archive/v34.1.1.zip"; 1880 sha256 = "0863r8c69yx92lalj174qdhavqmcs2cdimjim6k55qj9yn78v9zl"; 1881 }; 1882 1883 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 1884 propagatedBuildInputs = [ bit32 ]; 1885 1886 meta = { 1887 homepage = "http://github.com/luaposix/luaposix/"; 1888 description = "Lua bindings for POSIX"; 1889 maintainers = with lib.maintainers; [ vyp lblasc ]; 1890 license.fullName = "MIT/X11"; 1891 }; 1892}) {}; 1893 1894luarepl = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 1895buildLuarocksPackage { 1896 pname = "luarepl"; 1897 version = "0.10-1"; 1898 knownRockspec = (fetchurl { 1899 url = "mirror://luarocks/luarepl-0.10-1.rockspec"; 1900 sha256 = "12zdljfs4wg55mj7a38iwg7p5i1pmc934v9qlpi61sw4brp6x8d3"; 1901 }).outPath; 1902 src = fetchurl { 1903 url = "https://github.com/hoelzro/lua-repl/archive/0.10.tar.gz"; 1904 sha256 = "0wv37h9w6y5pgr39m7yxbf8imkwvaila6rnwjcp0xsxl5c1rzfjm"; 1905 }; 1906 1907 disabled = luaOlder "5.1"; 1908 1909 meta = { 1910 homepage = "https://github.com/hoelzro/lua-repl"; 1911 description = "A reusable REPL component for Lua, written in Lua"; 1912 license.fullName = "MIT/X11"; 1913 }; 1914}) {}; 1915 1916luarocks-build-rust-mlua = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }: 1917buildLuarocksPackage { 1918 pname = "luarocks-build-rust-mlua"; 1919 version = "0.2.0-1"; 1920 knownRockspec = (fetchurl { 1921 url = "mirror://luarocks/luarocks-build-rust-mlua-0.2.0-1.rockspec"; 1922 sha256 = "0mpxj2wpzgqffic1j6agisaawbfhh16gis29x6y60kyjq446mv0z"; 1923 }).outPath; 1924 src = fetchFromGitHub { 1925 owner = "khvzak"; 1926 repo = "luarocks-build-rust-mlua"; 1927 rev = "0.2.0"; 1928 hash = "sha256-f6trXv2/gzbitLXwHHrZnowEA/V5Yjb3Q9YlYr+9NBw="; 1929 }; 1930 1931 1932 meta = { 1933 homepage = "https://github.com/khvzak/luarocks-build-rust-mlua"; 1934 description = "A LuaRocks build backend for Lua modules written in Rust using mlua"; 1935 maintainers = with lib.maintainers; [ mrcjkb ]; 1936 license.fullName = "MIT"; 1937 }; 1938}) {}; 1939 1940luarocks-build-treesitter-parser = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, luafilesystem }: 1941buildLuarocksPackage { 1942 pname = "luarocks-build-treesitter-parser"; 1943 version = "2.0.0-1"; 1944 knownRockspec = (fetchurl { 1945 url = "mirror://luarocks/luarocks-build-treesitter-parser-2.0.0-1.rockspec"; 1946 sha256 = "0ylax1r0yl5k742p8n0fq5irs2r632npigqp1qckfx7kwi89gxhb"; 1947 }).outPath; 1948 src = fetchzip { 1949 url = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser/archive/v2.0.0.zip"; 1950 sha256 = "0gqiwk7dk1xn5n2m0iq5c7xkrgyaxwyd1spb573l289gprvlrbn5"; 1951 }; 1952 1953 disabled = (luaOlder "5.1"); 1954 propagatedBuildInputs = [ lua luafilesystem ]; 1955 1956 meta = { 1957 homepage = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser"; 1958 description = "A luarocks build backend for tree-sitter parsers."; 1959 maintainers = with lib.maintainers; [ mrcjkb ]; 1960 license.fullName = "MIT"; 1961 }; 1962}) {}; 1963 1964luasec = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luasocket }: 1965buildLuarocksPackage { 1966 pname = "luasec"; 1967 version = "1.3.2-1"; 1968 knownRockspec = (fetchurl { 1969 url = "mirror://luarocks/luasec-1.3.2-1.rockspec"; 1970 sha256 = "09nqs60cmbq1bi70cdh7v5xjnlsm2mrxv9pmbbvczijvz184jh33"; 1971 }).outPath; 1972 src = fetchFromGitHub { 1973 owner = "brunoos"; 1974 repo = "luasec"; 1975 rev = "v1.3.2"; 1976 hash = "sha256-o3uiZQnn/ID1qAgpZAqA4R3fWWk+Ajcgx++iNu1yLWc="; 1977 }; 1978 1979 disabled = luaOlder "5.1"; 1980 propagatedBuildInputs = [ luasocket ]; 1981 1982 meta = { 1983 homepage = "https://github.com/brunoos/luasec/wiki"; 1984 description = "A binding for OpenSSL library to provide TLS/SSL communication over LuaSocket."; 1985 maintainers = with lib.maintainers; [ flosse ]; 1986 license.fullName = "MIT"; 1987 }; 1988}) {}; 1989 1990luasnip = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, jsregexp, luaOlder }: 1991buildLuarocksPackage { 1992 pname = "luasnip"; 1993 version = "2.3.0-1"; 1994 knownRockspec = (fetchurl { 1995 url = "mirror://luarocks/luasnip-2.3.0-1.rockspec"; 1996 sha256 = "022srpvwwbms8i97mdhkwq0yg0pfjm7a6673iyf7cr1xj15pq23v"; 1997 }).outPath; 1998 src = fetchzip { 1999 url = "https://github.com/L3MON4D3/LuaSnip/archive/v2.3.0.zip"; 2000 sha256 = "0bbackpym8k11gm32iwwzqjnqanpralanfjkl4lrs33xl7lsylqk"; 2001 }; 2002 2003 disabled = luaOlder "5.1"; 2004 propagatedBuildInputs = [ jsregexp ]; 2005 2006 meta = { 2007 homepage = "https://github.com/L3MON4D3/LuaSnip"; 2008 description = "Snippet Engine for Neovim written in Lua."; 2009 license.fullName = "Apache-2.0"; 2010 }; 2011}) {}; 2012 2013luasocket = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 2014buildLuarocksPackage { 2015 pname = "luasocket"; 2016 version = "3.1.0-1"; 2017 knownRockspec = (fetchurl { 2018 url = "mirror://luarocks/luasocket-3.1.0-1.rockspec"; 2019 sha256 = "0wg9735cyz2gj7r9za8yi83w765g0f4pahnny7h0pdpx58pgfx4r"; 2020 }).outPath; 2021 src = fetchFromGitHub { 2022 owner = "lunarmodules"; 2023 repo = "luasocket"; 2024 rev = "v3.1.0"; 2025 hash = "sha256-sKSzCrQpS+9reN9IZ4wkh4dB50wiIfA87xN4u1lyHo4="; 2026 }; 2027 2028 disabled = luaOlder "5.1"; 2029 2030 meta = { 2031 homepage = "https://github.com/lunarmodules/luasocket"; 2032 description = "Network support for the Lua language"; 2033 license.fullName = "MIT"; 2034 }; 2035}) {}; 2036 2037luasql-sqlite3 = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 2038buildLuarocksPackage { 2039 pname = "luasql-sqlite3"; 2040 version = "2.6.1-3"; 2041 knownRockspec = (fetchurl { 2042 url = "mirror://luarocks/luasql-sqlite3-2.6.1-3.rockspec"; 2043 sha256 = "1qf8cx4cmsngwp65ksdsf5dsv6yhb4qwdrd2lkpyqaq6p55jfkyb"; 2044 }).outPath; 2045 src = fetchFromGitHub { 2046 owner = "lunarmodules"; 2047 repo = "luasql"; 2048 rev = "2.6.0"; 2049 hash = "sha256-bRddE9K9f6TFBD2nY5kkS0BzXilfUP7Z358QLPfna+I="; 2050 }; 2051 2052 disabled = luaOlder "5.1"; 2053 2054 meta = { 2055 homepage = "https://lunarmodules.github.io/luasql/"; 2056 description = "Database connectivity for Lua (SQLite3 driver)"; 2057 maintainers = with lib.maintainers; [ vyp ]; 2058 license.fullName = "MIT/X11"; 2059 }; 2060}) {}; 2061 2062luassert = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, say }: 2063buildLuarocksPackage { 2064 pname = "luassert"; 2065 version = "1.9.0-1"; 2066 knownRockspec = (fetchurl { 2067 url = "mirror://luarocks/luassert-1.9.0-1.rockspec"; 2068 sha256 = "1bkzr03190p33lprgy51nl84aq082fyc3f7s3wkk7zlay4byycxd"; 2069 }).outPath; 2070 src = fetchFromGitHub { 2071 owner = "lunarmodules"; 2072 repo = "luassert"; 2073 rev = "v1.9.0"; 2074 hash = "sha256-jjdB95Vr5iVsh5T7E84WwZMW6/5H2k2R/ny2VBs2l3I="; 2075 }; 2076 2077 disabled = luaOlder "5.1"; 2078 propagatedBuildInputs = [ say ]; 2079 2080 meta = { 2081 homepage = "https://lunarmodules.github.io/busted/"; 2082 description = "Lua assertions extension"; 2083 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 2084 }; 2085}) {}; 2086 2087luasystem = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 2088buildLuarocksPackage { 2089 pname = "luasystem"; 2090 version = "0.3.0-2"; 2091 knownRockspec = (fetchurl { 2092 url = "mirror://luarocks/luasystem-0.3.0-2.rockspec"; 2093 sha256 = "02kwkcwf81v6ncxl1ng2pxlhalz78q2476snh5xxv3wnwqwbp10a"; 2094 }).outPath; 2095 src = fetchFromGitHub { 2096 owner = "lunarmodules"; 2097 repo = "luasystem"; 2098 rev = "v0.3.0"; 2099 hash = "sha256-oTFH0x94gSo1sqk1GsDheoVrjJHxFWZLtlJ45GwupoU="; 2100 }; 2101 2102 disabled = luaOlder "5.1"; 2103 2104 meta = { 2105 homepage = "https://github.com/lunarmodules/luasystem"; 2106 description = "Platform independent system calls for Lua."; 2107 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 2108 }; 2109}) {}; 2110 2111luatext = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 2112buildLuarocksPackage { 2113 pname = "luatext"; 2114 version = "1.2.1-0"; 2115 knownRockspec = (fetchurl { 2116 url = "mirror://luarocks/luatext-1.2.1-0.rockspec"; 2117 sha256 = "12ia4ibihd537mjmvdasnwgkinaygqwk03bsj3s0qrfhy6yz84ka"; 2118 }).outPath; 2119 src = fetchFromGitHub { 2120 owner = "f4z3r"; 2121 repo = "luatext"; 2122 rev = "v1.2.1"; 2123 hash = "sha256-StxCmjSSy3ok0hNkKTQyq4yS1LfX980R5pULCUjLPek="; 2124 }; 2125 2126 disabled = luaOlder "5.1"; 2127 2128 meta = { 2129 homepage = "https://github.com/f4z3r/luatext/tree/main"; 2130 description = "A small library to print colored text"; 2131 license.fullName = "MIT"; 2132 }; 2133}) {}; 2134 2135luaunbound = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }: 2136buildLuarocksPackage { 2137 pname = "luaunbound"; 2138 version = "1.0.0-1"; 2139 knownRockspec = (fetchurl { 2140 url = "mirror://luarocks/luaunbound-1.0.0-1.rockspec"; 2141 sha256 = "1zlkibdwrj5p97nhs33cz8xx0323z3kiq5x7v0h3i7v6j0h8ppvn"; 2142 }).outPath; 2143 src = fetchurl { 2144 url = "https://code.zash.se/dl/luaunbound/luaunbound-1.0.0.tar.gz"; 2145 sha256 = "1lsh0ylp5xskygxl5qdv6mhkm1x8xp0vfd5prk5hxkr19jk5mr3d"; 2146 }; 2147 2148 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2149 2150 meta = { 2151 homepage = "https://www.zash.se/luaunbound.html"; 2152 description = "A binding to libunbound"; 2153 license.fullName = "MIT"; 2154 }; 2155}) {}; 2156 2157luaunit = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: 2158buildLuarocksPackage { 2159 pname = "luaunit"; 2160 version = "3.4-1"; 2161 knownRockspec = (fetchurl { 2162 url = "mirror://luarocks/luaunit-3.4-1.rockspec"; 2163 sha256 = "111435fa8p2819vcvg76qmknj0wqk01gy9d1nh55c36616xnj54n"; 2164 }).outPath; 2165 src = fetchzip { 2166 url = "https://github.com/bluebird75/luaunit/releases/download/LUAUNIT_V3_4/rock-luaunit-3.4.zip"; 2167 sha256 = "0qf07y3229lq3qq1mfkv83gzbc7dgyr67hysqjb5bbk333flv56r"; 2168 }; 2169 2170 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2171 2172 meta = { 2173 homepage = "http://github.com/bluebird75/luaunit"; 2174 description = "A unit testing framework for Lua"; 2175 maintainers = with lib.maintainers; [ lockejan ]; 2176 license.fullName = "BSD"; 2177 }; 2178}) {}; 2179 2180luautf8 = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 2181buildLuarocksPackage { 2182 pname = "luautf8"; 2183 version = "0.1.5-2"; 2184 knownRockspec = (fetchurl { 2185 url = "mirror://luarocks/luautf8-0.1.5-2.rockspec"; 2186 sha256 = "0v788kk1aj7r70w9fgjlp3qrpjbpa9z9l1m7d13csk0pgfkm5iqz"; 2187 }).outPath; 2188 src = fetchurl { 2189 url = "https://github.com/starwing/luautf8/archive/refs/tags/0.1.5.tar.gz"; 2190 sha256 = "077ji840wfmy7hq0y13l01dv6jhasznykf89gk9m672jhz6dxggl"; 2191 }; 2192 2193 disabled = luaOlder "5.1"; 2194 2195 meta = { 2196 homepage = "http://github.com/starwing/luautf8"; 2197 description = "A UTF-8 support module for Lua"; 2198 maintainers = with lib.maintainers; [ pstn ]; 2199 license.fullName = "MIT"; 2200 }; 2201}) {}; 2202 2203luazip = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: 2204buildLuarocksPackage { 2205 pname = "luazip"; 2206 version = "1.2.7-1"; 2207 knownRockspec = (fetchurl { 2208 url = "mirror://luarocks/luazip-1.2.7-1.rockspec"; 2209 sha256 = "1wxy3p2ksaq4s8lg925mi9cvbh875gsapgkzm323dr8qaxxg7mba"; 2210 }).outPath; 2211 src = fetchFromGitHub { 2212 owner = "mpeterv"; 2213 repo = "luazip"; 2214 rev = "1.2.7"; 2215 hash = "sha256-pAuXdvF2hM3ApvOg5nn9EHTGlajujHMtHEoN3Sj+mMo="; 2216 }; 2217 2218 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 2219 2220 meta = { 2221 homepage = "https://github.com/mpeterv/luazip"; 2222 description = "Library for reading files inside zip files"; 2223 license.fullName = "MIT"; 2224 }; 2225}) {}; 2226 2227lush-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: 2228buildLuarocksPackage { 2229 pname = "lush.nvim"; 2230 version = "scm-1"; 2231 knownRockspec = (fetchurl { 2232 url = "mirror://luarocks/lush.nvim-scm-1.rockspec"; 2233 sha256 = "0ivir5p3mmv051pyya2hj1yrnflrv8bp38dx033i3kzfbpyg23ca"; 2234 }).outPath; 2235 src = fetchFromGitHub { 2236 owner = "rktjmp"; 2237 repo = "lush.nvim"; 2238 rev = "7c0e27f50901481fe83b974493c4ea67a4296aeb"; 2239 hash = "sha256-GVGIZPBrunaWexwdnkbc0LxM3xMHslrwON2FunN3TDE="; 2240 }; 2241 2242 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 2243 2244 meta = { 2245 homepage = "https://github.com/rktjmp/lush.nvim"; 2246 description = "Define Neovim themes as a DSL in lua, with real-time feedback."; 2247 maintainers = with lib.maintainers; [ teto ]; 2248 license.fullName = "MIT/X11"; 2249 }; 2250}) {}; 2251 2252luuid = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }: 2253buildLuarocksPackage { 2254 pname = "luuid"; 2255 version = "20120509-2"; 2256 knownRockspec = (fetchurl { 2257 url = "mirror://luarocks/luuid-20120509-2.rockspec"; 2258 sha256 = "1q2fv25wfbiqn49mqv26gs4pyllch311akcf7jjn27l5ik8ji5b6"; 2259 }).outPath; 2260 src = fetchurl { 2261 url = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.2/luuid.tar.gz"; 2262 sha256 = "1bfkj613d05yps3fivmz0j1bxf2zkg9g1yl0ifffgw0vy00hpnvm"; 2263 }; 2264 2265 disabled = luaOlder "5.2" || luaAtLeast "5.4"; 2266 2267 meta = { 2268 homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid"; 2269 description = "A library for UUID generation"; 2270 license.fullName = "Public domain"; 2271 }; 2272}) {}; 2273 2274luv = callPackage({ buildLuarocksPackage, cmake, fetchurl, luaOlder }: 2275buildLuarocksPackage { 2276 pname = "luv"; 2277 version = "1.44.2-1"; 2278 knownRockspec = (fetchurl { 2279 url = "mirror://luarocks/luv-1.44.2-1.rockspec"; 2280 sha256 = "07jwi50i16rv7sj914k1q3l9dy9wldbw2skmsdrzlkc57mqvg348"; 2281 }).outPath; 2282 src = fetchurl { 2283 url = "https://github.com/luvit/luv/releases/download/1.44.2-1/luv-1.44.2-1.tar.gz"; 2284 sha256 = "0c2wkszxw6gwa4l6g1d2zzh660j13lif6c7a910vq7zn8jycgd9y"; 2285 }; 2286 2287 disabled = luaOlder "5.1"; 2288 nativeBuildInputs = [ cmake ]; 2289 2290 meta = { 2291 homepage = "https://github.com/luvit/luv"; 2292 description = "Bare libuv bindings for lua"; 2293 license.fullName = "Apache 2.0"; 2294 }; 2295}) {}; 2296 2297lyaml = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: 2298buildLuarocksPackage { 2299 pname = "lyaml"; 2300 version = "6.2.8-1"; 2301 knownRockspec = (fetchurl { 2302 url = "mirror://luarocks/lyaml-6.2.8-1.rockspec"; 2303 sha256 = "0d0h70kjl5fkq589y1sx8qy8as002dhcf88pf60pghvch002ryi1"; 2304 }).outPath; 2305 src = fetchzip { 2306 url = "http://github.com/gvvaughan/lyaml/archive/v6.2.8.zip"; 2307 sha256 = "0r3jjsd8x2fs1aanki0s1mvpznl16f32c1qfgmicy0icgy5xfch0"; 2308 }; 2309 2310 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2311 2312 meta = { 2313 homepage = "http://github.com/gvvaughan/lyaml"; 2314 description = "libYAML binding for Lua"; 2315 maintainers = with lib.maintainers; [ lblasc ]; 2316 license.fullName = "MIT/X11"; 2317 }; 2318}) {}; 2319 2320magick = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua }: 2321buildLuarocksPackage { 2322 pname = "magick"; 2323 version = "1.6.0-1"; 2324 knownRockspec = (fetchurl { 2325 url = "mirror://luarocks/magick-1.6.0-1.rockspec"; 2326 sha256 = "1pg150xsxnqvlhxpiy17s9hm4dkc84v46mlwi9rhriynqz8qks9w"; 2327 }).outPath; 2328 src = fetchFromGitHub { 2329 owner = "leafo"; 2330 repo = "magick"; 2331 rev = "v1.6.0"; 2332 hash = "sha256-gda+vLrWyMQ553jVCIRl1qYTS/rXsGhxrBsrJyI8EN4="; 2333 }; 2334 2335 disabled = lua.luaversion != "5.1"; 2336 2337 meta = { 2338 homepage = "https://github.com/leafo/magick.git"; 2339 description = "Lua bindings to ImageMagick & GraphicsMagick for LuaJIT using FFI"; 2340 maintainers = with lib.maintainers; [ donovanglover ]; 2341 license.fullName = "MIT"; 2342 }; 2343}) {}; 2344 2345markdown = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: 2346buildLuarocksPackage { 2347 pname = "markdown"; 2348 version = "0.33-1"; 2349 knownRockspec = (fetchurl { 2350 url = "mirror://luarocks/markdown-0.33-1.rockspec"; 2351 sha256 = "02sixijfi6av8h59kx3ngrhygjn2sx1c85c0qfy20gxiz72wi1pl"; 2352 }).outPath; 2353 src = fetchFromGitHub { 2354 owner = "mpeterv"; 2355 repo = "markdown"; 2356 rev = "0.33"; 2357 hash = "sha256-PgRGiSwDODSyNSgeN7kNOCZwjLbGf1Qts/jrfLGYKwU="; 2358 }; 2359 2360 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 2361 2362 meta = { 2363 homepage = "https://github.com/mpeterv/markdown"; 2364 description = "Markdown text-to-html markup system."; 2365 license.fullName = "MIT/X11"; 2366 }; 2367}) {}; 2368 2369mediator_lua = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 2370buildLuarocksPackage { 2371 pname = "mediator_lua"; 2372 version = "1.1.2-0"; 2373 knownRockspec = (fetchurl { 2374 url = "mirror://luarocks/mediator_lua-1.1.2-0.rockspec"; 2375 sha256 = "0frzvf7i256260a1s8xh92crwa2m42972qxfq29zl05aw3pyn7bm"; 2376 }).outPath; 2377 src = fetchurl { 2378 url = "https://github.com/Olivine-Labs/mediator_lua/archive/v1.1.2-0.tar.gz"; 2379 sha256 = "16zzzhiy3y35v8advmlkzpryzxv5vji7727vwkly86q8sagqbxgs"; 2380 }; 2381 2382 disabled = luaOlder "5.1"; 2383 2384 meta = { 2385 homepage = "http://olivinelabs.com/mediator_lua/"; 2386 description = "Event handling through channels"; 2387 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 2388 }; 2389}) {}; 2390 2391middleclass = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 2392buildLuarocksPackage { 2393 pname = "middleclass"; 2394 version = "4.1.1-0"; 2395 knownRockspec = (fetchurl { 2396 url = "mirror://luarocks/middleclass-4.1.1-0.rockspec"; 2397 sha256 = "10xzs48lr1dy7cx99581r956gl16px0a9gbdlfar41n19r96mhb1"; 2398 }).outPath; 2399 src = fetchurl { 2400 url = "https://github.com/kikito/middleclass/archive/v4.1.1.tar.gz"; 2401 sha256 = "11ahv0b9wgqfnabv57rb7ilsvn2vcvxb1czq6faqrsqylvr5l7nh"; 2402 }; 2403 2404 disabled = luaOlder "5.1"; 2405 2406 meta = { 2407 homepage = "https://github.com/kikito/middleclass"; 2408 description = "A simple OOP library for Lua"; 2409 license.fullName = "MIT"; 2410 }; 2411}) {}; 2412 2413mimetypes = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: 2414buildLuarocksPackage { 2415 pname = "mimetypes"; 2416 version = "1.0.0-3"; 2417 knownRockspec = (fetchurl { 2418 url = "mirror://luarocks/mimetypes-1.0.0-3.rockspec"; 2419 sha256 = "02f5x5pkz6fba71mp031arrgmddsyivn5fsa0pj3q3a7nxxpmnq9"; 2420 }).outPath; 2421 src = fetchurl { 2422 url = "https://github.com/lunarmodules/lua-mimetypes/archive/v1.0.0/lua-mimetypes-1.0.0.tar.gz"; 2423 sha256 = "1rc5lnzvw4cg8wxn4w4sar2xgf5vaivdd2hgpxxcqfzzcmblg1zk"; 2424 }; 2425 2426 disabled = luaOlder "5.1"; 2427 2428 meta = { 2429 homepage = "https://github/lunarmodules/lua-mimetypes/"; 2430 description = "A simple library for looking up the MIME types of files."; 2431 license.fullName = "MIT/X11"; 2432 }; 2433}) {}; 2434 2435moonscript = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, lpeg, luaOlder, luafilesystem }: 2436buildLuarocksPackage { 2437 pname = "moonscript"; 2438 version = "dev-1"; 2439 2440 src = fetchFromGitHub { 2441 owner = "leafo"; 2442 repo = "moonscript"; 2443 rev = "d5341c9093c49d3724072b209cde28b5cb0f47c9"; 2444 hash = "sha256-sVMhqCzGhfEGoFueVINx9hnnE5vNN61S6t3CXGBnxcA="; 2445 }; 2446 2447 disabled = luaOlder "5.1"; 2448 propagatedBuildInputs = [ argparse lpeg luafilesystem ]; 2449 2450 meta = { 2451 homepage = "http://moonscript.org"; 2452 description = "A programmer friendly language that compiles to Lua"; 2453 maintainers = with lib.maintainers; [ arobyn ]; 2454 license.fullName = "MIT"; 2455 }; 2456}) {}; 2457 2458mpack = callPackage({ buildLuarocksPackage, fetchurl }: 2459buildLuarocksPackage { 2460 pname = "mpack"; 2461 version = "1.0.12-0"; 2462 knownRockspec = (fetchurl { 2463 url = "mirror://luarocks/mpack-1.0.12-0.rockspec"; 2464 sha256 = "01jr8vvkqdvadr5kpgsd17gjyz729hbd609qsm682ylggabgqsyy"; 2465 }).outPath; 2466 src = fetchurl { 2467 url = "https://github.com/libmpack/libmpack-lua/releases/download/1.0.12/libmpack-lua-1.0.12.tar.gz"; 2468 sha256 = "1gzqks9cq3krd9rs3dq9jm1m23pjpqjv9ymkxj9gbyjcy6qn5dh6"; 2469 }; 2470 2471 2472 meta = { 2473 homepage = "https://github.com/libmpack/libmpack-lua"; 2474 description = "Lua binding to libmpack"; 2475 license.fullName = "MIT"; 2476 }; 2477}) {}; 2478 2479neotest = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio, plenary-nvim }: 2480buildLuarocksPackage { 2481 pname = "neotest"; 2482 version = "5.2.3-1"; 2483 knownRockspec = (fetchurl { 2484 url = "mirror://luarocks/neotest-5.2.3-1.rockspec"; 2485 sha256 = "16pwkwv2dmi9aqhp6bdbgwhksi891iz73rvksqmv136jx6fi7za1"; 2486 }).outPath; 2487 src = fetchzip { 2488 url = "https://github.com/nvim-neotest/neotest/archive/5caac5cc235d495a2382bc2980630ef36ac87032.zip"; 2489 sha256 = "1i1d6m17wf3p76nm75jk4ayd4zyhslmqi2pc7j8qx87391mnz2c4"; 2490 }; 2491 2492 disabled = luaOlder "5.1"; 2493 propagatedBuildInputs = [ nvim-nio plenary-nvim ]; 2494 2495 meta = { 2496 homepage = "https://github.com/nvim-neotest/neotest"; 2497 description = "An extensible framework for interacting with tests within NeoVim."; 2498 maintainers = with lib.maintainers; [ mrcjkb ]; 2499 license.fullName = "MIT"; 2500 }; 2501}) {}; 2502 2503nlua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 2504buildLuarocksPackage { 2505 pname = "nlua"; 2506 version = "0.1.0-1"; 2507 knownRockspec = (fetchurl { 2508 url = "mirror://luarocks/nlua-0.1.0-1.rockspec"; 2509 sha256 = "14ynhy85m2prawym1ap1kplkbicafbczpggzgdnji00frwqa1zvv"; 2510 }).outPath; 2511 src = fetchzip { 2512 url = "https://github.com/mfussenegger/nlua/archive/v0.1.0.zip"; 2513 sha256 = "1x3pbv5ngbk0sjgwfpjsv3x49wzq4x29d9rm0hgyyb2g2mwag3jc"; 2514 }; 2515 2516 disabled = luaOlder "5.1"; 2517 2518 meta = { 2519 homepage = "https://github.com/mfussenegger/nlua"; 2520 description = "Neovim as Lua interpreter"; 2521 maintainers = with lib.maintainers; [ teto ]; 2522 license.fullName = "GPL-3.0"; 2523 }; 2524}) {}; 2525 2526nui-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }: 2527buildLuarocksPackage { 2528 pname = "nui.nvim"; 2529 version = "0.3.0-1"; 2530 knownRockspec = (fetchurl { 2531 url = "mirror://luarocks/nui.nvim-0.3.0-1.rockspec"; 2532 sha256 = "0ng75wzbc0bn4zgwqk7dx5hazybfqxpjfzp7k2syh7kajmsy8z8b"; 2533 }).outPath; 2534 src = fetchFromGitHub { 2535 owner = "MunifTanjim"; 2536 repo = "nui.nvim"; 2537 rev = "0.3.0"; 2538 hash = "sha256-L0ebXtv794357HOAgT17xlEJsmpqIHGqGlYfDB20WTo="; 2539 }; 2540 2541 2542 meta = { 2543 homepage = "https://github.com/MunifTanjim/nui.nvim"; 2544 description = "UI Component Library for Neovim."; 2545 maintainers = with lib.maintainers; [ mrcjkb ]; 2546 license.fullName = "MIT"; 2547 }; 2548}) {}; 2549 2550nvim-cmp = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaAtLeast, luaOlder }: 2551buildLuarocksPackage { 2552 pname = "nvim-cmp"; 2553 version = "scm-1"; 2554 2555 src = fetchFromGitHub { 2556 owner = "hrsh7th"; 2557 repo = "nvim-cmp"; 2558 rev = "8f3c541407e691af6163e2447f3af1bd6e17f9a3"; 2559 hash = "sha256-rz+JMd/hsUEDNVan2sCuEGtbsOVi6oRmPtps+7qSXQE="; 2560 }; 2561 2562 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 2563 2564 meta = { 2565 homepage = "https://github.com/hrsh7th/nvim-cmp"; 2566 description = "A completion plugin for neovim"; 2567 license.fullName = "MIT"; 2568 }; 2569}) {}; 2570 2571nvim-nio = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 2572buildLuarocksPackage { 2573 pname = "nvim-nio"; 2574 version = "1.9.0-1"; 2575 knownRockspec = (fetchurl { 2576 url = "mirror://luarocks/nvim-nio-1.9.0-1.rockspec"; 2577 sha256 = "0hwjkz0pjd8dfc4l7wk04ddm8qzrv5m15gskhz9gllb4frnk6hik"; 2578 }).outPath; 2579 src = fetchzip { 2580 url = "https://github.com/nvim-neotest/nvim-nio/archive/v1.9.0.zip"; 2581 sha256 = "0y3afl42z41ymksk29al5knasmm9wmqzby860x8zj0i0mfb1q5k5"; 2582 }; 2583 2584 disabled = luaOlder "5.1"; 2585 2586 meta = { 2587 homepage = "https://github.com/nvim-neotest/nvim-nio"; 2588 description = "A library for asynchronous IO in Neovim"; 2589 maintainers = with lib.maintainers; [ mrcjkb ]; 2590 license.fullName = "MIT"; 2591 }; 2592}) {}; 2593 2594pathlib-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio }: 2595buildLuarocksPackage { 2596 pname = "pathlib.nvim"; 2597 version = "2.2.2-1"; 2598 knownRockspec = (fetchurl { 2599 url = "mirror://luarocks/pathlib.nvim-2.2.2-1.rockspec"; 2600 sha256 = "04dklc0ibl6dbfckmkpj2s1gvjfmr0k2hyagw37rxypifncrffkr"; 2601 }).outPath; 2602 src = fetchzip { 2603 url = "https://github.com/pysan3/pathlib.nvim/archive/v2.2.2.zip"; 2604 sha256 = "10jhbdffaw1rh1qppzllmy96dbsn741bk46mph5kxpjq4ldx27hz"; 2605 }; 2606 2607 disabled = luaOlder "5.1"; 2608 propagatedBuildInputs = [ nvim-nio ]; 2609 2610 meta = { 2611 homepage = "https://pysan3.github.io/pathlib.nvim/"; 2612 description = "OS Independent, ultimate solution to path handling in neovim."; 2613 license.fullName = "MPL-2.0"; 2614 }; 2615}) {}; 2616 2617penlight = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luafilesystem }: 2618buildLuarocksPackage { 2619 pname = "penlight"; 2620 version = "1.14.0-1"; 2621 knownRockspec = (fetchurl { 2622 url = "mirror://luarocks/penlight-1.14.0-1.rockspec"; 2623 sha256 = "1zmibf0pgcnf0lj1xmxs0srbyy1cswvb9g1jajy9lhicnpqqlgvh"; 2624 }).outPath; 2625 src = fetchFromGitHub { 2626 owner = "lunarmodules"; 2627 repo = "penlight"; 2628 rev = "1.14.0"; 2629 hash = "sha256-4zAt0GgQEkg9toaUaDn3ST3RvjLUDsuOzrKi9lhq0fQ="; 2630 }; 2631 2632 disabled = luaOlder "5.1"; 2633 propagatedBuildInputs = [ luafilesystem ]; 2634 2635 meta = { 2636 homepage = "https://lunarmodules.github.io/penlight"; 2637 description = "Lua utility libraries loosely based on the Python standard libraries"; 2638 maintainers = with lib.maintainers; [ alerque ]; 2639 license.fullName = "MIT/X11"; 2640 }; 2641}) {}; 2642 2643plenary-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaAtLeast, luaOlder, luassert }: 2644buildLuarocksPackage { 2645 pname = "plenary.nvim"; 2646 version = "scm-1"; 2647 2648 src = fetchFromGitHub { 2649 owner = "nvim-lua"; 2650 repo = "plenary.nvim"; 2651 rev = "08e301982b9a057110ede7a735dd1b5285eb341f"; 2652 hash = "sha256-vy0MXEoSM4rvYpfwbc2PnilvMOA30Urv0FAxjXuvqQ8="; 2653 }; 2654 2655 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 2656 propagatedBuildInputs = [ luassert ]; 2657 2658 meta = { 2659 homepage = "http://github.com/nvim-lua/plenary.nvim"; 2660 description = "lua functions you don't want to write "; 2661 license.fullName = "MIT/X11"; 2662 }; 2663}) {}; 2664 2665rapidjson = callPackage({ buildLuarocksPackage, cmake, fetchFromGitHub, fetchurl, luaOlder }: 2666buildLuarocksPackage { 2667 pname = "rapidjson"; 2668 version = "0.7.1-1"; 2669 knownRockspec = (fetchurl { 2670 url = "mirror://luarocks/rapidjson-0.7.1-1.rockspec"; 2671 sha256 = "01lbsn9rckdyx0va7nm9dammic9117kxiawp55yg2h5q3p978d41"; 2672 }).outPath; 2673 src = fetchFromGitHub { 2674 owner = "xpol"; 2675 repo = "lua-rapidjson"; 2676 rev = "v0.7.1"; 2677 hash = "sha256-y/czEVPtCt4uN1n49Qi7BrgZmkG+SDXlM5D2GvvO2qg="; 2678 }; 2679 2680 disabled = luaOlder "5.1"; 2681 nativeBuildInputs = [ cmake ]; 2682 2683 meta = { 2684 homepage = "https://github.com/xpol/lua-rapidjson"; 2685 description = "Json module based on the very fast RapidJSON."; 2686 license.fullName = "MIT"; 2687 }; 2688}) {}; 2689 2690rest-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua-curl, luaOlder, mimetypes, nvim-nio, xml2lua }: 2691buildLuarocksPackage { 2692 pname = "rest.nvim"; 2693 version = "2.0.1-1"; 2694 knownRockspec = (fetchurl { 2695 url = "mirror://luarocks/rest.nvim-2.0.1-1.rockspec"; 2696 sha256 = "1ra76wnhi4nh56amyd8zqmg0mpsnhp3m41m3iyiq4hp1fah6nbqb"; 2697 }).outPath; 2698 src = fetchzip { 2699 url = "https://github.com/rest-nvim/rest.nvim/archive/v2.0.1.zip"; 2700 sha256 = "09rs04d5h061zns1kdfycryx4ll8ix15q3ybpmqsdyp2gn8l77df"; 2701 }; 2702 2703 disabled = luaOlder "5.1"; 2704 propagatedBuildInputs = [ lua-curl mimetypes nvim-nio xml2lua ]; 2705 2706 meta = { 2707 homepage = "https://github.com/rest-nvim/rest.nvim"; 2708 description = "A fast Neovim http client written in Lua"; 2709 maintainers = with lib.maintainers; [ teto ]; 2710 license.fullName = "GPL-3.0"; 2711 }; 2712}) {}; 2713 2714rocks-config-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, rocks-nvim }: 2715buildLuarocksPackage { 2716 pname = "rocks-config.nvim"; 2717 version = "1.5.0-1"; 2718 knownRockspec = (fetchurl { 2719 url = "mirror://luarocks/rocks-config.nvim-1.5.0-1.rockspec"; 2720 sha256 = "14rj1p7grmdhi3xm683c3c441xxcldhi5flh6lg1fab1rm9mij6b"; 2721 }).outPath; 2722 src = fetchzip { 2723 url = "https://github.com/nvim-neorocks/rocks-config.nvim/archive/v1.5.0.zip"; 2724 sha256 = "0kpvd9ddj1vhkz54ckqsym4fbj1krzpp8cslb20k8qk2n1ccjynv"; 2725 }; 2726 2727 disabled = luaOlder "5.1"; 2728 propagatedBuildInputs = [ rocks-nvim ]; 2729 2730 meta = { 2731 homepage = "https://github.com/nvim-neorocks/rocks-config.nvim"; 2732 description = "Allow rocks.nvim to help configure your plugins."; 2733 maintainers = with lib.maintainers; [ mrcjkb ]; 2734 license.fullName = "GPL-3.0"; 2735 }; 2736}) {}; 2737 2738rocks-dev-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, nvim-nio, rocks-nvim }: 2739buildLuarocksPackage { 2740 pname = "rocks-dev.nvim"; 2741 version = "1.1.2-1"; 2742 knownRockspec = (fetchurl { 2743 url = "mirror://luarocks/rocks-dev.nvim-1.1.2-1.rockspec"; 2744 sha256 = "09yz84akkparvqfsjpslxpv3wzvkjrbqil8fxwl5crffggn5mz1b"; 2745 }).outPath; 2746 src = fetchzip { 2747 url = "https://github.com/nvim-neorocks/rocks-dev.nvim/archive/v1.1.2.zip"; 2748 sha256 = "19g8dlz2zch0sz21zm92l6ic81bx68wklidjw94xrjyv26139akc"; 2749 }; 2750 2751 disabled = (luaOlder "5.1"); 2752 propagatedBuildInputs = [ lua nvim-nio rocks-nvim ]; 2753 2754 meta = { 2755 homepage = "https://github.com/nvim-neorocks/rocks-dev.nvim"; 2756 description = "A swiss-army knife for testing and developing rocks.nvim modules."; 2757 maintainers = with lib.maintainers; [ mrcjkb ]; 2758 license.fullName = "GPL-3.0"; 2759 }; 2760}) {}; 2761 2762rocks-git-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio, rocks-nvim }: 2763buildLuarocksPackage { 2764 pname = "rocks-git.nvim"; 2765 version = "1.4.0-1"; 2766 knownRockspec = (fetchurl { 2767 url = "mirror://luarocks/rocks-git.nvim-1.4.0-1.rockspec"; 2768 sha256 = "04zx6yvp5pg306wqaw6fymqci5qnzpzg27xjrycflcyxxq4xmnmg"; 2769 }).outPath; 2770 src = fetchzip { 2771 url = "https://github.com/nvim-neorocks/rocks-git.nvim/archive/v1.4.0.zip"; 2772 sha256 = "0yjigf9pzy53yylznnnb68dwmylx9a3qv84kdc2whsf4cj23m2nj"; 2773 }; 2774 2775 disabled = luaOlder "5.1"; 2776 propagatedBuildInputs = [ nvim-nio rocks-nvim ]; 2777 2778 meta = { 2779 homepage = "https://github.com/nvim-neorocks/rocks-git.nvim"; 2780 description = "Use rocks.nvim to install plugins from git!"; 2781 maintainers = with lib.maintainers; [ mrcjkb ]; 2782 license.fullName = "GPL-3.0"; 2783 }; 2784}) {}; 2785 2786rocks-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, fidget-nvim, fzy, luaOlder, nvim-nio, rtp-nvim, toml-edit }: 2787buildLuarocksPackage { 2788 pname = "rocks.nvim"; 2789 version = "2.26.0-1"; 2790 knownRockspec = (fetchurl { 2791 url = "mirror://luarocks/rocks.nvim-2.26.0-1.rockspec"; 2792 sha256 = "1piypyxq1c6l203f3w8z4fhfi649h5ppl58lckvxph9dvidg11lf"; 2793 }).outPath; 2794 src = fetchzip { 2795 url = "https://github.com/nvim-neorocks/rocks.nvim/archive/v2.26.0.zip"; 2796 sha256 = "10wck99dfwxv49pkd9pva7lqr4a79zccbqvb75qbxkgnj0yd5awc"; 2797 }; 2798 2799 disabled = luaOlder "5.1"; 2800 propagatedBuildInputs = [ fidget-nvim fzy nvim-nio rtp-nvim toml-edit ]; 2801 2802 meta = { 2803 homepage = "https://github.com/nvim-neorocks/rocks.nvim"; 2804 description = "Neovim plugin management inspired by Cargo, powered by luarocks"; 2805 maintainers = with lib.maintainers; [ mrcjkb ]; 2806 license.fullName = "GPL-3.0"; 2807 }; 2808}) {}; 2809 2810 2811rtp-nvim = callPackage ({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 2812buildLuarocksPackage { 2813 pname = "rtp.nvim"; 2814 version = "1.0.0-1"; 2815 knownRockspec = (fetchurl { 2816 url = "mirror://luarocks/rtp.nvim-1.0.0-1.rockspec"; 2817 sha256 = "0ddlwhk62g3yx1ysddsmlggfqv0hj7dljgczfwij1ijbz7qyp3hy"; 2818 }).outPath; 2819 src = fetchzip { 2820 url = "https://github.com/nvim-neorocks/rtp.nvim/archive/v1.0.0.zip"; 2821 sha256 = "1kx7qzdz8rpwsjcp63wwn619nrkxn6xd0nr5pfm3g0z4072nnpzn"; 2822 }; 2823 2824 disabled = luaOlder "5.1"; 2825 2826 meta = { 2827 homepage = "https://github.com/nvim-neorocks/rtp.nvim"; 2828 description = "Source plugin and ftdetect directories on the Neovim runtimepath."; 2829 license.fullName = "GPL-3.0"; 2830 }; 2831}) {}; 2832 2833rustaceanvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: 2834buildLuarocksPackage { 2835 pname = "rustaceanvim"; 2836 version = "4.22.8-1"; 2837 knownRockspec = (fetchurl { 2838 url = "mirror://luarocks/rustaceanvim-4.22.8-1.rockspec"; 2839 sha256 = "18hghs9v9j3kv3fxwdp7qk9vhbxn4c8xd8pyxwnyjq5ad7ninr82"; 2840 }).outPath; 2841 src = fetchzip { 2842 url = "https://github.com/mrcjkb/rustaceanvim/archive/4.22.8.zip"; 2843 sha256 = "1n9kqr8xdqamc8hd8a155h7rzyda8bz39n0zdgdw0j8hqc214vmm"; 2844 }; 2845 2846 disabled = luaOlder "5.1"; 2847 2848 meta = { 2849 homepage = "https://github.com/mrcjkb/rustaceanvim"; 2850 description = "Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim"; 2851 maintainers = with lib.maintainers; [ mrcjkb ]; 2852 license.fullName = "GPL-2.0"; 2853 }; 2854}) {}; 2855 2856say = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 2857buildLuarocksPackage { 2858 pname = "say"; 2859 version = "1.4.1-3"; 2860 knownRockspec = (fetchurl { 2861 url = "mirror://luarocks/say-1.4.1-3.rockspec"; 2862 sha256 = "0iibmq5m5092y168banckgs15ngj2yjx11n40fyk7jly4pbasljq"; 2863 }).outPath; 2864 src = fetchFromGitHub { 2865 owner = "lunarmodules"; 2866 repo = "say"; 2867 rev = "v1.4.1"; 2868 hash = "sha256-IjNkK1leVtYgbEjUqguVMjbdW+0BHAOCE0pazrVuF50="; 2869 }; 2870 2871 disabled = luaOlder "5.1"; 2872 2873 meta = { 2874 homepage = "https://lunarmodules.github.io/say"; 2875 description = "Lua string hashing/indexing library"; 2876 license.fullName = "MIT"; 2877 }; 2878}) {}; 2879 2880serpent = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: 2881buildLuarocksPackage { 2882 pname = "serpent"; 2883 version = "0.30-2"; 2884 knownRockspec = (fetchurl { 2885 url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/serpent-0.30-2.rockspec"; 2886 sha256 = "01696wwp1m8jlcj0y1wwscnz3cpcjdvm8pcnc6c6issa2s4544vr"; 2887 }).outPath; 2888 src = fetchFromGitHub { 2889 owner = "pkulchenko"; 2890 repo = "serpent"; 2891 rev = "0.30"; 2892 hash = "sha256-aCP/Lk11wdnqXzntgNlyZz1LkLgZApcvDiA//LLzAGE="; 2893 }; 2894 2895 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2896 2897 meta = { 2898 homepage = "https://github.com/pkulchenko/serpent"; 2899 description = "Lua serializer and pretty printer"; 2900 maintainers = with lib.maintainers; [ lockejan ]; 2901 license.fullName = "MIT"; 2902 }; 2903}) {}; 2904 2905sqlite = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luv }: 2906buildLuarocksPackage { 2907 pname = "sqlite"; 2908 version = "v1.2.2-0"; 2909 knownRockspec = (fetchurl { 2910 url = "mirror://luarocks/sqlite-v1.2.2-0.rockspec"; 2911 sha256 = "0jxsl9lpxsbzc6s5bwmh27mglkqz1299lz68vfxayvailwl3xbxm"; 2912 }).outPath; 2913 src = fetchFromGitHub { 2914 owner = "tami5"; 2915 repo = "sqlite.lua"; 2916 rev = "v1.2.2"; 2917 hash = "sha256-NUjZkFawhUD0oI3pDh/XmVwtcYyPqa+TtVbl3k13cTI="; 2918 }; 2919 2920 propagatedBuildInputs = [ luv ]; 2921 2922 meta = { 2923 homepage = "https://github.com/tami5/sqlite.lua"; 2924 description = "SQLite/LuaJIT binding and a highly opinionated wrapper for storing, retrieving, caching, and persisting [SQLite] databases"; 2925 license.fullName = "MIT"; 2926 }; 2927}) {}; 2928 2929std-_debug = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: 2930buildLuarocksPackage { 2931 pname = "std._debug"; 2932 version = "1.0.1-1"; 2933 knownRockspec = (fetchurl { 2934 url = "mirror://luarocks/std._debug-1.0.1-1.rockspec"; 2935 sha256 = "0mr9hgzfr9v37da9rfys2wjq48hi3lv27i3g38433dlgbxipsbc4"; 2936 }).outPath; 2937 src = fetchzip { 2938 url = "http://github.com/lua-stdlib/_debug/archive/v1.0.1.zip"; 2939 sha256 = "19vfpv389q79vgxwhhr09l6l6hf6h2yjp09zvnp0l07ar4v660pv"; 2940 }; 2941 2942 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2943 2944 meta = { 2945 homepage = "http://lua-stdlib.github.io/_debug"; 2946 description = "Debug Hints Library"; 2947 license.fullName = "MIT/X11"; 2948 }; 2949}) {}; 2950 2951std-normalize = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder, std-_debug }: 2952buildLuarocksPackage { 2953 pname = "std.normalize"; 2954 version = "2.0.3-1"; 2955 knownRockspec = (fetchurl { 2956 url = "mirror://luarocks/std.normalize-2.0.3-1.rockspec"; 2957 sha256 = "1l83ikiaw4dch2r69cxpl93b9d4wf54vbjb6fcggnkxxgm0amj3a"; 2958 }).outPath; 2959 src = fetchzip { 2960 url = "http://github.com/lua-stdlib/normalize/archive/v2.0.3.zip"; 2961 sha256 = "1gyywglxd2y7ck3hk8ap73w0x7hf9irpg6vgs8yc6k9k4c5g3fgi"; 2962 }; 2963 2964 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2965 propagatedBuildInputs = [ std-_debug ]; 2966 2967 meta = { 2968 homepage = "https://lua-stdlib.github.io/normalize"; 2969 description = "Normalized Lua Functions"; 2970 license.fullName = "MIT/X11"; 2971 }; 2972}) {}; 2973 2974stdlib = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: 2975buildLuarocksPackage { 2976 pname = "stdlib"; 2977 version = "41.2.2-1"; 2978 knownRockspec = (fetchurl { 2979 url = "mirror://luarocks/stdlib-41.2.2-1.rockspec"; 2980 sha256 = "0rscb4cm8s8bb8fk8rknc269y7bjqpslspsaxgs91i8bvabja6f6"; 2981 }).outPath; 2982 src = fetchzip { 2983 url = "http://github.com/lua-stdlib/lua-stdlib/archive/release-v41.2.2.zip"; 2984 sha256 = "0ry6k0wh4vyar1z68s0qmqzkdkfn9lcznsl8av7x78qz6l16wfw4"; 2985 }; 2986 2987 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2988 2989 meta = { 2990 homepage = "http://lua-stdlib.github.io/lua-stdlib"; 2991 description = "General Lua Libraries"; 2992 maintainers = with lib.maintainers; [ vyp ]; 2993 license.fullName = "MIT/X11"; 2994 }; 2995}) {}; 2996 2997teal-language-server = callPackage({ buildLuarocksPackage, cyan, dkjson, fetchFromGitHub, fetchurl, luafilesystem }: 2998buildLuarocksPackage { 2999 pname = "teal-language-server"; 3000 version = "dev-1"; 3001 knownRockspec = (fetchurl { 3002 url = "mirror://luarocks/teal-language-server-dev-1.rockspec"; 3003 sha256 = "01l44c6bknz7ff9xqgich31hlb0yk4ms5k1hs4rhm3cs95s5vlzc"; 3004 }).outPath; 3005 src = fetchFromGitHub { 3006 owner = "teal-language"; 3007 repo = "teal-language-server"; 3008 rev = "67b5d7cad60b9df472851a2c61591f2aab97da47"; 3009 hash = "sha256-fUuOjJrwpLU1YoJm3yn+X15ioRf4GZoi6323On1W2Io="; 3010 }; 3011 3012 propagatedBuildInputs = [ cyan dkjson luafilesystem ]; 3013 3014 meta = { 3015 homepage = "https://github.com/teal-language/teal-language-server"; 3016 description = "A language server for the Teal language"; 3017 license.fullName = "MIT"; 3018 }; 3019}) {}; 3020 3021telescope-manix = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, telescope-nvim }: 3022buildLuarocksPackage { 3023 pname = "telescope-manix"; 3024 version = "1.0.2-1"; 3025 knownRockspec = (fetchurl { 3026 url = "mirror://luarocks/telescope-manix-1.0.2-1.rockspec"; 3027 sha256 = "0a5cg3kx2pv8jsr0jdpxd1ahprh55n12ggzlqiailyyskzpx94bl"; 3028 }).outPath; 3029 src = fetchzip { 3030 url = "https://github.com/mrcjkb/telescope-manix/archive/1.0.2.zip"; 3031 sha256 = "0y3n270zkii123r3987xzvp194dl0q1hy234v95w7l48cf4v495k"; 3032 }; 3033 3034 disabled = luaOlder "5.1"; 3035 propagatedBuildInputs = [ telescope-nvim ]; 3036 3037 meta = { 3038 homepage = "https://github.com/mrcjkb/telescope-manix"; 3039 description = "A telescope.nvim extension for Manix - A fast documentation searcher for Nix"; 3040 license.fullName = "GPL-2.0"; 3041 }; 3042}) {}; 3043 3044telescope-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua, plenary-nvim }: 3045buildLuarocksPackage { 3046 pname = "telescope.nvim"; 3047 version = "scm-1"; 3048 knownRockspec = (fetchurl { 3049 url = "mirror://luarocks/telescope.nvim-scm-1.rockspec"; 3050 sha256 = "07mjkv1nv9b3ifxk2bbpbhvp0awblyklyz6aaqw418x4gm4q1g35"; 3051 }).outPath; 3052 src = fetchFromGitHub { 3053 owner = "nvim-telescope"; 3054 repo = "telescope.nvim"; 3055 rev = "35f94f0ef32d70e3664a703cefbe71bd1456d899"; 3056 hash = "sha256-AtvZ7b2bg+Iaei4rRzTBYf76vHJH2Yq5tJAJZrZw/pk="; 3057 }; 3058 3059 disabled = lua.luaversion != "5.1"; 3060 propagatedBuildInputs = [ plenary-nvim ]; 3061 3062 meta = { 3063 homepage = "https://github.com/nvim-telescope/telescope.nvim"; 3064 description = "Find, Filter, Preview, Pick. All lua, all the time."; 3065 license.fullName = "MIT"; 3066 }; 3067}) {}; 3068 3069tiktoken_core = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luarocks-build-rust-mlua }: 3070buildLuarocksPackage { 3071 pname = "tiktoken_core"; 3072 version = "0.2.1-1"; 3073 knownRockspec = (fetchurl { 3074 url = "mirror://luarocks/tiktoken_core-0.2.1-1.rockspec"; 3075 sha256 = "0mdmrpg82vmk0cqiqdayyk4vvl299z0xqrg58q18dfs5nc27wkla"; 3076 }).outPath; 3077 src = fetchFromGitHub { 3078 owner = "gptlang"; 3079 repo = "lua-tiktoken"; 3080 rev = "0.2.1"; 3081 hash = "sha256-drSAVGHrdDdaWUEAfCE/2ZCI2nuffpbupO+TVWv/l4Y="; 3082 }; 3083 3084 disabled = luaOlder "5.1"; 3085 propagatedBuildInputs = [ luarocks-build-rust-mlua ]; 3086 3087 meta = { 3088 homepage = "https://github.com/gptlang/lua-tiktoken"; 3089 description = "An experimental port of OpenAI's Tokenizer to lua"; 3090 maintainers = with lib.maintainers; [ natsukium ]; 3091 license.fullName = "MIT"; 3092 }; 3093}) {}; 3094 3095tl = callPackage({ argparse, buildLuarocksPackage, compat53, fetchFromGitHub, fetchurl, luafilesystem }: 3096buildLuarocksPackage { 3097 pname = "tl"; 3098 version = "0.15.3-1"; 3099 knownRockspec = (fetchurl { 3100 url = "mirror://luarocks/tl-0.15.3-1.rockspec"; 3101 sha256 = "15p67r5bjp997pymjq80yn1gyf7r5g2nwkachkwx88100ihblqrc"; 3102 }).outPath; 3103 src = fetchFromGitHub { 3104 owner = "teal-language"; 3105 repo = "tl"; 3106 rev = "v0.15.3"; 3107 hash = "sha256-nkwPYI4uB1rTtcBsZ7TKNPusWXtXViyBDSkiL9UH+Wo="; 3108 }; 3109 3110 propagatedBuildInputs = [ argparse compat53 luafilesystem ]; 3111 3112 meta = { 3113 homepage = "https://github.com/teal-language/tl"; 3114 description = "Teal, a typed dialect of Lua"; 3115 maintainers = with lib.maintainers; [ mephistophiles ]; 3116 license.fullName = "MIT"; 3117 }; 3118}) {}; 3119 3120toml = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: 3121buildLuarocksPackage { 3122 pname = "toml"; 3123 version = "0.3.0-0"; 3124 knownRockspec = (fetchurl { 3125 url = "mirror://luarocks/toml-0.3.0-0.rockspec"; 3126 sha256 = "0y4qdzsvf4xwnr49xcpbqclrq9d6snv83cbdkrchl0cn4cx6zpxy"; 3127 }).outPath; 3128 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ 3129 "url": "https://github.com/LebJe/toml.lua.git", 3130 "rev": "319e9accf8c5cedf68795354ba81e54c817d1277", 3131 "date": "2023-02-19T23:00:49-05:00", 3132 "path": "/nix/store/p6a98sqp9a4jwsw6ghqcwpn9lxmhvkdg-toml.lua", 3133 "sha256": "05p33bq0ajl41vbsw9bx73shpf0p11n5gb6yy8asvp93zh2m51hq", 3134 "hash": "sha256-GIZSBfwj3a0V8t6sV2wIF7gL9Th9Ja7XDoRKBfAa4xY=", 3135 "fetchLFS": false, 3136 "fetchSubmodules": true, 3137 "deepClone": false, 3138 "leaveDotGit": false 3139} 3140 '') ["date" "path" "sha256"]) ; 3141 3142 disabled = (luaOlder "5.1"); 3143 propagatedBuildInputs = [ lua ]; 3144 3145 meta = { 3146 homepage = "https://github.com/LebJe/toml.lua"; 3147 description = "TOML v1.0.0 parser and serializer for Lua. Powered by toml++."; 3148 maintainers = with lib.maintainers; [ mrcjkb ]; 3149 license.fullName = "MIT"; 3150 }; 3151}) {}; 3152 3153toml-edit = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, luarocks-build-rust-mlua }: 3154buildLuarocksPackage { 3155 pname = "toml-edit"; 3156 version = "0.3.6-1"; 3157 knownRockspec = (fetchurl { 3158 url = "mirror://luarocks/toml-edit-0.3.6-1.rockspec"; 3159 sha256 = "18fw256vzvfavfwrnzm507k4h3x2lx9l93ghr1ggsi4mhsnjki46"; 3160 }).outPath; 3161 src = fetchzip { 3162 url = "https://github.com/vhyrro/toml-edit.lua/archive/v0.3.6.zip"; 3163 sha256 = "19v6axraj2n22lmilfr4x9nr40kcjb6wnpsfhf1mh2zy9nsd6ji6"; 3164 }; 3165 3166 disabled = luaOlder "5.1"; 3167 nativeBuildInputs = [ luarocks-build-rust-mlua ]; 3168 3169 meta = { 3170 homepage = "https://github.com/vhyrro/toml-edit.lua"; 3171 description = "TOML Parser + Formatting and Comment-Preserving Editor"; 3172 maintainers = with lib.maintainers; [ mrcjkb ]; 3173 license.fullName = "MIT"; 3174 }; 3175}) {}; 3176 3177tree-sitter-norg = callPackage({ buildLuarocksPackage, fetchurl, fetchzip }: 3178buildLuarocksPackage { 3179 pname = "tree-sitter-norg"; 3180 version = "0.2.4-1"; 3181 knownRockspec = (fetchurl { 3182 url = "mirror://luarocks/tree-sitter-norg-0.2.4-1.rockspec"; 3183 sha256 = "00mgn1kmhhrink64s1yjnz78lc7qbv0f021dsvr6z3b44srhcxb9"; 3184 }).outPath; 3185 src = fetchzip { 3186 url = "https://github.com/nvim-neorg/tree-sitter-norg/archive/v0.2.4.zip"; 3187 sha256 = "08bsk3v61r0xhracanjv25jccqv80ahipx0mv5a1slzhcyymv8kd"; 3188 }; 3189 3190 3191 meta = { 3192 homepage = "https://github.com/nvim-neorg/tree-sitter-norg"; 3193 description = "The official tree-sitter parser for Norg documents."; 3194 license.fullName = "MIT"; 3195 }; 3196}) {}; 3197 3198vstruct = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 3199buildLuarocksPackage { 3200 pname = "vstruct"; 3201 version = "2.1.1-1"; 3202 knownRockspec = (fetchurl { 3203 url = "mirror://luarocks/vstruct-2.1.1-1.rockspec"; 3204 sha256 = "111ff5207hspda9fpj9dqdd699rax0df3abdnfbmdbdy3j07dd04"; 3205 }).outPath; 3206 src = fetchFromGitHub { 3207 owner = "ToxicFrog"; 3208 repo = "vstruct"; 3209 rev = "v2.1.1"; 3210 hash = "sha256-p9yRJ3Kr6WQ4vBSTOVLoX6peNCJW6b6kgXCySg7aiWo="; 3211 }; 3212 3213 disabled = luaOlder "5.1"; 3214 3215 meta = { 3216 homepage = "https://github.com/ToxicFrog/vstruct"; 3217 description = "Lua library to manipulate binary data"; 3218 }; 3219}) {}; 3220 3221vusted = callPackage({ buildLuarocksPackage, busted, fetchFromGitHub, fetchurl, luasystem }: 3222buildLuarocksPackage { 3223 pname = "vusted"; 3224 version = "2.3.4-1"; 3225 knownRockspec = (fetchurl { 3226 url = "mirror://luarocks/vusted-2.3.4-1.rockspec"; 3227 sha256 = "1yzdr0xgsjfr4a80a2zrj58ls0gmms407q4h1dx75sszppzvm1wc"; 3228 }).outPath; 3229 src = fetchFromGitHub { 3230 owner = "notomo"; 3231 repo = "vusted"; 3232 rev = "v2.3.4"; 3233 hash = "sha256-Zh54mHNrbFH5qygzsXVv+Vc7oUP+RIQXBvK+UvaGvxY="; 3234 }; 3235 3236 propagatedBuildInputs = [ busted luasystem ]; 3237 3238 meta = { 3239 homepage = "https://github.com/notomo/vusted"; 3240 description = "`busted` wrapper for testing neovim plugin"; 3241 maintainers = with lib.maintainers; [ figsoda ]; 3242 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 3243 }; 3244}) {}; 3245 3246xml2lua = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: 3247buildLuarocksPackage { 3248 pname = "xml2lua"; 3249 version = "1.5-2"; 3250 knownRockspec = (fetchurl { 3251 url = "mirror://luarocks/xml2lua-1.5-2.rockspec"; 3252 sha256 = "1h0zszjzi65jc2rmpam7ai38sx2ph09q66jkik5mgzr6cxm1cm4h"; 3253 }).outPath; 3254 src = fetchFromGitHub { 3255 owner = "manoelcampos"; 3256 repo = "xml2lua"; 3257 rev = "v1.5-2"; 3258 hash = "sha256-hDCUTM+EM9Z+rCg+CbL6qLzY/5qaz6J1Q2khfBlkY+4="; 3259 }; 3260 3261 disabled = luaOlder "5.1"; 3262 3263 meta = { 3264 homepage = "http://manoelcampos.github.io/xml2lua/"; 3265 description = "An XML Parser written entirely in Lua that works for Lua 5.1+"; 3266 maintainers = with lib.maintainers; [ teto ]; 3267 license.fullName = "MIT"; 3268 }; 3269}) {}; 3270 3271 3272} 3273/* GENERATED - do not edit this file */