at master 146 kB view raw
1/* 2 pkgs/development/lua-modules/generated-packages.nix is an auto-generated file -- DO NOT EDIT! 3 Regenerate it with: nix run nixpkgs#luarocks-packages-updater 4 You can customize the generated packages in pkgs/development/lua-modules/overrides.nix 5*/ 6 7{ 8 stdenv, 9 lib, 10 fetchurl, 11 fetchgit, 12 callPackage, 13 ... 14}: 15final: prev: { 16 alt-getopt = callPackage ( 17 { 18 buildLuarocksPackage, 19 fetchFromGitHub, 20 fetchurl, 21 luaOlder, 22 }: 23 buildLuarocksPackage { 24 pname = "alt-getopt"; 25 version = "0.8.0-2"; 26 knownRockspec = 27 (fetchurl { 28 url = "mirror://luarocks/alt-getopt-0.8.0-2.rockspec"; 29 sha256 = "1x1wb351n8c9aghgrlwkjg4crriwby18drzrz3280mw9cildg11v"; 30 }).outPath; 31 src = fetchFromGitHub { 32 owner = "cheusov"; 33 repo = "lua-alt-getopt"; 34 rev = "0.8.0"; 35 hash = "sha256-OxtMNB8++cVQ/gQjntLUt3WYopGhYb1VbIUAZEzJB88="; 36 }; 37 38 disabled = luaOlder "5.1"; 39 40 meta = { 41 homepage = "https://github.com/cheusov/lua-alt-getopt"; 42 description = "Process application arguments the same way as getopt_long"; 43 maintainers = with lib.maintainers; [ arobyn ]; 44 license.fullName = "MIT/X11"; 45 }; 46 } 47 ) { }; 48 49 ansicolors = callPackage ( 50 { 51 buildLuarocksPackage, 52 fetchurl, 53 luaOlder, 54 }: 55 buildLuarocksPackage { 56 pname = "ansicolors"; 57 version = "1.0.2-3"; 58 knownRockspec = 59 (fetchurl { 60 url = "mirror://luarocks/ansicolors-1.0.2-3.rockspec"; 61 sha256 = "19y962xdx5ldl3596ywdl7n825dffz9al6j6rx6pbgmhb7pi8s5v"; 62 }).outPath; 63 src = fetchurl { 64 url = "https://github.com/kikito/ansicolors.lua/archive/v1.0.2.tar.gz"; 65 sha256 = "0r4xi57njldmar9pn77l0vr5701rpmilrm51spv45lz0q9js8xps"; 66 }; 67 68 disabled = luaOlder "5.1"; 69 70 meta = { 71 homepage = "https://github.com/kikito/ansicolors.lua"; 72 description = "Library for color Manipulation."; 73 maintainers = with lib.maintainers; [ Freed-Wu ]; 74 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 75 }; 76 } 77 ) { }; 78 79 argparse = callPackage ( 80 { 81 buildLuarocksPackage, 82 fetchurl, 83 fetchzip, 84 luaAtLeast, 85 luaOlder, 86 }: 87 buildLuarocksPackage { 88 pname = "argparse"; 89 version = "0.7.1-1"; 90 knownRockspec = 91 (fetchurl { 92 url = "mirror://luarocks/argparse-0.7.1-1.rockspec"; 93 sha256 = "116iaczq6glzzin6qqa2zn7i22hdyzzsq6mzjiqnz6x1qmi0hig8"; 94 }).outPath; 95 src = fetchzip { 96 url = "https://github.com/luarocks/argparse/archive/0.7.1.zip"; 97 sha256 = "0idg79d0dfis4qhbkbjlmddq87np75hb2vj41i6prjpvqacvg5v1"; 98 }; 99 100 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 101 102 meta = { 103 homepage = "https://github.com/luarocks/argparse"; 104 description = "A feature-rich command-line argument parser"; 105 license.fullName = "MIT"; 106 }; 107 } 108 ) { }; 109 110 basexx = callPackage ( 111 { 112 buildLuarocksPackage, 113 fetchurl, 114 luaOlder, 115 }: 116 buildLuarocksPackage { 117 pname = "basexx"; 118 version = "0.4.1-1"; 119 knownRockspec = 120 (fetchurl { 121 url = "mirror://luarocks/basexx-0.4.1-1.rockspec"; 122 sha256 = "0kmydxm2wywl18cgj303apsx7hnfd68a9hx9yhq10fj7yfcxzv5f"; 123 }).outPath; 124 src = fetchurl { 125 url = "https://github.com/aiq/basexx/archive/v0.4.1.tar.gz"; 126 sha256 = "1rnz6xixxqwy0q6y2hi14rfid4w47h69gfi0rnlq24fz8q2b0qpz"; 127 }; 128 129 disabled = luaOlder "5.1"; 130 131 meta = { 132 homepage = "https://github.com/aiq/basexx"; 133 description = "A base2, base16, base32, base64 and base85 library for Lua"; 134 license.fullName = "MIT"; 135 }; 136 } 137 ) { }; 138 139 binaryheap = callPackage ( 140 { 141 buildLuarocksPackage, 142 fetchurl, 143 luaOlder, 144 }: 145 buildLuarocksPackage { 146 pname = "binaryheap"; 147 version = "0.4-1"; 148 knownRockspec = 149 (fetchurl { 150 url = "mirror://luarocks/binaryheap-0.4-1.rockspec"; 151 sha256 = "1ah37lhskmrb26by5ygs7jblx7qnf6mphgw8kwhw0yacvmkcbql4"; 152 }).outPath; 153 src = fetchurl { 154 url = "https://github.com/Tieske/binaryheap.lua/archive/version_0v4.tar.gz"; 155 sha256 = "0f5l4nb5s7dycbkgh3rrl7pf0npcf9k6m2gr2bsn09fjyb3bdc8h"; 156 }; 157 158 disabled = luaOlder "5.1"; 159 160 meta = { 161 homepage = "https://github.com/Tieske/binaryheap.lua"; 162 description = "Binary heap implementation in pure Lua"; 163 maintainers = with lib.maintainers; [ vcunat ]; 164 license.fullName = "MIT/X11"; 165 }; 166 } 167 ) { }; 168 169 bit32 = callPackage ( 170 { 171 buildLuarocksPackage, 172 fetchurl, 173 fetchzip, 174 luaAtLeast, 175 luaOlder, 176 }: 177 buildLuarocksPackage { 178 pname = "bit32"; 179 version = "5.3.5.1-1"; 180 knownRockspec = 181 (fetchurl { 182 url = "mirror://luarocks/bit32-5.3.5.1-1.rockspec"; 183 sha256 = "11mg0hmmil92hkwamm91ghih6ys9pqsakx0z9jgnqxymnl887j51"; 184 }).outPath; 185 src = fetchzip { 186 url = "https://github.com/keplerproject/lua-compat-5.3/archive/v0.10.zip"; 187 sha256 = "1caxn228gx48g6kymp9w7kczgxcg0v0cd5ixsx8viybzkd60dcn4"; 188 }; 189 190 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 191 192 meta = { 193 homepage = "http://www.lua.org/manual/5.2/manual.html#6.7"; 194 description = "Lua 5.2 bit manipulation library"; 195 maintainers = with lib.maintainers; [ lblasc ]; 196 license.fullName = "MIT"; 197 }; 198 } 199 ) { }; 200 201 busted = callPackage ( 202 { 203 buildLuarocksPackage, 204 dkjson, 205 fetchFromGitHub, 206 fetchurl, 207 lua-term, 208 luaOlder, 209 lua_cliargs, 210 luassert, 211 luasystem, 212 mediator_lua, 213 penlight, 214 say, 215 }: 216 buildLuarocksPackage { 217 pname = "busted"; 218 version = "2.2.0-1"; 219 knownRockspec = 220 (fetchurl { 221 url = "mirror://luarocks/busted-2.2.0-1.rockspec"; 222 sha256 = "0h4zk4lcm40wg3l0vgjn6lsyh9yayhljx65a0pz5n99dxal8lgnf"; 223 }).outPath; 224 src = fetchFromGitHub { 225 owner = "lunarmodules"; 226 repo = "busted"; 227 rev = "v2.2.0"; 228 hash = "sha256-5LxPqmoUwR3XaIToKUgap0L/sNS9uOV080MIenyLnl8="; 229 }; 230 231 disabled = luaOlder "5.1"; 232 propagatedBuildInputs = [ 233 dkjson 234 lua-term 235 lua_cliargs 236 luassert 237 luasystem 238 mediator_lua 239 penlight 240 say 241 ]; 242 243 meta = { 244 homepage = "https://lunarmodules.github.io/busted/"; 245 description = "Elegant Lua unit testing"; 246 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 247 }; 248 } 249 ) { }; 250 251 busted-htest = callPackage ( 252 { 253 buildLuarocksPackage, 254 fetchFromGitHub, 255 fetchurl, 256 }: 257 buildLuarocksPackage { 258 pname = "busted-htest"; 259 version = "1.0.0-2"; 260 knownRockspec = 261 (fetchurl { 262 url = "mirror://luarocks/busted-htest-1.0.0-2.rockspec"; 263 sha256 = "10d2pbh2rfy4ygp40h8br4w5j1z5syq5pn6knd4bbnacmswnmcdl"; 264 }).outPath; 265 src = fetchFromGitHub { 266 owner = "hishamhm"; 267 repo = "busted-htest"; 268 rev = "1.0.0"; 269 hash = "sha256-tGAQUSeDt+OV/TBAJo/JFdyeBRRZaIQEJG+SKcCaQhs="; 270 }; 271 272 meta = { 273 homepage = "https://github.com/hishamhm/busted-htest"; 274 description = "A pretty output handler for Busted"; 275 maintainers = with lib.maintainers; [ mrcjkb ]; 276 license.fullName = "MIT"; 277 }; 278 } 279 ) { }; 280 281 cassowary = callPackage ( 282 { 283 buildLuarocksPackage, 284 fetchFromGitHub, 285 fetchurl, 286 luaOlder, 287 penlight, 288 }: 289 buildLuarocksPackage { 290 pname = "cassowary"; 291 version = "2.3.2-1"; 292 knownRockspec = 293 (fetchurl { 294 url = "mirror://luarocks/cassowary-2.3.2-1.rockspec"; 295 sha256 = "0c6sflm8zpgbcdj47s3rd34h69h3nqcciaaqd1wdx5m0lwc3mii0"; 296 }).outPath; 297 src = fetchFromGitHub { 298 owner = "sile-typesetter"; 299 repo = "cassowary.lua"; 300 rev = "v2.3.2"; 301 hash = "sha256-wIVuf1L3g2BCM+zW4Nt1IyU6xaP4yYuzxHjVDxsgdNM="; 302 }; 303 304 disabled = luaOlder "5.1"; 305 propagatedBuildInputs = [ penlight ]; 306 307 meta = { 308 homepage = "https://github.com/sile-typesetter/cassowary.lua"; 309 description = "The cassowary constraint solver"; 310 maintainers = with lib.maintainers; [ alerque ]; 311 license.fullName = "Apache 2"; 312 }; 313 } 314 ) { }; 315 316 cldr = callPackage ( 317 { 318 buildLuarocksPackage, 319 fetchFromGitHub, 320 fetchurl, 321 luaOlder, 322 penlight, 323 }: 324 buildLuarocksPackage { 325 pname = "cldr"; 326 version = "0.3.0-0"; 327 knownRockspec = 328 (fetchurl { 329 url = "mirror://luarocks/cldr-0.3.0-0.rockspec"; 330 sha256 = "1fnr8k713w21v7hc64s4w5lgcgnbphq3gm69pisc2s4wq2fkija1"; 331 }).outPath; 332 src = fetchFromGitHub { 333 owner = "alerque"; 334 repo = "cldr-lua"; 335 rev = "v0.3.0"; 336 hash = "sha256-5LY0YxHACtreP38biDZD97bkPuuT7an/Z1VBXEJYjkI="; 337 }; 338 339 disabled = luaOlder "5.1"; 340 propagatedBuildInputs = [ penlight ]; 341 342 meta = { 343 homepage = "https://github.com/alerque/cldr-lua"; 344 description = "Lua interface to Unicode CLDR data"; 345 maintainers = with lib.maintainers; [ alerque ]; 346 license.fullName = "MIT/ICU"; 347 }; 348 } 349 ) { }; 350 351 commons-nvim = callPackage ( 352 { 353 buildLuarocksPackage, 354 fetchurl, 355 fetchzip, 356 luaOlder, 357 }: 358 buildLuarocksPackage { 359 pname = "commons.nvim"; 360 version = "27.0.0-1"; 361 knownRockspec = 362 (fetchurl { 363 url = "mirror://luarocks/commons.nvim-27.0.0-1.rockspec"; 364 sha256 = "0gz1943nrlpi7pq4izip6fb0pkfk13h5322qhynx27m82nm129mq"; 365 }).outPath; 366 src = fetchzip { 367 url = "https://github.com/linrongbin16/commons.nvim/archive/ac18006fe9e47cf6e53c79e333465d5a75455357.zip"; 368 sha256 = "10qlgly499lyhvmhj5lqv4jqzyrlx6h7h7gjbyrgzpjqyjr99m1l"; 369 }; 370 371 disabled = luaOlder "5.1"; 372 373 meta = { 374 homepage = "https://linrongbin16.github.io/commons.nvim/"; 375 description = "The commons lua library for Neovim plugin project."; 376 maintainers = with lib.maintainers; [ mrcjkb ]; 377 license.fullName = "MIT"; 378 }; 379 } 380 ) { }; 381 382 compat53 = callPackage ( 383 { 384 buildLuarocksPackage, 385 fetchurl, 386 fetchzip, 387 luaAtLeast, 388 luaOlder, 389 }: 390 buildLuarocksPackage { 391 pname = "compat53"; 392 version = "0.14.4-1"; 393 knownRockspec = 394 (fetchurl { 395 url = "mirror://luarocks/compat53-0.14.4-1.rockspec"; 396 sha256 = "01ahfb6g7ibxrlvypvrsry4pwzfj978afjfa9c5w1s7ahjf95d40"; 397 }).outPath; 398 src = fetchzip { 399 url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.14.4.zip"; 400 sha256 = "16mvf6qq290m8pla3fq3r6d6fmbbysjy8b5rxi40hchs4ngrn847"; 401 }; 402 403 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 404 405 meta = { 406 homepage = "https://github.com/lunarmodules/lua-compat-5.3"; 407 description = "Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1"; 408 maintainers = with lib.maintainers; [ vcunat ]; 409 license.fullName = "MIT"; 410 }; 411 } 412 ) { }; 413 414 cosmo = callPackage ( 415 { 416 buildLuarocksPackage, 417 fetchFromGitHub, 418 fetchurl, 419 lpeg, 420 }: 421 buildLuarocksPackage { 422 pname = "cosmo"; 423 version = "16.06.04-1"; 424 knownRockspec = 425 (fetchurl { 426 url = "mirror://luarocks/cosmo-16.06.04-1.rockspec"; 427 sha256 = "0ipv1hrlhvaz1myz6qxabq7b7kb3bz456cya3r292487a3g9h9pb"; 428 }).outPath; 429 src = fetchFromGitHub { 430 owner = "mascarenhas"; 431 repo = "cosmo"; 432 rev = "v16.06.04"; 433 hash = "sha256-mJE5GkDnfZ3qAQyyyKj+aXOtlITeYs8lerGJSTzU/Tk="; 434 }; 435 436 propagatedBuildInputs = [ lpeg ]; 437 438 meta = { 439 homepage = "http://cosmo.luaforge.net"; 440 description = "Safe templates for Lua"; 441 license.fullName = "MIT/X11"; 442 }; 443 } 444 ) { }; 445 446 coxpcall = callPackage ( 447 { 448 buildLuarocksPackage, 449 fetchFromGitHub, 450 fetchurl, 451 }: 452 buildLuarocksPackage { 453 pname = "coxpcall"; 454 version = "1.17.0-1"; 455 knownRockspec = 456 (fetchurl { 457 url = "mirror://luarocks/coxpcall-1.17.0-1.rockspec"; 458 sha256 = "0mf0nggg4ajahy5y1q5zh2zx9rmgzw06572bxx6k8b736b8j7gca"; 459 }).outPath; 460 src = fetchFromGitHub { 461 owner = "keplerproject"; 462 repo = "coxpcall"; 463 rev = "v1_17_0"; 464 hash = "sha256-EW8pGI9jiGutNVNmyiCP5sIVYZe2rJQc03OrKXIOeMw="; 465 }; 466 467 meta = { 468 homepage = "http://keplerproject.github.io/coxpcall"; 469 description = "Coroutine safe xpcall and pcall"; 470 license.fullName = "MIT/X11"; 471 }; 472 } 473 ) { }; 474 475 cqueues = callPackage ( 476 { 477 buildLuarocksPackage, 478 fetchurl, 479 lua, 480 }: 481 buildLuarocksPackage { 482 pname = "cqueues"; 483 version = "20200726.52-0"; 484 knownRockspec = 485 (fetchurl { 486 url = "mirror://luarocks/cqueues-20200726.52-0.rockspec"; 487 sha256 = "0w2kq9w0wda56k02rjmvmzccz6bc3mn70s9v7npjadh85i5zlhhp"; 488 }).outPath; 489 src = fetchurl { 490 url = "https://github.com/wahern/cqueues/archive/rel-20200726.tar.gz"; 491 sha256 = "0lhd02ag3r1sxr2hx847rdjkddm04l1vf5234v5cz9bd4kfjw4cy"; 492 }; 493 494 disabled = lua.luaversion != "5.2"; 495 496 meta = { 497 homepage = "http://25thandclement.com/~william/projects/cqueues.html"; 498 description = "Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix."; 499 maintainers = with lib.maintainers; [ vcunat ]; 500 license.fullName = "MIT/X11"; 501 }; 502 } 503 ) { }; 504 505 cyan = callPackage ( 506 { 507 argparse, 508 buildLuarocksPackage, 509 fetchFromGitHub, 510 fetchurl, 511 luafilesystem, 512 luasystem, 513 tl, 514 }: 515 buildLuarocksPackage { 516 pname = "cyan"; 517 version = "0.4.1-1"; 518 knownRockspec = 519 (fetchurl { 520 url = "mirror://luarocks/cyan-0.4.1-1.rockspec"; 521 sha256 = "0m0br7fvczkaqx6zqj7ykmivw7fnizvi34cqp2mvzxn30hsa4hyw"; 522 }).outPath; 523 src = fetchFromGitHub { 524 owner = "teal-language"; 525 repo = "cyan"; 526 rev = "v0.4.1"; 527 hash = "sha256-jvBmOC1SMnuwgwtK6sPCDma+S5RyhItc6YjzMPULzSw="; 528 }; 529 530 propagatedBuildInputs = [ 531 argparse 532 luafilesystem 533 luasystem 534 tl 535 ]; 536 537 meta = { 538 homepage = "https://github.com/teal-language/cyan"; 539 description = "A build system for the Teal language"; 540 license.fullName = "MIT"; 541 }; 542 } 543 ) { }; 544 545 datafile = callPackage ( 546 { 547 buildLuarocksPackage, 548 fetchFromGitHub, 549 fetchurl, 550 luaOlder, 551 }: 552 buildLuarocksPackage { 553 pname = "datafile"; 554 version = "0.11-1"; 555 knownRockspec = 556 (fetchurl { 557 url = "mirror://luarocks/datafile-0.11-1.rockspec"; 558 sha256 = "09i0yqakzc342f2qqa0yxkdyz55y9s5v036x3xjwpfjry8yywc6q"; 559 }).outPath; 560 src = fetchFromGitHub { 561 owner = "hishamhm"; 562 repo = "datafile"; 563 rev = "v0.11"; 564 hash = "sha256-aHdxFJ2IB9v9UMK7vqk7tUA0rLmfvRd0nzhc9JO8AlQ="; 565 }; 566 567 disabled = luaOlder "5.1"; 568 569 meta = { 570 homepage = "http://github.com/hishamhm/datafile"; 571 description = "A library for handling paths when loading data files"; 572 license.fullName = "MIT/X11"; 573 }; 574 } 575 ) { }; 576 577 digestif = callPackage ( 578 { 579 buildLuarocksPackage, 580 fetchFromGitHub, 581 fetchurl, 582 lpeg, 583 luaOlder, 584 luafilesystem, 585 }: 586 buildLuarocksPackage { 587 pname = "digestif"; 588 version = "0.6-1"; 589 knownRockspec = 590 (fetchurl { 591 url = "mirror://luarocks/digestif-0.6-1.rockspec"; 592 sha256 = "0hp7r97b6ivywaxb02cbnm23gjz71mak5ag6m3hi7f3mjqxxxh8k"; 593 }).outPath; 594 src = fetchFromGitHub { 595 owner = "astoff"; 596 repo = "digestif"; 597 rev = "v0.6"; 598 hash = "sha256-sGwKt9suRVNrbRJlhNMHzc5r4sK/fvUc7smxmxmrn8Y="; 599 }; 600 601 disabled = luaOlder "5.3"; 602 propagatedBuildInputs = [ 603 lpeg 604 luafilesystem 605 ]; 606 607 meta = { 608 homepage = "https://github.com/astoff/digestif/"; 609 description = "A code analyzer for TeX"; 610 license.fullName = "GPLv3+ and other free licenses"; 611 }; 612 } 613 ) { }; 614 615 dkjson = callPackage ( 616 { 617 buildLuarocksPackage, 618 fetchurl, 619 luaAtLeast, 620 luaOlder, 621 }: 622 buildLuarocksPackage { 623 pname = "dkjson"; 624 version = "2.8-1"; 625 knownRockspec = 626 (fetchurl { 627 url = "mirror://luarocks/dkjson-2.8-1.rockspec"; 628 hash = "sha256-arasJeX7yQ2Rg70RyepiGNvLdiyQz8Wn4HXrdTEIBBg="; 629 }).outPath; 630 src = fetchurl { 631 url = "http://dkolf.de/dkjson-lua/dkjson-2.8.tar.gz"; 632 hash = "sha256-JOjNO+uRwchh63uz+8m9QYu/+a1KpdBHGBYlgjajFTI="; 633 }; 634 635 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 636 637 meta = { 638 homepage = "http://dkolf.de/dkjson-lua/"; 639 description = "David Kolf's JSON module for Lua"; 640 license.fullName = "MIT/X11"; 641 }; 642 } 643 ) { }; 644 645 fennel = callPackage ( 646 { 647 buildLuarocksPackage, 648 fetchFromGitHub, 649 fetchurl, 650 luaOlder, 651 }: 652 buildLuarocksPackage { 653 pname = "fennel"; 654 version = "1.5.3-1"; 655 knownRockspec = 656 (fetchurl { 657 url = "mirror://luarocks/fennel-1.5.3-1.rockspec"; 658 sha256 = "1nlibaa6zlik0c164z4c57yy3zizqx8q0wifql5x4ya3s0bn0d9r"; 659 }).outPath; 660 src = fetchFromGitHub { 661 owner = "bakpakin"; 662 repo = "Fennel"; 663 rev = "1.5.3"; 664 hash = "sha256-7Tq6Vx032jxnfPmtsKiTBQ/yH8vHO8+wMoQHZSIevWY="; 665 }; 666 667 disabled = luaOlder "5.1"; 668 669 meta = { 670 homepage = "https://fennel-lang.org"; 671 description = "A lisp that compiles to Lua"; 672 maintainers = with lib.maintainers; [ misterio77 ]; 673 license.fullName = "MIT"; 674 }; 675 } 676 ) { }; 677 678 fidget-nvim = callPackage ( 679 { 680 buildLuarocksPackage, 681 fetchurl, 682 fetchzip, 683 luaOlder, 684 }: 685 buildLuarocksPackage { 686 pname = "fidget.nvim"; 687 version = "1.6.0-1"; 688 knownRockspec = 689 (fetchurl { 690 url = "mirror://luarocks/fidget.nvim-1.6.0-1.rockspec"; 691 sha256 = "1jra7xv2ifsy5p3zwbiv70ynligjh8wx48ykmbi2cagd2vz9arwz"; 692 }).outPath; 693 src = fetchzip { 694 url = "https://github.com/j-hui/fidget.nvim/archive/v1.6.0.zip"; 695 sha256 = "120q3dzq142xda1bzw8chf02k86dw21n8qjznlaxxpqlpk9sl6hr"; 696 }; 697 698 disabled = luaOlder "5.1"; 699 700 meta = { 701 homepage = "https://github.com/j-hui/fidget.nvim"; 702 description = "Extensible UI for Neovim notifications and LSP progress messages."; 703 maintainers = with lib.maintainers; [ mrcjkb ]; 704 license.fullName = "MIT"; 705 }; 706 } 707 ) { }; 708 709 fifo = callPackage ( 710 { 711 buildLuarocksPackage, 712 fetchurl, 713 fetchzip, 714 }: 715 buildLuarocksPackage { 716 pname = "fifo"; 717 version = "0.2-0"; 718 knownRockspec = 719 (fetchurl { 720 url = "mirror://luarocks/fifo-0.2-0.rockspec"; 721 sha256 = "0vr9apmai2cyra2n573nr3dyk929gzcs4nm1096jdxcixmvh2ymq"; 722 }).outPath; 723 src = fetchzip { 724 url = "https://github.com/daurnimator/fifo.lua/archive/0.2.zip"; 725 sha256 = "1800k7h5hxsvm05bjdr65djjml678lwb0661cll78z1ys2037nzn"; 726 }; 727 728 meta = { 729 homepage = "https://github.com/daurnimator/fifo.lua"; 730 description = "A lua library/'class' that implements a FIFO"; 731 license.fullName = "MIT/X11"; 732 }; 733 } 734 ) { }; 735 736 fluent = callPackage ( 737 { 738 buildLuarocksPackage, 739 cldr, 740 fetchFromGitHub, 741 fetchurl, 742 luaOlder, 743 luaepnf, 744 penlight, 745 }: 746 buildLuarocksPackage { 747 pname = "fluent"; 748 version = "0.2.0-0"; 749 knownRockspec = 750 (fetchurl { 751 url = "mirror://luarocks/fluent-0.2.0-0.rockspec"; 752 sha256 = "1x3nk8xdf923rvdijr0jx8v6w3wxxfch7ri3kxca0pw80b5bc2fa"; 753 }).outPath; 754 src = fetchFromGitHub { 755 owner = "alerque"; 756 repo = "fluent-lua"; 757 rev = "v0.2.0"; 758 hash = "sha256-uDJWhQ/fDD9ZbYOgPk1FDlU3A3DAZw3Ujx92BglFWoo="; 759 }; 760 761 disabled = luaOlder "5.1"; 762 propagatedBuildInputs = [ 763 cldr 764 luaepnf 765 penlight 766 ]; 767 768 meta = { 769 homepage = "https://github.com/alerque/fluent-lua"; 770 description = "Lua implementation of Project Fluent"; 771 maintainers = with lib.maintainers; [ alerque ]; 772 license.fullName = "MIT"; 773 }; 774 } 775 ) { }; 776 777 funnyfiles-nvim = callPackage ( 778 { 779 buildLuarocksPackage, 780 fetchurl, 781 fetchzip, 782 luaOlder, 783 }: 784 buildLuarocksPackage { 785 pname = "funnyfiles.nvim"; 786 version = "1.0.1-1"; 787 knownRockspec = 788 (fetchurl { 789 url = "mirror://luarocks/funnyfiles.nvim-1.0.1-1.rockspec"; 790 sha256 = "1r3cgx8wvc1c4syk167m94ws513g0cdmmxnymf3zyidlszdwamy5"; 791 }).outPath; 792 src = fetchzip { 793 url = "https://github.com/aikooo7/funnyfiles.nvim/archive/v1.0.1.zip"; 794 sha256 = "00p026r05gldbf18mmv8da9ap09di8dhy0rrd586pr2s2s36nzpd"; 795 }; 796 797 disabled = luaOlder "5.1"; 798 799 meta = { 800 homepage = "https://github.com/aikooo7/funnyfiles.nvim"; 801 description = "This plugin is a way of creating/deleting files/folders without needing to open a file explorer."; 802 maintainers = with lib.maintainers; [ mrcjkb ]; 803 license.fullName = "MIT"; 804 }; 805 } 806 ) { }; 807 808 fzf-lua = callPackage ( 809 { 810 buildLuarocksPackage, 811 fetchurl, 812 fetchzip, 813 luaOlder, 814 }: 815 buildLuarocksPackage { 816 pname = "fzf-lua"; 817 version = "0.0.2246-1"; 818 knownRockspec = 819 (fetchurl { 820 url = "mirror://luarocks/fzf-lua-0.0.2246-1.rockspec"; 821 sha256 = "0lppmjwb4q4czcyavg76awvgjak2xx8sczmgpg1ync936yh0fk60"; 822 }).outPath; 823 src = fetchzip { 824 url = "https://github.com/ibhagwan/fzf-lua/archive/7b730b69985e33c14bff3bdafd1a2c82fdfa1376.zip"; 825 sha256 = "0fzjwfqk1204bad1rjj0dh0nb8amwmm1gvd0q4qxmjh6wsjqs8im"; 826 }; 827 828 disabled = luaOlder "5.1"; 829 830 meta = { 831 homepage = "https://github.com/ibhagwan/fzf-lua"; 832 description = "Improved fzf.vim written in lua"; 833 maintainers = with lib.maintainers; [ mrcjkb ]; 834 license.fullName = "AGPL-3.0"; 835 }; 836 } 837 ) { }; 838 839 fzy = callPackage ( 840 { 841 buildLuarocksPackage, 842 fetchurl, 843 fetchzip, 844 luaOlder, 845 }: 846 buildLuarocksPackage { 847 pname = "fzy"; 848 version = "1.0.3-1"; 849 knownRockspec = 850 (fetchurl { 851 url = "mirror://luarocks/fzy-1.0.3-1.rockspec"; 852 sha256 = "07d07afjs73bl5krfbaqx4pw2wpfrkyw2iksamkfa8dlqn9ajn1a"; 853 }).outPath; 854 src = fetchzip { 855 url = "https://github.com/swarn/fzy-lua/archive/v1.0.3.zip"; 856 sha256 = "0w3alddhn0jd19vmminbi1b79mzlagyl1lygmfpxhzzccdv4vapm"; 857 }; 858 859 disabled = luaOlder "5.1"; 860 861 meta = { 862 homepage = "https://github.com/swarn/fzy-lua"; 863 description = "A lua implementation of the fzy fuzzy matching algorithm"; 864 maintainers = with lib.maintainers; [ mrcjkb ]; 865 license.fullName = "MIT"; 866 }; 867 } 868 ) { }; 869 870 gitsigns-nvim = callPackage ( 871 { 872 buildLuarocksPackage, 873 fetchFromGitHub, 874 lua, 875 }: 876 buildLuarocksPackage { 877 pname = "gitsigns.nvim"; 878 version = "scm-1"; 879 880 src = fetchFromGitHub { 881 owner = "lewis6991"; 882 repo = "gitsigns.nvim"; 883 rev = "23ae90a2a52fdc9b8c50dc61d6c30ebb18521343"; 884 hash = "sha256-8VIW+tPttYTn2vqiYJCZ5ckqFEBGc38rkfla/puYPUQ="; 885 }; 886 887 disabled = lua.luaversion != "5.1"; 888 889 meta = { 890 homepage = "https://github.com/lewis6991/gitsigns.nvim"; 891 description = "Git signs written in pure lua"; 892 license.fullName = "MIT/X11"; 893 }; 894 } 895 ) { }; 896 897 grug-far-nvim = callPackage ( 898 { 899 buildLuarocksPackage, 900 fetchurl, 901 fetchzip, 902 luaOlder, 903 }: 904 buildLuarocksPackage { 905 pname = "grug-far.nvim"; 906 version = "1.6.48-1"; 907 knownRockspec = 908 (fetchurl { 909 url = "mirror://luarocks/grug-far.nvim-1.6.48-1.rockspec"; 910 sha256 = "02x3rzxz610942xy98zbzz3whcslvqwcpiyjzlw94km1h7m5a3kq"; 911 }).outPath; 912 src = fetchzip { 913 url = "https://github.com/MagicDuck/grug-far.nvim/archive/50d9ee2b5a19634670441948e7e4afaa042f1059.zip"; 914 sha256 = "0pbwlp5i4aq1ffqbcnjf62ygb73b1svyh5ly4vyq6x7jnc0g416g"; 915 }; 916 917 disabled = luaOlder "5.1"; 918 919 meta = { 920 homepage = "https://github.com/MagicDuck/grug-far.nvim"; 921 description = "Find And Replace plugin for neovim"; 922 maintainers = with lib.maintainers; [ teto ]; 923 license.fullName = "MIT"; 924 }; 925 } 926 ) { }; 927 928 haskell-tools-nvim = callPackage ( 929 { 930 buildLuarocksPackage, 931 fetchurl, 932 fetchzip, 933 luaOlder, 934 }: 935 buildLuarocksPackage { 936 pname = "haskell-tools.nvim"; 937 version = "6.2.0-1"; 938 knownRockspec = 939 (fetchurl { 940 url = "mirror://luarocks/haskell-tools.nvim-6.2.0-1.rockspec"; 941 sha256 = "0y7z59sf0pa1awj7vx3h4lfcmbkv2f933a5lmy9k7sa6zcmrdd7i"; 942 }).outPath; 943 src = fetchzip { 944 url = "https://github.com/mrcjkb/haskell-tools.nvim/archive/v6.2.0.zip"; 945 sha256 = "123sa84kanmh80bqqqymziyzdr7gwag4m432iabbx9708qmx62c2"; 946 }; 947 948 disabled = luaOlder "5.1"; 949 950 meta = { 951 homepage = "https://github.com/mrcjkb/haskell-tools.nvim"; 952 description = "🦥 Supercharge your Haskell experience in neovim!"; 953 maintainers = with lib.maintainers; [ mrcjkb ]; 954 license.fullName = "GPL-2.0"; 955 }; 956 } 957 ) { }; 958 959 http = callPackage ( 960 { 961 basexx, 962 binaryheap, 963 bit32, 964 buildLuarocksPackage, 965 compat53, 966 cqueues, 967 fetchurl, 968 fetchzip, 969 fifo, 970 lpeg, 971 lpeg_patterns, 972 luaOlder, 973 luaossl, 974 }: 975 buildLuarocksPackage { 976 pname = "http"; 977 version = "0.4-0"; 978 knownRockspec = 979 (fetchurl { 980 url = "mirror://luarocks/http-0.4-0.rockspec"; 981 sha256 = "0kbf7ybjyj6408sdrmh1jb0ig5klfc8mqcwz6gv6rd6ywn47qifq"; 982 }).outPath; 983 src = fetchzip { 984 url = "https://github.com/daurnimator/lua-http/archive/v0.4.zip"; 985 sha256 = "0252mc3mns1ni98hhcgnb3pmb53lk6nzr0jgqin0ggcavyxycqb2"; 986 }; 987 988 disabled = luaOlder "5.1"; 989 propagatedBuildInputs = [ 990 basexx 991 binaryheap 992 bit32 993 compat53 994 cqueues 995 fifo 996 lpeg 997 lpeg_patterns 998 luaossl 999 ]; 1000 1001 meta = { 1002 homepage = "https://github.com/daurnimator/lua-http"; 1003 description = "HTTP library for Lua"; 1004 maintainers = with lib.maintainers; [ vcunat ]; 1005 license.fullName = "MIT"; 1006 }; 1007 } 1008 ) { }; 1009 1010 image-nvim = callPackage ( 1011 { 1012 buildLuarocksPackage, 1013 fetchurl, 1014 fetchzip, 1015 luaOlder, 1016 magick, 1017 }: 1018 buildLuarocksPackage { 1019 pname = "image.nvim"; 1020 version = "1.3.0-1"; 1021 knownRockspec = 1022 (fetchurl { 1023 url = "mirror://luarocks/image.nvim-1.3.0-1.rockspec"; 1024 sha256 = "1ls3v5xcgmqmscqk5prpj0q9sy0946rfb2dfva5f1axb5x4jbvj9"; 1025 }).outPath; 1026 src = fetchzip { 1027 url = "https://github.com/3rd/image.nvim/archive/v1.3.0.zip"; 1028 sha256 = "0fbc3wvzsck8bbz8jz5piy68w1xmq5cnhaj1lw91d8hkyjryrznr"; 1029 }; 1030 1031 disabled = luaOlder "5.1"; 1032 propagatedBuildInputs = [ magick ]; 1033 1034 meta = { 1035 homepage = "https://github.com/3rd/image.nvim"; 1036 description = "🖼 Bringing images to Neovim."; 1037 maintainers = with lib.maintainers; [ teto ]; 1038 license.fullName = "MIT"; 1039 }; 1040 } 1041 ) { }; 1042 1043 inspect = callPackage ( 1044 { 1045 buildLuarocksPackage, 1046 fetchurl, 1047 luaOlder, 1048 }: 1049 buildLuarocksPackage { 1050 pname = "inspect"; 1051 version = "3.1.3-0"; 1052 knownRockspec = 1053 (fetchurl { 1054 url = "mirror://luarocks/inspect-3.1.3-0.rockspec"; 1055 sha256 = "1iivb2jmz0pacmac2msyqwvjjx8q6py4h959m8fkigia6srg5ins"; 1056 }).outPath; 1057 src = fetchurl { 1058 url = "https://github.com/kikito/inspect.lua/archive/v3.1.3.tar.gz"; 1059 sha256 = "1sqylz5hmj5sbv4gi9988j6av3cb5lwkd7wiyim1h5lr7xhnlf23"; 1060 }; 1061 1062 disabled = luaOlder "5.1"; 1063 1064 meta = { 1065 homepage = "https://github.com/kikito/inspect.lua"; 1066 description = "Lua table visualizer, ideal for debugging"; 1067 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 1068 }; 1069 } 1070 ) { }; 1071 1072 jsregexp = callPackage ( 1073 { 1074 buildLuarocksPackage, 1075 fetchFromGitHub, 1076 fetchurl, 1077 luaOlder, 1078 }: 1079 buildLuarocksPackage { 1080 pname = "jsregexp"; 1081 version = "0.0.7-2"; 1082 knownRockspec = 1083 (fetchurl { 1084 url = "mirror://luarocks/jsregexp-0.0.7-2.rockspec"; 1085 sha256 = "048gaxgm45hvqz8x2sp3bjii2fgimwafccnwvf92crlj3r6cys6k"; 1086 }).outPath; 1087 src = fetchFromGitHub { 1088 owner = "kmarius"; 1089 repo = "jsregexp"; 1090 rev = "v0.0.7"; 1091 hash = "sha256-aXRGmo6w7jgKlR2BwKhbFGHC0mOTwHfYsh+lvqNuFtQ="; 1092 }; 1093 1094 disabled = luaOlder "5.1"; 1095 1096 meta = { 1097 homepage = "https://github.com/kmarius/jsregexp"; 1098 description = "javascript (ECMA19) regular expressions for lua"; 1099 license.fullName = "MIT"; 1100 }; 1101 } 1102 ) { }; 1103 1104 ldbus = callPackage ( 1105 { 1106 buildLuarocksPackage, 1107 fetchFromGitHub, 1108 fetchurl, 1109 luaAtLeast, 1110 luaOlder, 1111 }: 1112 buildLuarocksPackage { 1113 pname = "ldbus"; 1114 version = "scm-0"; 1115 knownRockspec = 1116 (fetchurl { 1117 url = "mirror://luarocks/ldbus-scm-0.rockspec"; 1118 sha256 = "1c0h6fx7avzh89hl17v6simy1p4mjg8bimlsbjybks0zxznd8rbm"; 1119 }).outPath; 1120 src = fetchFromGitHub { 1121 owner = "daurnimator"; 1122 repo = "ldbus"; 1123 rev = "5cc933bfad2b73674bc005ebcce771555a614792"; 1124 hash = "sha256-MyldeKaqe7axZ423cKDE7+P2w26uRcjs0huuqlaVxQs="; 1125 }; 1126 1127 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 1128 1129 meta = { 1130 homepage = "https://github.com/daurnimator/ldbus"; 1131 description = "A Lua library to access dbus."; 1132 license.fullName = "MIT/X11"; 1133 }; 1134 } 1135 ) { }; 1136 1137 ldoc = callPackage ( 1138 { 1139 buildLuarocksPackage, 1140 fetchFromGitHub, 1141 fetchurl, 1142 markdown, 1143 penlight, 1144 }: 1145 buildLuarocksPackage { 1146 pname = "ldoc"; 1147 version = "1.5.0-1"; 1148 knownRockspec = 1149 (fetchurl { 1150 url = "mirror://luarocks/ldoc-1.5.0-1.rockspec"; 1151 sha256 = "1c0yx9j3yqlzxpmspz7n7l1nvh2sww84zhkb1fsbg042sr8h9bxp"; 1152 }).outPath; 1153 src = fetchFromGitHub { 1154 owner = "lunarmodules"; 1155 repo = "ldoc"; 1156 rev = "v1.5.0"; 1157 hash = "sha256-Me2LT+UzO8G2vHqG7DjjoCRAtLmhiJHlSEYQGkprxTw="; 1158 }; 1159 1160 propagatedBuildInputs = [ 1161 markdown 1162 penlight 1163 ]; 1164 1165 meta = { 1166 homepage = "http://lunarmodules.github.io/ldoc"; 1167 description = "A Lua Documentation Tool"; 1168 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 1169 }; 1170 } 1171 ) { }; 1172 1173 lgi = callPackage ( 1174 { 1175 buildLuarocksPackage, 1176 fetchFromGitHub, 1177 fetchurl, 1178 luaOlder, 1179 }: 1180 buildLuarocksPackage { 1181 pname = "lgi"; 1182 version = "0.9.2-1"; 1183 knownRockspec = 1184 (fetchurl { 1185 url = "mirror://luarocks/lgi-0.9.2-1.rockspec"; 1186 sha256 = "1gqi07m4bs7xibsy4vx8qgyp3yb1wnh0gdq1cpwqzv35y6hn5ds3"; 1187 }).outPath; 1188 src = fetchFromGitHub { 1189 owner = "pavouk"; 1190 repo = "lgi"; 1191 rev = "0.9.2"; 1192 hash = "sha256-UpamUbvqzF0JKV3J0wIiJlV6iedwe823vD0EIm3zKw8="; 1193 }; 1194 1195 disabled = luaOlder "5.1"; 1196 1197 meta = { 1198 homepage = "http://github.com/pavouk/lgi"; 1199 description = "Lua bindings to GObject libraries"; 1200 license.fullName = "MIT/X11"; 1201 }; 1202 } 1203 ) { }; 1204 1205 linenoise = callPackage ( 1206 { 1207 buildLuarocksPackage, 1208 fetchurl, 1209 luaOlder, 1210 }: 1211 buildLuarocksPackage { 1212 pname = "linenoise"; 1213 version = "0.9-1"; 1214 1215 src = fetchurl { 1216 url = "https://github.com/hoelzro/lua-linenoise/archive/0.9.tar.gz"; 1217 sha256 = "177h6gbq89arwiwxah9943i8hl5gvd9wivnd1nhmdl7d8x0dn76c"; 1218 }; 1219 1220 disabled = luaOlder "5.1"; 1221 1222 meta = { 1223 homepage = "https://github.com/hoelzro/lua-linenoise"; 1224 description = "A binding for the linenoise command line library"; 1225 license.fullName = "MIT/X11"; 1226 }; 1227 } 1228 ) { }; 1229 1230 ljsyscall = callPackage ( 1231 { 1232 buildLuarocksPackage, 1233 fetchurl, 1234 lua, 1235 }: 1236 buildLuarocksPackage { 1237 pname = "ljsyscall"; 1238 version = "0.12-1"; 1239 knownRockspec = 1240 (fetchurl { 1241 url = "mirror://luarocks/ljsyscall-0.12-1.rockspec"; 1242 sha256 = "0zna5s852vn7q414z56kkyqwpighaghyq7h7in3myap4d9vcgm01"; 1243 }).outPath; 1244 src = fetchurl { 1245 url = "https://github.com/justincormack/ljsyscall/archive/v0.12.tar.gz"; 1246 sha256 = "1w9g36nhxv92cypjia7igg1xpfrn3dbs3hfy6gnnz5mx14v50abf"; 1247 }; 1248 1249 disabled = lua.luaversion != "5.1"; 1250 1251 meta = { 1252 homepage = "http://www.myriabit.com/ljsyscall/"; 1253 description = "LuaJIT Linux syscall FFI"; 1254 maintainers = with lib.maintainers; [ lblasc ]; 1255 license.fullName = "MIT"; 1256 }; 1257 } 1258 ) { }; 1259 1260 llscheck = callPackage ( 1261 { 1262 ansicolors, 1263 argparse, 1264 buildLuarocksPackage, 1265 fetchFromGitHub, 1266 fetchurl, 1267 lua-cjson, 1268 luaOlder, 1269 luafilesystem, 1270 penlight, 1271 }: 1272 buildLuarocksPackage { 1273 pname = "llscheck"; 1274 version = "0.7.0-1"; 1275 knownRockspec = 1276 (fetchurl { 1277 url = "mirror://luarocks/llscheck-0.7.0-1.rockspec"; 1278 sha256 = "0mq44xjsgvdh50cyi5khjqm19xd1w8cjhrr6vbckmb0zpia2v9sk"; 1279 }).outPath; 1280 src = fetchFromGitHub { 1281 owner = "jeffzi"; 1282 repo = "llscheck"; 1283 rev = "v0.7.0"; 1284 hash = "sha256-DOXWBTw7ylfjrk6wxoii9/eAkY4WObtRStttQmhWglc="; 1285 }; 1286 1287 disabled = luaOlder "5.1"; 1288 propagatedBuildInputs = [ 1289 ansicolors 1290 argparse 1291 lua-cjson 1292 luafilesystem 1293 penlight 1294 ]; 1295 1296 meta = { 1297 homepage = "https://github.com/jeffzi/llscheck"; 1298 description = "Human-friendly Lua code analysis powered by Lua Language Server"; 1299 maintainers = with lib.maintainers; [ mrcjkb ]; 1300 license.fullName = "MIT"; 1301 }; 1302 } 1303 ) { }; 1304 1305 lmathx = callPackage ( 1306 { buildLuarocksPackage, fetchurl }: 1307 buildLuarocksPackage { 1308 pname = "lmathx"; 1309 version = "20150624-1"; 1310 knownRockspec = 1311 (fetchurl { 1312 url = "mirror://luarocks/lmathx-20150624-1.rockspec"; 1313 sha256 = "181wzsj1mxjyia43y8zwaydxahnl7a70qzcgc8jhhgic7jyi9pgv"; 1314 }).outPath; 1315 src = fetchurl { 1316 url = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.3/lmathx.tar.gz"; 1317 sha256 = "1r0ax3lq4xx6469aqc6qlfl3jynlghzhl5j65mpdj0kyzv4nknzf"; 1318 }; 1319 1320 meta = { 1321 homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lmathx"; 1322 description = "C99 extensions for the math library"; 1323 maintainers = with lib.maintainers; [ alexshpilkin ]; 1324 license.fullName = "Public domain"; 1325 }; 1326 } 1327 ) { }; 1328 1329 lmpfrlib = callPackage ( 1330 { 1331 buildLuarocksPackage, 1332 fetchurl, 1333 luaAtLeast, 1334 luaOlder, 1335 }: 1336 buildLuarocksPackage { 1337 pname = "lmpfrlib"; 1338 version = "20170112-2"; 1339 knownRockspec = 1340 (fetchurl { 1341 url = "mirror://luarocks/lmpfrlib-20170112-2.rockspec"; 1342 sha256 = "1x7qiwmk5b9fi87fn7yvivdsis8h9fk9r3ipqiry5ahx72vzdm7d"; 1343 }).outPath; 1344 src = fetchurl { 1345 url = "http://www.circuitwizard.de/lmpfrlib/lmpfrlib.c"; 1346 sha256 = "1bkfwdacj1drzqsfxf352fjppqqwi5d4j084jr9vj9dvjb31rbc1"; 1347 }; 1348 1349 disabled = luaOlder "5.3" || luaAtLeast "5.5"; 1350 1351 meta = { 1352 homepage = "http://www.circuitwizard.de/lmpfrlib/lmpfrlib.html"; 1353 description = "Lua API for the GNU MPFR library"; 1354 maintainers = with lib.maintainers; [ alexshpilkin ]; 1355 license.fullName = "LGPL"; 1356 }; 1357 } 1358 ) { }; 1359 1360 loadkit = callPackage ( 1361 { 1362 buildLuarocksPackage, 1363 fetchFromGitHub, 1364 fetchurl, 1365 luaOlder, 1366 }: 1367 buildLuarocksPackage { 1368 pname = "loadkit"; 1369 version = "1.1.0-1"; 1370 knownRockspec = 1371 (fetchurl { 1372 url = "mirror://luarocks/loadkit-1.1.0-1.rockspec"; 1373 sha256 = "08fx0xh90r2zvjlfjkyrnw2p95xk1a0qgvlnq4siwdb2mm6fq12l"; 1374 }).outPath; 1375 src = fetchFromGitHub { 1376 owner = "leafo"; 1377 repo = "loadkit"; 1378 rev = "v1.1.0"; 1379 hash = "sha256-fw+aoP9+yDpme4qXupE07cV1QGZjb2aU7IOHapG+ihU="; 1380 }; 1381 1382 disabled = luaOlder "5.1"; 1383 1384 meta = { 1385 homepage = "https://github.com/leafo/loadkit"; 1386 description = "Loadkit allows you to load arbitrary files within the Lua package path"; 1387 maintainers = with lib.maintainers; [ alerque ]; 1388 license.fullName = "MIT"; 1389 }; 1390 } 1391 ) { }; 1392 1393 lpeg = callPackage ( 1394 { 1395 buildLuarocksPackage, 1396 fetchurl, 1397 luaOlder, 1398 }: 1399 buildLuarocksPackage { 1400 pname = "lpeg"; 1401 version = "1.1.0-2"; 1402 knownRockspec = 1403 (fetchurl { 1404 url = "mirror://luarocks/lpeg-1.1.0-2.rockspec"; 1405 sha256 = "0g8bnsx1qkl8s1fglbdai9mznzyzf9mv5lcxjab47069b3d8caa4"; 1406 }).outPath; 1407 src = fetchurl { 1408 url = "https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz"; 1409 sha256 = "0aimsjpcpkh3kk65f0pg1z2bp6d83rn4dg6pgbx1yv14s9kms5ab"; 1410 }; 1411 1412 disabled = luaOlder "5.1"; 1413 1414 meta = { 1415 homepage = "https://www.inf.puc-rio.br/~roberto/lpeg.html"; 1416 description = "Parsing Expression Grammars For Lua"; 1417 maintainers = with lib.maintainers; [ vyp ]; 1418 license.fullName = "MIT/X11"; 1419 }; 1420 } 1421 ) { }; 1422 1423 lpeg_patterns = callPackage ( 1424 { 1425 buildLuarocksPackage, 1426 fetchurl, 1427 fetchzip, 1428 lpeg, 1429 }: 1430 buildLuarocksPackage { 1431 pname = "lpeg_patterns"; 1432 version = "0.5-0"; 1433 knownRockspec = 1434 (fetchurl { 1435 url = "mirror://luarocks/lpeg_patterns-0.5-0.rockspec"; 1436 sha256 = "1vzl3ryryc624mchclzsfl3hsrprb9q214zbi1xsjcc4ckq5qfh7"; 1437 }).outPath; 1438 src = fetchzip { 1439 url = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip"; 1440 sha256 = "1s3c179a64r45ffkawv9dnxw4mzwkzj00nr9z2gs5haajgpjivw6"; 1441 }; 1442 1443 propagatedBuildInputs = [ lpeg ]; 1444 1445 meta = { 1446 homepage = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip"; 1447 description = "a collection of LPEG patterns"; 1448 license.fullName = "MIT"; 1449 }; 1450 } 1451 ) { }; 1452 1453 lpeglabel = callPackage ( 1454 { 1455 buildLuarocksPackage, 1456 fetchurl, 1457 luaOlder, 1458 }: 1459 buildLuarocksPackage { 1460 pname = "lpeglabel"; 1461 version = "1.6.0-1"; 1462 knownRockspec = 1463 (fetchurl { 1464 url = "mirror://luarocks/lpeglabel-1.6.0-1.rockspec"; 1465 sha256 = "13gc32pggng6f95xx5zw9n9ian518wlgb26mna9kh4q2xa1k42pm"; 1466 }).outPath; 1467 src = fetchurl { 1468 url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.0-1.tar.gz"; 1469 sha256 = "1i02lsxj20iygqm8fy6dih1gh21lqk5qj1mv14wlrkaywnv35wcv"; 1470 }; 1471 1472 disabled = luaOlder "5.1"; 1473 1474 meta = { 1475 homepage = "https://github.com/sqmedeiros/lpeglabel/"; 1476 description = "Parsing Expression Grammars For Lua with Labeled Failures"; 1477 license.fullName = "MIT/X11"; 1478 }; 1479 } 1480 ) { }; 1481 1482 lrexlib-gnu = callPackage ( 1483 { 1484 buildLuarocksPackage, 1485 fetchFromGitHub, 1486 fetchurl, 1487 luaOlder, 1488 }: 1489 buildLuarocksPackage { 1490 pname = "lrexlib-gnu"; 1491 version = "2.9.2-1"; 1492 knownRockspec = 1493 (fetchurl { 1494 url = "mirror://luarocks/lrexlib-gnu-2.9.2-1.rockspec"; 1495 sha256 = "14dp5lzpz2prvimpcbqjygbyh9h791h0ywjknj9wgrjjd62qsy6i"; 1496 }).outPath; 1497 src = fetchFromGitHub { 1498 owner = "rrthomas"; 1499 repo = "lrexlib"; 1500 rev = "rel-2-9-2"; 1501 hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; 1502 }; 1503 1504 disabled = luaOlder "5.1"; 1505 1506 meta = { 1507 homepage = "https://github.com/rrthomas/lrexlib"; 1508 description = "Regular expression library binding (GNU flavour)."; 1509 license.fullName = "MIT/X11"; 1510 }; 1511 } 1512 ) { }; 1513 1514 lrexlib-oniguruma = callPackage ( 1515 { 1516 buildLuarocksPackage, 1517 fetchFromGitHub, 1518 fetchurl, 1519 luaOlder, 1520 }: 1521 buildLuarocksPackage { 1522 pname = "lrexlib-oniguruma"; 1523 version = "2.9.2-1"; 1524 knownRockspec = 1525 (fetchurl { 1526 url = "mirror://luarocks/lrexlib-oniguruma-2.9.2-1.rockspec"; 1527 sha256 = "13m2v6mmmlkf2bd1mnngg118s4ymrqs7n34la6hrb4m1x772adhd"; 1528 }).outPath; 1529 src = fetchFromGitHub { 1530 owner = "rrthomas"; 1531 repo = "lrexlib"; 1532 rev = "rel-2-9-2"; 1533 hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; 1534 }; 1535 1536 disabled = luaOlder "5.1"; 1537 1538 meta = { 1539 homepage = "https://github.com/rrthomas/lrexlib"; 1540 description = "Regular expression library binding (oniguruma flavour)."; 1541 maintainers = with lib.maintainers; [ junestepp ]; 1542 license.fullName = "MIT/X11"; 1543 }; 1544 } 1545 ) { }; 1546 1547 lrexlib-pcre = callPackage ( 1548 { 1549 buildLuarocksPackage, 1550 fetchFromGitHub, 1551 fetchurl, 1552 luaOlder, 1553 }: 1554 buildLuarocksPackage { 1555 pname = "lrexlib-pcre"; 1556 version = "2.9.2-1"; 1557 knownRockspec = 1558 (fetchurl { 1559 url = "mirror://luarocks/lrexlib-pcre-2.9.2-1.rockspec"; 1560 sha256 = "1214ssm6apgprryqvijjjn82ikb27ylq94yijqf7qjyiy6pz7dc1"; 1561 }).outPath; 1562 src = fetchFromGitHub { 1563 owner = "rrthomas"; 1564 repo = "lrexlib"; 1565 rev = "rel-2-9-2"; 1566 hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; 1567 }; 1568 1569 disabled = luaOlder "5.1"; 1570 1571 meta = { 1572 homepage = "https://github.com/rrthomas/lrexlib"; 1573 description = "Regular expression library binding (PCRE flavour)."; 1574 maintainers = with lib.maintainers; [ vyp ]; 1575 license.fullName = "MIT/X11"; 1576 }; 1577 } 1578 ) { }; 1579 1580 lrexlib-posix = callPackage ( 1581 { 1582 buildLuarocksPackage, 1583 fetchFromGitHub, 1584 fetchurl, 1585 luaOlder, 1586 }: 1587 buildLuarocksPackage { 1588 pname = "lrexlib-posix"; 1589 version = "2.9.2-1"; 1590 knownRockspec = 1591 (fetchurl { 1592 url = "mirror://luarocks/lrexlib-posix-2.9.2-1.rockspec"; 1593 sha256 = "1i11cdvz09a3wjhfjgc88g0mdmdrk13fnhhgskzgm5cmhsdx4s0i"; 1594 }).outPath; 1595 src = fetchFromGitHub { 1596 owner = "rrthomas"; 1597 repo = "lrexlib"; 1598 rev = "rel-2-9-2"; 1599 hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; 1600 }; 1601 1602 disabled = luaOlder "5.1"; 1603 1604 meta = { 1605 homepage = "https://github.com/rrthomas/lrexlib"; 1606 description = "Regular expression library binding (POSIX flavour)."; 1607 license.fullName = "MIT/X11"; 1608 }; 1609 } 1610 ) { }; 1611 1612 lsp-progress-nvim = callPackage ( 1613 { 1614 buildLuarocksPackage, 1615 fetchurl, 1616 fetchzip, 1617 luaOlder, 1618 }: 1619 buildLuarocksPackage { 1620 pname = "lsp-progress.nvim"; 1621 version = "1.0.15-1"; 1622 knownRockspec = 1623 (fetchurl { 1624 url = "mirror://luarocks/lsp-progress.nvim-1.0.15-1.rockspec"; 1625 sha256 = "160l97hsq9574f1riq4kjwa66y39z2fgnjmnc7li1pf00dkh3fvq"; 1626 }).outPath; 1627 src = fetchzip { 1628 url = "https://github.com/linrongbin16/lsp-progress.nvim/archive/ae52979ad412371ea6dc39ff70c8dfc681fb42b8.zip"; 1629 sha256 = "0c7s82fl5wamxykdlz63r0xclwdy9s658hp6zm5hmpgl3qyjdrir"; 1630 }; 1631 1632 disabled = luaOlder "5.1"; 1633 1634 meta = { 1635 homepage = "https://linrongbin16.github.io/lsp-progress.nvim/"; 1636 description = "A performant lsp progress status for Neovim."; 1637 maintainers = with lib.maintainers; [ gepbird ]; 1638 license.fullName = "MIT"; 1639 }; 1640 } 1641 ) { }; 1642 1643 lua-cjson = callPackage ( 1644 { 1645 buildLuarocksPackage, 1646 fetchFromGitHub, 1647 fetchurl, 1648 luaOlder, 1649 }: 1650 buildLuarocksPackage { 1651 pname = "lua-cjson"; 1652 version = "2.1.0.10-1"; 1653 knownRockspec = 1654 (fetchurl { 1655 url = "mirror://luarocks/lua-cjson-2.1.0.10-1.rockspec"; 1656 sha256 = "05sp7rq72x4kdkyid1ch0yyscwsi5wk85d2hj6xwssz3h8n8drdg"; 1657 }).outPath; 1658 src = fetchFromGitHub { 1659 owner = "openresty"; 1660 repo = "lua-cjson"; 1661 rev = "2.1.0.10"; 1662 hash = "sha256-/SeQro0FaJn91bAGjsVIin+mJF89VUm/G0KyJkV9Qps="; 1663 }; 1664 1665 disabled = luaOlder "5.1"; 1666 1667 meta = { 1668 homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php"; 1669 description = "A fast JSON encoding/parsing module"; 1670 license.fullName = "MIT"; 1671 }; 1672 } 1673 ) { }; 1674 1675 lua-cmsgpack = callPackage ( 1676 { 1677 buildLuarocksPackage, 1678 fetchFromGitHub, 1679 fetchurl, 1680 luaOlder, 1681 }: 1682 buildLuarocksPackage { 1683 pname = "lua-cmsgpack"; 1684 version = "0.4.0-0"; 1685 knownRockspec = 1686 (fetchurl { 1687 url = "mirror://luarocks/lua-cmsgpack-0.4.0-0.rockspec"; 1688 sha256 = "10cvr6knx3qvjcw1q9v05f2qy607mai7lbq321nx682aa0n1fzin"; 1689 }).outPath; 1690 src = fetchFromGitHub { 1691 owner = "antirez"; 1692 repo = "lua-cmsgpack"; 1693 rev = "0.4.0"; 1694 hash = "sha256-oGKX5G3uNGCJOaZpjLmIJYuq5HtdLd9xM/TlmxODCkg="; 1695 }; 1696 1697 disabled = luaOlder "5.1"; 1698 1699 meta = { 1700 homepage = "https://github.com/antirez/lua-cmsgpack"; 1701 description = "MessagePack C implementation and bindings for Lua 5.1/5.2/5.3"; 1702 license.fullName = "Two-clause BSD"; 1703 }; 1704 } 1705 ) { }; 1706 1707 lua-curl = callPackage ( 1708 { 1709 buildLuarocksPackage, 1710 fetchurl, 1711 fetchzip, 1712 luaAtLeast, 1713 luaOlder, 1714 }: 1715 buildLuarocksPackage { 1716 pname = "lua-curl"; 1717 version = "0.3.13-1"; 1718 knownRockspec = 1719 (fetchurl { 1720 url = "mirror://luarocks/lua-curl-0.3.13-1.rockspec"; 1721 sha256 = "0lz534sm35hxazf1w71hagiyfplhsvzr94i6qyv5chjfabrgbhjn"; 1722 }).outPath; 1723 src = fetchzip { 1724 url = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.13.zip"; 1725 sha256 = "0gn59bwrnb2mvl8i0ycr6m3jmlgx86xlr9mwnc85zfhj7zhi5anp"; 1726 }; 1727 1728 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 1729 1730 meta = { 1731 homepage = "https://github.com/Lua-cURL"; 1732 description = "Lua binding to libcurl"; 1733 license.fullName = "MIT/X11"; 1734 }; 1735 } 1736 ) { }; 1737 1738 lua-ffi-zlib = callPackage ( 1739 { 1740 buildLuarocksPackage, 1741 fetchFromGitHub, 1742 fetchurl, 1743 luaOlder, 1744 }: 1745 buildLuarocksPackage { 1746 pname = "lua-ffi-zlib"; 1747 version = "0.6-0"; 1748 knownRockspec = 1749 (fetchurl { 1750 url = "mirror://luarocks/lua-ffi-zlib-0.6-0.rockspec"; 1751 sha256 = "060sac715f1ris13fjv6gwqm0lk6by0a2zhldxd8hdrc0jss8p34"; 1752 }).outPath; 1753 src = fetchFromGitHub { 1754 owner = "hamishforbes"; 1755 repo = "lua-ffi-zlib"; 1756 rev = "v0.6"; 1757 hash = "sha256-l3zN6amZ6uUbOl7vt5XF+Uyz0nbDrYgcaQCWRFSN22Q="; 1758 }; 1759 1760 disabled = luaOlder "5.1"; 1761 1762 meta = { 1763 homepage = "https://github.com/hamishforbes/lua-ffi-zlib"; 1764 description = "A Lua module using LuaJIT's FFI feature to access zlib."; 1765 }; 1766 } 1767 ) { }; 1768 1769 lua-iconv = callPackage ( 1770 { 1771 buildLuarocksPackage, 1772 fetchurl, 1773 luaOlder, 1774 }: 1775 buildLuarocksPackage { 1776 pname = "lua-iconv"; 1777 version = "7.0.0-4"; 1778 knownRockspec = 1779 (fetchurl { 1780 url = "mirror://luarocks/lua-iconv-7.0.0-4.rockspec"; 1781 sha256 = "0j34zf98wdr6ks6snsrqi00vwm3ngsa5f74kadsn178iw7hd8c3q"; 1782 }).outPath; 1783 src = fetchurl { 1784 url = "https://github.com/lunarmodules/lua-iconv/archive/v7.0.0/lua-iconv-7.0.0.tar.gz"; 1785 sha256 = "0arp0h342hpp4kfdxc69yxspziky4v7c13jbf12yrs8f1lnjzr0x"; 1786 }; 1787 1788 disabled = luaOlder "5.1"; 1789 1790 meta = { 1791 homepage = "https://github.com/lunarmodules/lua-iconv/"; 1792 description = "Lua binding to the iconv"; 1793 license.fullName = "MIT/X11"; 1794 }; 1795 } 1796 ) { }; 1797 1798 lua-lsp = callPackage ( 1799 { 1800 buildLuarocksPackage, 1801 dkjson, 1802 fetchFromGitHub, 1803 fetchurl, 1804 inspect, 1805 lpeglabel, 1806 luaAtLeast, 1807 luaOlder, 1808 }: 1809 buildLuarocksPackage { 1810 pname = "lua-lsp"; 1811 version = "0.1.0-2"; 1812 knownRockspec = 1813 (fetchurl { 1814 url = "mirror://luarocks/lua-lsp-0.1.0-2.rockspec"; 1815 sha256 = "19jsz00qlgbyims6cg8i40la7v8kr7zsxrrr3dg0kdg0i36xqs6c"; 1816 }).outPath; 1817 src = fetchFromGitHub { 1818 owner = "Alloyed"; 1819 repo = "lua-lsp"; 1820 rev = "v0.1.0"; 1821 hash = "sha256-Fy9d6ZS0R48dUpKpgJ9jRujQna5wsE3+StJ8GQyWY54="; 1822 }; 1823 1824 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 1825 propagatedBuildInputs = [ 1826 dkjson 1827 inspect 1828 lpeglabel 1829 ]; 1830 1831 meta = { 1832 homepage = "https://github.com/Alloyed/lua-lsp"; 1833 description = "A Language Server implementation for lua, the language"; 1834 license.fullName = "MIT"; 1835 }; 1836 } 1837 ) { }; 1838 1839 lua-messagepack = callPackage ( 1840 { 1841 buildLuarocksPackage, 1842 fetchurl, 1843 luaOlder, 1844 }: 1845 buildLuarocksPackage { 1846 pname = "lua-messagepack"; 1847 version = "0.5.4-1"; 1848 knownRockspec = 1849 (fetchurl { 1850 url = "mirror://luarocks/lua-messagepack-0.5.4-1.rockspec"; 1851 sha256 = "1jygn6f8ab69z0nn1gib45wvjp075gzxp54vdmgxb3qfar0q70kr"; 1852 }).outPath; 1853 src = fetchurl { 1854 url = "https://framagit.org/fperrad/lua-MessagePack/raw/releases/lua-messagepack-0.5.4.tar.gz"; 1855 sha256 = "0kk1n9kf6wip8k2xx4wjlv7647biji2p86v4jf0h6d6wkaypq0kz"; 1856 }; 1857 1858 disabled = luaOlder "5.1"; 1859 1860 meta = { 1861 homepage = "https://fperrad.frama.io/lua-MessagePack/"; 1862 description = "a pure Lua implementation of the MessagePack serialization format"; 1863 license.fullName = "MIT/X11"; 1864 }; 1865 } 1866 ) { }; 1867 1868 lua-protobuf = callPackage ( 1869 { 1870 buildLuarocksPackage, 1871 fetchFromGitHub, 1872 fetchurl, 1873 luaOlder, 1874 }: 1875 buildLuarocksPackage { 1876 pname = "lua-protobuf"; 1877 version = "0.5.3-1"; 1878 knownRockspec = 1879 (fetchurl { 1880 url = "mirror://luarocks/lua-protobuf-0.5.3-1.rockspec"; 1881 sha256 = "0jz3yxdf9n1zfnkywqjghn6nlfvkkv9li003kkzh7z0wzidqaljh"; 1882 }).outPath; 1883 src = fetchFromGitHub { 1884 owner = "starwing"; 1885 repo = "lua-protobuf"; 1886 rev = "0.5.3"; 1887 hash = "sha256-9vAv/Rhf9xrQnbd0nkaxGrcTRKkUSlpYRAJe2zpdIiY="; 1888 }; 1889 1890 disabled = luaOlder "5.1"; 1891 1892 meta = { 1893 homepage = "https://github.com/starwing/lua-protobuf"; 1894 description = "protobuf data support for Lua"; 1895 maintainers = with lib.maintainers; [ lockejan ]; 1896 license.fullName = "MIT"; 1897 }; 1898 } 1899 ) { }; 1900 1901 lua-resty-http = callPackage ( 1902 { 1903 buildLuarocksPackage, 1904 fetchFromGitHub, 1905 fetchurl, 1906 luaOlder, 1907 }: 1908 buildLuarocksPackage { 1909 pname = "lua-resty-http"; 1910 version = "0.17.2-0"; 1911 knownRockspec = 1912 (fetchurl { 1913 url = "mirror://luarocks/lua-resty-http-0.17.2-0.rockspec"; 1914 sha256 = "10swbq779d1q794d17269v0ln26hblsk7kvxj9s60rx71skzql6s"; 1915 }).outPath; 1916 src = fetchFromGitHub { 1917 owner = "ledgetech"; 1918 repo = "lua-resty-http"; 1919 rev = "v0.17.2"; 1920 hash = "sha256-Ph3PpzQYKYMvPvjYwx4TeZ9RYoryMsO6mLpkAq/qlHY="; 1921 }; 1922 1923 disabled = luaOlder "5.1"; 1924 1925 meta = { 1926 homepage = "https://github.com/ledgetech/lua-resty-http"; 1927 description = "Lua HTTP client cosocket driver for OpenResty / ngx_lua."; 1928 license.fullName = "2-clause BSD"; 1929 }; 1930 } 1931 ) { }; 1932 1933 lua-resty-jwt = callPackage ( 1934 { 1935 buildLuarocksPackage, 1936 fetchFromGitHub, 1937 fetchurl, 1938 lua-resty-openssl, 1939 luaOlder, 1940 }: 1941 buildLuarocksPackage { 1942 pname = "lua-resty-jwt"; 1943 version = "0.2.3-0"; 1944 knownRockspec = 1945 (fetchurl { 1946 url = "mirror://luarocks/lua-resty-jwt-0.2.3-0.rockspec"; 1947 sha256 = "1fxdwfr4pna3fdfm85kin97n53caq73h807wjb59wpqiynbqzc8c"; 1948 }).outPath; 1949 src = fetchFromGitHub { 1950 owner = "cdbattags"; 1951 repo = "lua-resty-jwt"; 1952 rev = "v0.2.3"; 1953 hash = "sha256-m8UbvKk2DR8yCYX9Uv5HjXcZDVyVeRlUKp7UiaN/SkA="; 1954 }; 1955 1956 disabled = luaOlder "5.1"; 1957 propagatedBuildInputs = [ lua-resty-openssl ]; 1958 1959 meta = { 1960 homepage = "https://github.com/cdbattags/lua-resty-jwt"; 1961 description = "JWT for ngx_lua and LuaJIT."; 1962 license.fullName = "Apache License Version 2"; 1963 }; 1964 } 1965 ) { }; 1966 1967 lua-resty-openidc = callPackage ( 1968 { 1969 buildLuarocksPackage, 1970 fetchFromGitHub, 1971 fetchurl, 1972 lua-resty-http, 1973 lua-resty-jwt, 1974 lua-resty-session, 1975 luaOlder, 1976 }: 1977 buildLuarocksPackage { 1978 pname = "lua-resty-openidc"; 1979 version = "1.8.0-1"; 1980 knownRockspec = 1981 (fetchurl { 1982 url = "mirror://luarocks/lua-resty-openidc-1.8.0-1.rockspec"; 1983 sha256 = "0jgajhn45nybhi7z15bg957kznzqcjzxc8nrzmgyignkwp4yi1qk"; 1984 }).outPath; 1985 src = fetchFromGitHub { 1986 owner = "zmartzone"; 1987 repo = "lua-resty-openidc"; 1988 rev = "v1.8.0"; 1989 hash = "sha256-LSkNWebMF1L1a66QszugAxcHsW5o9uxQZHWituFFgJs="; 1990 }; 1991 1992 disabled = luaOlder "5.1"; 1993 propagatedBuildInputs = [ 1994 lua-resty-http 1995 lua-resty-jwt 1996 lua-resty-session 1997 ]; 1998 1999 meta = { 2000 homepage = "https://github.com/zmartzone/lua-resty-openidc"; 2001 description = "A library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality"; 2002 license.fullName = "Apache 2.0"; 2003 }; 2004 } 2005 ) { }; 2006 2007 lua-resty-openssl = callPackage ( 2008 { 2009 buildLuarocksPackage, 2010 fetchFromGitHub, 2011 fetchurl, 2012 }: 2013 buildLuarocksPackage { 2014 pname = "lua-resty-openssl"; 2015 version = "1.6.4-1"; 2016 knownRockspec = 2017 (fetchurl { 2018 url = "mirror://luarocks/lua-resty-openssl-1.6.4-1.rockspec"; 2019 sha256 = "1i8hj91kj2wmpqxk9ahjfhdx6bbkv35f7d2f71nklgvg7wychn6x"; 2020 }).outPath; 2021 src = fetchFromGitHub { 2022 owner = "fffonion"; 2023 repo = "lua-resty-openssl"; 2024 rev = "1.6.4"; 2025 hash = "sha256-MO8opf8CgiB6/iESRugrg2OMAyERWJ4Sf5ccgWKJyKs="; 2026 }; 2027 2028 meta = { 2029 homepage = "https://github.com/fffonion/lua-resty-openssl"; 2030 description = "No summary"; 2031 license.fullName = "BSD"; 2032 }; 2033 } 2034 ) { }; 2035 2036 lua-resty-session = callPackage ( 2037 { 2038 buildLuarocksPackage, 2039 fetchFromGitHub, 2040 fetchurl, 2041 lua-ffi-zlib, 2042 lua-resty-openssl, 2043 luaOlder, 2044 }: 2045 buildLuarocksPackage { 2046 pname = "lua-resty-session"; 2047 version = "4.1.4-1"; 2048 knownRockspec = 2049 (fetchurl { 2050 url = "mirror://luarocks/lua-resty-session-4.1.4-1.rockspec"; 2051 sha256 = "0ny09yvdvbm1lkhsn7c5c9klmsjdp62qy01a77bzvq49s8ma6mik"; 2052 }).outPath; 2053 src = fetchFromGitHub { 2054 owner = "bungle"; 2055 repo = "lua-resty-session"; 2056 rev = "v4.1.4"; 2057 hash = "sha256-S9dMlbCQjLzAdvlNE1bBAtB02vZhF+Tx08zlU0WZYsM="; 2058 }; 2059 2060 disabled = luaOlder "5.1"; 2061 propagatedBuildInputs = [ 2062 lua-ffi-zlib 2063 lua-resty-openssl 2064 ]; 2065 2066 meta = { 2067 homepage = "https://github.com/bungle/lua-resty-session"; 2068 description = "Session Library for OpenResty - Flexible and Secure"; 2069 license.fullName = "BSD"; 2070 }; 2071 } 2072 ) { }; 2073 2074 lua-rtoml = callPackage ( 2075 { 2076 buildLuarocksPackage, 2077 fetchFromGitHub, 2078 luaOlder, 2079 luarocks-build-rust-mlua, 2080 }: 2081 buildLuarocksPackage { 2082 pname = "lua-rtoml"; 2083 version = "0.2-0"; 2084 2085 src = fetchFromGitHub { 2086 owner = "lblasc"; 2087 repo = "lua-rtoml"; 2088 rev = "c83f56b9519d85968d663308e303f384c55c7b18"; 2089 hash = "sha256-PRoaUQSSvzl9VFK+aGHbJqCW37AsO+oFXNYgM0OdIoY="; 2090 }; 2091 2092 disabled = luaOlder "5.1"; 2093 nativeBuildInputs = [ luarocks-build-rust-mlua ]; 2094 propagatedBuildInputs = [ luarocks-build-rust-mlua ]; 2095 2096 meta = { 2097 homepage = "https://github.com/lblasc/lua-rtoml"; 2098 description = "Lua bindings for the Rust toml crate."; 2099 maintainers = with lib.maintainers; [ lblasc ]; 2100 license.fullName = "MIT"; 2101 }; 2102 } 2103 ) { }; 2104 2105 lua-subprocess = callPackage ( 2106 { 2107 buildLuarocksPackage, 2108 fetchFromGitHub, 2109 luaOlder, 2110 }: 2111 buildLuarocksPackage { 2112 pname = "subprocess"; 2113 version = "scm-1"; 2114 2115 src = fetchFromGitHub { 2116 owner = "0x0ade"; 2117 repo = "lua-subprocess"; 2118 rev = "bfa8e97da774141f301cfd1106dca53a30a4de54"; 2119 hash = "sha256-4LiYWB3PAQ/s33Yj/gwC+Ef1vGe5FedWexeCBVSDIV0="; 2120 }; 2121 2122 disabled = luaOlder "5.1"; 2123 2124 meta = { 2125 homepage = "https://github.com/xlq/lua-subprocess"; 2126 description = "A Lua module written in C that allows you to create child processes and communicate with them."; 2127 maintainers = with lib.maintainers; [ scoder12 ]; 2128 license.fullName = "MIT"; 2129 }; 2130 } 2131 ) { }; 2132 2133 lua-term = callPackage ( 2134 { buildLuarocksPackage, fetchurl }: 2135 buildLuarocksPackage { 2136 pname = "lua-term"; 2137 version = "0.8-1"; 2138 knownRockspec = 2139 (fetchurl { 2140 url = "mirror://luarocks/lua-term-0.8-1.rockspec"; 2141 sha256 = "1728lj3x8shc5m1yczrl75szq15rnfpzk36n0m49181ly9wxn7s0"; 2142 }).outPath; 2143 src = fetchurl { 2144 url = "https://github.com/hoelzro/lua-term/archive/0.08.tar.gz"; 2145 sha256 = "1vfdg5dzqdi3gn6wpc9a3djhsl6fn2ikqdwr8rrqrnd91qwlzycg"; 2146 }; 2147 2148 meta = { 2149 homepage = "https://github.com/hoelzro/lua-term"; 2150 description = "Terminal functions for Lua"; 2151 license.fullName = "MIT/X11"; 2152 }; 2153 } 2154 ) { }; 2155 2156 lua-toml = callPackage ( 2157 { 2158 buildLuarocksPackage, 2159 fetchFromGitHub, 2160 fetchurl, 2161 luaOlder, 2162 }: 2163 buildLuarocksPackage { 2164 pname = "lua-toml"; 2165 version = "2.0-1"; 2166 knownRockspec = 2167 (fetchurl { 2168 url = "mirror://luarocks/lua-toml-2.0-1.rockspec"; 2169 sha256 = "0zd3hrj1ifq89rjby3yn9y96vk20ablljvqdap981navzlbb7zvq"; 2170 }).outPath; 2171 src = fetchFromGitHub { 2172 owner = "jonstoler"; 2173 repo = "lua-toml"; 2174 rev = "v2.0.1"; 2175 hash = "sha256-6wCo06Ulmx6HVN2bTrklPqgGiEhDZ1fUfusdS/SDdFI="; 2176 }; 2177 2178 disabled = luaOlder "5.1"; 2179 2180 meta = { 2181 homepage = "https://github.com/jonstoler/lua-toml"; 2182 description = "toml decoder/encoder for Lua"; 2183 license.fullName = "MIT"; 2184 }; 2185 } 2186 ) { }; 2187 2188 lua-utils-nvim = callPackage ( 2189 { 2190 buildLuarocksPackage, 2191 fetchurl, 2192 fetchzip, 2193 luaOlder, 2194 }: 2195 buildLuarocksPackage { 2196 pname = "lua-utils.nvim"; 2197 version = "1.0.2-1"; 2198 knownRockspec = 2199 (fetchurl { 2200 url = "mirror://luarocks/lua-utils.nvim-1.0.2-1.rockspec"; 2201 sha256 = "0s11j4vd26haz72rb0c5m5h953292rh8r62mvlxbss6i69v2dkr9"; 2202 }).outPath; 2203 src = fetchzip { 2204 url = "https://github.com/nvim-neorg/lua-utils.nvim/archive/v1.0.2.zip"; 2205 sha256 = "0bnl2kvxs55l8cjhfpa834bm010n8r4gmsmivjcp548c076msagn"; 2206 }; 2207 2208 disabled = luaOlder "5.1"; 2209 2210 meta = { 2211 homepage = "https://github.com/nvim-neorg/lua-utils.nvim"; 2212 description = "A set of utility functions for Neovim plugins."; 2213 maintainers = with lib.maintainers; [ mrcjkb ]; 2214 license.fullName = "MIT"; 2215 }; 2216 } 2217 ) { }; 2218 2219 lua-yajl = callPackage ( 2220 { 2221 buildLuarocksPackage, 2222 fetchFromGitHub, 2223 fetchurl, 2224 luaOlder, 2225 }: 2226 buildLuarocksPackage { 2227 pname = "lua-yajl"; 2228 version = "2.1-0"; 2229 knownRockspec = 2230 (fetchurl { 2231 url = "mirror://luarocks/lua-yajl-2.1-0.rockspec"; 2232 sha256 = "02jlgd4583p3q4w6hjgmdfkasxhamaj58byyrbmnch0qii61in9r"; 2233 }).outPath; 2234 src = fetchFromGitHub { 2235 owner = "brimworks"; 2236 repo = "lua-yajl"; 2237 rev = "v2.1"; 2238 hash = "sha256-zHBNedJkGEm47HpbeJvcm6JNUUfA1OunLHPJulR8rF8="; 2239 }; 2240 2241 disabled = luaOlder "5.1"; 2242 2243 meta = { 2244 homepage = "https://github.com/brimworks/lua-yajl"; 2245 description = "Integrate the yajl JSON library with Lua."; 2246 maintainers = with lib.maintainers; [ pstn ]; 2247 license.fullName = "MIT/X11"; 2248 }; 2249 } 2250 ) { }; 2251 2252 lua-zlib = callPackage ( 2253 { 2254 buildLuarocksPackage, 2255 fetchFromGitHub, 2256 fetchurl, 2257 luaOlder, 2258 }: 2259 buildLuarocksPackage { 2260 pname = "lua-zlib"; 2261 version = "1.3-0"; 2262 knownRockspec = 2263 (fetchurl { 2264 url = "mirror://luarocks/lua-zlib-1.3-0.rockspec"; 2265 sha256 = "06mkh54k009bvn7xl8fbxl574n7zqk3ki04f0xbsc8an5w9bw1l8"; 2266 }).outPath; 2267 src = fetchFromGitHub { 2268 owner = "brimworks"; 2269 repo = "lua-zlib"; 2270 rev = "v1.3"; 2271 hash = "sha256-FjhI8i2yP4aeZGakFL+vuWKAdISTkdt1mPKl8GIecVM="; 2272 }; 2273 2274 disabled = luaOlder "5.1"; 2275 2276 meta = { 2277 homepage = "https://github.com/brimworks/lua-zlib"; 2278 description = "Simple streaming interface to zlib for Lua."; 2279 maintainers = with lib.maintainers; [ koral ]; 2280 license.fullName = "MIT"; 2281 }; 2282 } 2283 ) { }; 2284 2285 lua_cliargs = callPackage ( 2286 { 2287 buildLuarocksPackage, 2288 fetchFromGitHub, 2289 fetchurl, 2290 luaOlder, 2291 }: 2292 buildLuarocksPackage { 2293 pname = "lua_cliargs"; 2294 version = "3.0.2-1"; 2295 knownRockspec = 2296 (fetchurl { 2297 url = "mirror://luarocks/lua_cliargs-3.0.2-1.rockspec"; 2298 sha256 = "1gp3n9ipaqdk59ilqx1ci5faxmx4dh9sgg3279jb8yfa7wg5b8pf"; 2299 }).outPath; 2300 src = fetchFromGitHub { 2301 owner = "lunarmodules"; 2302 repo = "lua_cliargs"; 2303 rev = "v3.0.2"; 2304 hash = "sha256-wL3qBQ8Lu3q8DK2Kaeo1dgzIHd8evaxFYJg47CcQiSg="; 2305 }; 2306 2307 disabled = luaOlder "5.1"; 2308 2309 meta = { 2310 homepage = "https://github.com/lunarmodules/lua_cliargs.git"; 2311 description = "A command-line argument parsing module for Lua"; 2312 license.fullName = "MIT"; 2313 }; 2314 } 2315 ) { }; 2316 2317 luabitop = callPackage ( 2318 { 2319 buildLuarocksPackage, 2320 fetchFromGitHub, 2321 luaAtLeast, 2322 luaOlder, 2323 }: 2324 buildLuarocksPackage { 2325 pname = "luabitop"; 2326 version = "1.0.2-3"; 2327 2328 src = fetchFromGitHub { 2329 owner = "teto"; 2330 repo = "luabitop"; 2331 rev = "96f0a3d73ae5183d0a81bc2f29326eaa06becbfd"; 2332 hash = "sha256-PrM8ncb3TaqgVhFdRa+rUsJ5WuIzS4/DRqVqj8tCaeg="; 2333 }; 2334 2335 disabled = luaOlder "5.1" || luaAtLeast "5.3"; 2336 2337 meta = { 2338 homepage = "http://bitop.luajit.org/"; 2339 description = "Lua Bit Operations Module"; 2340 license.fullName = "MIT/X license"; 2341 }; 2342 } 2343 ) { }; 2344 2345 luacheck = callPackage ( 2346 { 2347 argparse, 2348 buildLuarocksPackage, 2349 fetchFromGitHub, 2350 fetchurl, 2351 luaOlder, 2352 luafilesystem, 2353 }: 2354 buildLuarocksPackage { 2355 pname = "luacheck"; 2356 version = "1.2.0-1"; 2357 knownRockspec = 2358 (fetchurl { 2359 url = "mirror://luarocks/luacheck-1.2.0-1.rockspec"; 2360 sha256 = "0jnmrppq5hp8cwiw1daa33cdn8y2n5lsjk8vzn7ixb20ddz01m6c"; 2361 }).outPath; 2362 src = fetchFromGitHub { 2363 owner = "lunarmodules"; 2364 repo = "luacheck"; 2365 rev = "v1.2.0"; 2366 hash = "sha256-6aDXZRLq2c36dbasyVzcecQKoMvY81RIGYasdF211UY="; 2367 }; 2368 2369 disabled = luaOlder "5.1"; 2370 propagatedBuildInputs = [ 2371 argparse 2372 luafilesystem 2373 ]; 2374 2375 meta = { 2376 homepage = "https://github.com/lunarmodules/luacheck"; 2377 description = "A static analyzer and a linter for Lua"; 2378 license.fullName = "MIT"; 2379 }; 2380 } 2381 ) { }; 2382 2383 luacov = callPackage ( 2384 { 2385 buildLuarocksPackage, 2386 datafile, 2387 fetchFromGitHub, 2388 fetchurl, 2389 luaOlder, 2390 }: 2391 buildLuarocksPackage { 2392 pname = "luacov"; 2393 version = "0.16.0-1"; 2394 knownRockspec = 2395 (fetchurl { 2396 url = "mirror://luarocks/luacov-0.16.0-1.rockspec"; 2397 sha256 = "1yn056pd2x142lc1s2admnhjnv5hpqwlq6d5sr2ckj5g83x55dvx"; 2398 }).outPath; 2399 src = fetchFromGitHub { 2400 owner = "lunarmodules"; 2401 repo = "luacov"; 2402 rev = "v0.16.0"; 2403 hash = "sha256-GoJqiFyXH4chQ/k/qBPttnh/V4vUSfR2Lg8rt3CPKoY="; 2404 }; 2405 2406 disabled = luaOlder "5.1"; 2407 propagatedBuildInputs = [ datafile ]; 2408 2409 meta = { 2410 homepage = "https://lunarmodules.github.io/luacov/"; 2411 description = "Coverage analysis tool for Lua scripts"; 2412 license.fullName = "MIT"; 2413 }; 2414 } 2415 ) { }; 2416 2417 luadbi = callPackage ( 2418 { 2419 buildLuarocksPackage, 2420 fetchFromGitHub, 2421 fetchurl, 2422 luaAtLeast, 2423 luaOlder, 2424 }: 2425 buildLuarocksPackage { 2426 pname = "luadbi"; 2427 version = "0.7.4-1"; 2428 knownRockspec = 2429 (fetchurl { 2430 url = "mirror://luarocks/luadbi-0.7.4-1.rockspec"; 2431 sha256 = "12nqbl2zmwyz7k0x1y5h235di3jb0xwf27p1rh8lcgg4cqx6izr7"; 2432 }).outPath; 2433 src = fetchFromGitHub { 2434 owner = "mwild1"; 2435 repo = "luadbi"; 2436 rev = "v0.7.4"; 2437 hash = "sha256-N4I8zVTodS01QUIncwAts/vxh2aFY2nYCnVmpN+2HwM="; 2438 }; 2439 2440 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2441 2442 meta = { 2443 homepage = "https://github.com/mwild1/luadbi"; 2444 description = "Database abstraction layer"; 2445 license.fullName = "MIT/X11"; 2446 }; 2447 } 2448 ) { }; 2449 2450 luadbi-mysql = callPackage ( 2451 { 2452 buildLuarocksPackage, 2453 fetchFromGitHub, 2454 fetchurl, 2455 luaAtLeast, 2456 luaOlder, 2457 luadbi, 2458 }: 2459 buildLuarocksPackage { 2460 pname = "luadbi-mysql"; 2461 version = "0.7.4-1"; 2462 knownRockspec = 2463 (fetchurl { 2464 url = "mirror://luarocks/luadbi-mysql-0.7.4-1.rockspec"; 2465 sha256 = "0ngpml0mw272pp03kabl1q3jj4fd5hmdlgvw9a2hgl0051358i6c"; 2466 }).outPath; 2467 src = fetchFromGitHub { 2468 owner = "mwild1"; 2469 repo = "luadbi"; 2470 rev = "v0.7.4"; 2471 hash = "sha256-N4I8zVTodS01QUIncwAts/vxh2aFY2nYCnVmpN+2HwM="; 2472 }; 2473 2474 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2475 propagatedBuildInputs = [ luadbi ]; 2476 2477 meta = { 2478 homepage = "https://github.com/mwild1/luadbi"; 2479 description = "Database abstraction layer"; 2480 license.fullName = "MIT/X11"; 2481 }; 2482 } 2483 ) { }; 2484 2485 luadbi-postgresql = callPackage ( 2486 { 2487 buildLuarocksPackage, 2488 fetchFromGitHub, 2489 fetchurl, 2490 luaAtLeast, 2491 luaOlder, 2492 luadbi, 2493 }: 2494 buildLuarocksPackage { 2495 pname = "luadbi-postgresql"; 2496 version = "0.7.4-1"; 2497 knownRockspec = 2498 (fetchurl { 2499 url = "mirror://luarocks/luadbi-postgresql-0.7.4-1.rockspec"; 2500 sha256 = "0wybfngdz8hw4sgmz8rmym1frz6fwrvpx1l5gh0j68m7q4l25crg"; 2501 }).outPath; 2502 src = fetchFromGitHub { 2503 owner = "mwild1"; 2504 repo = "luadbi"; 2505 rev = "v0.7.4"; 2506 hash = "sha256-N4I8zVTodS01QUIncwAts/vxh2aFY2nYCnVmpN+2HwM="; 2507 }; 2508 2509 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2510 propagatedBuildInputs = [ luadbi ]; 2511 2512 meta = { 2513 homepage = "https://github.com/mwild1/luadbi"; 2514 description = "Database abstraction layer"; 2515 license.fullName = "MIT/X11"; 2516 }; 2517 } 2518 ) { }; 2519 2520 luadbi-sqlite3 = callPackage ( 2521 { 2522 buildLuarocksPackage, 2523 fetchFromGitHub, 2524 fetchurl, 2525 luaAtLeast, 2526 luaOlder, 2527 luadbi, 2528 }: 2529 buildLuarocksPackage { 2530 pname = "luadbi-sqlite3"; 2531 version = "0.7.4-1"; 2532 knownRockspec = 2533 (fetchurl { 2534 url = "mirror://luarocks/luadbi-sqlite3-0.7.4-1.rockspec"; 2535 sha256 = "05kjihy5a8hyhn286gi2q1qyyiy8ajnyqp90wv41zjvhxjhg8ymx"; 2536 }).outPath; 2537 src = fetchFromGitHub { 2538 owner = "mwild1"; 2539 repo = "luadbi"; 2540 rev = "v0.7.4"; 2541 hash = "sha256-N4I8zVTodS01QUIncwAts/vxh2aFY2nYCnVmpN+2HwM="; 2542 }; 2543 2544 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2545 propagatedBuildInputs = [ luadbi ]; 2546 2547 meta = { 2548 homepage = "https://github.com/mwild1/luadbi"; 2549 description = "Database abstraction layer"; 2550 license.fullName = "MIT/X11"; 2551 }; 2552 } 2553 ) { }; 2554 2555 luaepnf = callPackage ( 2556 { 2557 buildLuarocksPackage, 2558 fetchFromGitHub, 2559 fetchurl, 2560 lpeg, 2561 luaAtLeast, 2562 luaOlder, 2563 }: 2564 buildLuarocksPackage { 2565 pname = "luaepnf"; 2566 version = "0.3-2"; 2567 knownRockspec = 2568 (fetchurl { 2569 url = "mirror://luarocks/luaepnf-0.3-2.rockspec"; 2570 sha256 = "0kqmnj11wmfpc9mz04zzq8ab4mnbkrhcgc525wrq6pgl3p5li8aa"; 2571 }).outPath; 2572 src = fetchFromGitHub { 2573 owner = "siffiejoe"; 2574 repo = "lua-luaepnf"; 2575 rev = "v0.3"; 2576 hash = "sha256-iZksr6Ljy94D0VO4xSRO9s/VgcURvCfDMX9DOt2IetM="; 2577 }; 2578 2579 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 2580 propagatedBuildInputs = [ lpeg ]; 2581 2582 meta = { 2583 homepage = "http://siffiejoe.github.io/lua-luaepnf/"; 2584 description = "Extended PEG Notation Format (easy grammars for LPeg)"; 2585 license.fullName = "MIT"; 2586 }; 2587 } 2588 ) { }; 2589 2590 luaevent = callPackage ( 2591 { 2592 buildLuarocksPackage, 2593 fetchurl, 2594 luaOlder, 2595 }: 2596 buildLuarocksPackage { 2597 pname = "luaevent"; 2598 version = "0.4.6-1"; 2599 knownRockspec = 2600 (fetchurl { 2601 url = "mirror://luarocks/luaevent-0.4.6-1.rockspec"; 2602 sha256 = "03zixadhx4a7nh67n0sm6sy97c8i9va1a78hibhrl7cfbqc2zc7f"; 2603 }).outPath; 2604 src = fetchurl { 2605 url = "https://github.com/harningt/luaevent/archive/v0.4.6.tar.gz"; 2606 sha256 = "0pbh315d3p7hxgzmbhphkcldxv2dadbka96131b8j5914nxvl4nx"; 2607 }; 2608 2609 disabled = luaOlder "5.1"; 2610 2611 meta = { 2612 homepage = "https://github.com/harningt/luaevent"; 2613 description = "libevent binding for Lua"; 2614 license.fullName = "MIT"; 2615 }; 2616 } 2617 ) { }; 2618 2619 luaexpat = callPackage ( 2620 { 2621 buildLuarocksPackage, 2622 fetchFromGitHub, 2623 fetchurl, 2624 luaOlder, 2625 }: 2626 buildLuarocksPackage { 2627 pname = "luaexpat"; 2628 version = "1.4.1-1"; 2629 knownRockspec = 2630 (fetchurl { 2631 url = "mirror://luarocks/luaexpat-1.4.1-1.rockspec"; 2632 sha256 = "1abwd385x7wnza7qqz5s4aj6m2l1c23pjmbgnpq73q0s17pn1h0c"; 2633 }).outPath; 2634 src = fetchFromGitHub { 2635 owner = "lunarmodules"; 2636 repo = "luaexpat"; 2637 rev = "1.4.1"; 2638 hash = "sha256-SnI+a7555R/EFFdnrvJohP6uzwQiMNQPqgp0jxAI178="; 2639 }; 2640 2641 disabled = luaOlder "5.1"; 2642 2643 meta = { 2644 homepage = "https://lunarmodules.github.io/luaexpat"; 2645 description = "XML Expat parsing"; 2646 maintainers = with lib.maintainers; [ 2647 arobyn 2648 flosse 2649 ]; 2650 license.fullName = "MIT/X11"; 2651 }; 2652 } 2653 ) { }; 2654 2655 luaffi = callPackage ( 2656 { 2657 buildLuarocksPackage, 2658 fetchFromGitHub, 2659 fetchurl, 2660 luaOlder, 2661 }: 2662 buildLuarocksPackage { 2663 pname = "luaffi"; 2664 version = "scm-1"; 2665 knownRockspec = 2666 (fetchurl { 2667 url = "mirror://luarocks/luaffi-scm-1.rockspec"; 2668 sha256 = "1nia0g4n1yv1sbv5np572y8yfai56a8bnscir807s5kj5bs0xhxm"; 2669 }).outPath; 2670 src = fetchFromGitHub { 2671 owner = "facebook"; 2672 repo = "luaffifb"; 2673 rev = "a1cb731b08c91643b0665935eb5622b3d621211b"; 2674 hash = "sha256-wRjAtEEy8KSlIoi/IIutL73Vbm1r+zKs26dEP7gzR1o="; 2675 }; 2676 2677 disabled = luaOlder "5.1"; 2678 2679 meta = { 2680 homepage = "https://github.com/facebook/luaffifb"; 2681 description = "FFI library for calling C functions from lua"; 2682 license.fullName = "BSD"; 2683 }; 2684 } 2685 ) { }; 2686 2687 luafilesystem = callPackage ( 2688 { 2689 buildLuarocksPackage, 2690 fetchFromGitHub, 2691 fetchurl, 2692 luaOlder, 2693 }: 2694 buildLuarocksPackage { 2695 pname = "luafilesystem"; 2696 version = "1.8.0-1"; 2697 knownRockspec = 2698 (fetchurl { 2699 url = "mirror://luarocks/luafilesystem-1.8.0-1.rockspec"; 2700 sha256 = "18nkaks0b75dmycljg5vljap5w8d0ysdkg96yl5szgzr7nzrymfa"; 2701 }).outPath; 2702 src = fetchFromGitHub { 2703 owner = "keplerproject"; 2704 repo = "luafilesystem"; 2705 rev = "v1_8_0"; 2706 hash = "sha256-pEA+Z1pkykWLTT6NHQ5lo8roOh2P0fiHtnK+byTkF5o="; 2707 }; 2708 2709 disabled = luaOlder "5.1"; 2710 2711 meta = { 2712 homepage = "https://github.com/keplerproject/luafilesystem"; 2713 description = "File System Library for the Lua Programming Language"; 2714 maintainers = with lib.maintainers; [ flosse ]; 2715 license.fullName = "MIT/X11"; 2716 }; 2717 } 2718 ) { }; 2719 2720 lualdap = callPackage ( 2721 { 2722 buildLuarocksPackage, 2723 fetchFromGitHub, 2724 fetchurl, 2725 luaOlder, 2726 }: 2727 buildLuarocksPackage { 2728 pname = "lualdap"; 2729 version = "1.4.0-1"; 2730 knownRockspec = 2731 (fetchurl { 2732 url = "mirror://luarocks/lualdap-1.4.0-1.rockspec"; 2733 sha256 = "0n924gxm6ccr9hjk4bi5z70vgh7g75dl7293pab41a2qcrlsj9nk"; 2734 }).outPath; 2735 src = fetchFromGitHub { 2736 owner = "lualdap"; 2737 repo = "lualdap"; 2738 rev = "v1.4.0"; 2739 hash = "sha256-u91T7RlRa87CbYXZLhrzcpVvZWsCnQObmbS86kfsAHc="; 2740 }; 2741 2742 disabled = luaOlder "5.1"; 2743 2744 meta = { 2745 homepage = "https://lualdap.github.io/lualdap/"; 2746 description = "A Lua interface to the OpenLDAP library"; 2747 maintainers = with lib.maintainers; [ aanderse ]; 2748 license.fullName = "MIT"; 2749 }; 2750 } 2751 ) { }; 2752 2753 lualine-nvim = callPackage ( 2754 { 2755 buildLuarocksPackage, 2756 fetchFromGitHub, 2757 fetchurl, 2758 luaOlder, 2759 }: 2760 buildLuarocksPackage { 2761 pname = "lualine.nvim"; 2762 version = "scm-1"; 2763 knownRockspec = 2764 (fetchurl { 2765 url = "mirror://luarocks/lualine.nvim-scm-1.rockspec"; 2766 sha256 = "1mixb73qp35wv4bjkkakxjzvczc2gk5m4ywylj5xx41r074hpp1f"; 2767 }).outPath; 2768 src = fetchFromGitHub { 2769 owner = "nvim-lualine"; 2770 repo = "lualine.nvim"; 2771 rev = "b8c23159c0161f4b89196f74ee3a6d02cdc3a955"; 2772 hash = "sha256-lWt2kpW+hsTMWt8tar/+AISTDrIt4Jn27NmI9j+Xt4s="; 2773 }; 2774 2775 disabled = luaOlder "5.1"; 2776 2777 meta = { 2778 homepage = "https://github.com/nvim-lualine/lualine.nvim"; 2779 description = "A blazing fast and easy to configure neovim statusline plugin written in pure lua."; 2780 license.fullName = "MIT"; 2781 }; 2782 } 2783 ) { }; 2784 2785 lualogging = callPackage ( 2786 { 2787 buildLuarocksPackage, 2788 fetchFromGitHub, 2789 fetchurl, 2790 luasocket, 2791 }: 2792 buildLuarocksPackage { 2793 pname = "lualogging"; 2794 version = "1.8.2-1"; 2795 knownRockspec = 2796 (fetchurl { 2797 url = "mirror://luarocks/lualogging-1.8.2-1.rockspec"; 2798 sha256 = "164c4xgwkv2ya8fbb22wm48ywc4gx939b574r6bgl8zqayffdqmx"; 2799 }).outPath; 2800 src = fetchFromGitHub { 2801 owner = "lunarmodules"; 2802 repo = "lualogging"; 2803 rev = "v1.8.2"; 2804 hash = "sha256-RIblf2C9H6Iajzc9aqnvrK4xq8FAHq9InTO6m3aM5dc="; 2805 }; 2806 2807 propagatedBuildInputs = [ luasocket ]; 2808 2809 meta = { 2810 homepage = "https://github.com/lunarmodules/lualogging"; 2811 description = "A simple API to use logging features"; 2812 license.fullName = "MIT/X11"; 2813 }; 2814 } 2815 ) { }; 2816 2817 luaossl = callPackage ( 2818 { 2819 buildLuarocksPackage, 2820 fetchurl, 2821 fetchzip, 2822 }: 2823 buildLuarocksPackage { 2824 pname = "luaossl"; 2825 version = "20220711-0"; 2826 knownRockspec = 2827 (fetchurl { 2828 url = "mirror://luarocks/luaossl-20220711-0.rockspec"; 2829 sha256 = "0b68kvfz587ilmb5c1p7920kysg9q4m4fl4cz4d93jl3270mzh8y"; 2830 }).outPath; 2831 src = fetchzip { 2832 url = "https://github.com/wahern/luaossl/archive/rel-20220711.zip"; 2833 sha256 = "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb"; 2834 }; 2835 2836 meta = { 2837 homepage = "http://25thandclement.com/~william/projects/luaossl.html"; 2838 description = "Most comprehensive OpenSSL module in the Lua universe."; 2839 license.fullName = "MIT/X11"; 2840 }; 2841 } 2842 ) { }; 2843 2844 luaposix = callPackage ( 2845 { 2846 bit32, 2847 buildLuarocksPackage, 2848 fetchurl, 2849 fetchzip, 2850 luaAtLeast, 2851 luaOlder, 2852 }: 2853 buildLuarocksPackage { 2854 pname = "luaposix"; 2855 version = "34.1.1-1"; 2856 knownRockspec = 2857 (fetchurl { 2858 url = "mirror://luarocks/luaposix-34.1.1-1.rockspec"; 2859 sha256 = "0hx6my54axjcb3bklr991wji374qq6mwa3ily6dvb72vi2534nwz"; 2860 }).outPath; 2861 src = fetchzip { 2862 url = "http://github.com/luaposix/luaposix/archive/v34.1.1.zip"; 2863 sha256 = "0863r8c69yx92lalj174qdhavqmcs2cdimjim6k55qj9yn78v9zl"; 2864 }; 2865 2866 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 2867 propagatedBuildInputs = [ bit32 ]; 2868 2869 meta = { 2870 homepage = "https://github.com/luaposix/luaposix/"; 2871 description = "Lua bindings for POSIX"; 2872 maintainers = with lib.maintainers; [ 2873 vyp 2874 lblasc 2875 ]; 2876 license.fullName = "MIT/X11"; 2877 }; 2878 } 2879 ) { }; 2880 2881 luaprompt = callPackage ( 2882 { 2883 argparse, 2884 buildLuarocksPackage, 2885 fetchFromGitHub, 2886 fetchurl, 2887 luaOlder, 2888 }: 2889 buildLuarocksPackage { 2890 pname = "luaprompt"; 2891 version = "0.9-1"; 2892 knownRockspec = 2893 (fetchurl { 2894 url = "mirror://luarocks/luaprompt-0.9-1.rockspec"; 2895 sha256 = "0bh4fpfrqbg9bappnrfr6blvl3lzc99plq7jac67mhph1bjki7rk"; 2896 }).outPath; 2897 src = fetchFromGitHub { 2898 owner = "dpapavas"; 2899 repo = "luaprompt"; 2900 rev = "v0.9"; 2901 hash = "sha256-S6bzlIY1KlMK3wy01wGuRujGFgPxcNWmCaISQ87EBGs="; 2902 }; 2903 2904 disabled = luaOlder "5.1"; 2905 propagatedBuildInputs = [ argparse ]; 2906 2907 meta = { 2908 homepage = "https://github.com/dpapavas/luaprompt"; 2909 description = "A Lua command prompt with pretty-printing and auto-completion"; 2910 maintainers = with lib.maintainers; [ Freed-Wu ]; 2911 license.fullName = "MIT/X11"; 2912 }; 2913 } 2914 ) { }; 2915 2916 luarepl = callPackage ( 2917 { 2918 buildLuarocksPackage, 2919 fetchurl, 2920 luaOlder, 2921 }: 2922 buildLuarocksPackage { 2923 pname = "luarepl"; 2924 version = "0.10-1"; 2925 knownRockspec = 2926 (fetchurl { 2927 url = "mirror://luarocks/luarepl-0.10-1.rockspec"; 2928 sha256 = "12zdljfs4wg55mj7a38iwg7p5i1pmc934v9qlpi61sw4brp6x8d3"; 2929 }).outPath; 2930 src = fetchurl { 2931 url = "https://github.com/hoelzro/lua-repl/archive/0.10.tar.gz"; 2932 sha256 = "0wv37h9w6y5pgr39m7yxbf8imkwvaila6rnwjcp0xsxl5c1rzfjm"; 2933 }; 2934 2935 disabled = luaOlder "5.1"; 2936 2937 meta = { 2938 homepage = "https://github.com/hoelzro/lua-repl"; 2939 description = "A reusable REPL component for Lua, written in Lua"; 2940 license.fullName = "MIT/X11"; 2941 }; 2942 } 2943 ) { }; 2944 2945 luarocks = callPackage ( 2946 { 2947 buildLuarocksPackage, 2948 fetchFromGitHub, 2949 fetchurl, 2950 }: 2951 buildLuarocksPackage { 2952 pname = "luarocks"; 2953 version = "3.12.2-1"; 2954 knownRockspec = 2955 (fetchurl { 2956 url = "mirror://luarocks/luarocks-3.12.2-1.rockspec"; 2957 sha256 = "1ak4w8hxl54yk2lj95l22xjrgw3cpla08s28aa160jrbk6vs5n44"; 2958 }).outPath; 2959 src = fetchFromGitHub { 2960 owner = "luarocks"; 2961 repo = "luarocks"; 2962 rev = "v3.12.2"; 2963 hash = "sha256-hQysstYGUcZnnEXL+9ECS0sBViYggeDIMgo6LpUexBA="; 2964 }; 2965 2966 meta = { 2967 homepage = "http://www.luarocks.org"; 2968 description = "A package manager for Lua modules."; 2969 maintainers = with lib.maintainers; [ 2970 mrcjkb 2971 teto 2972 ]; 2973 license.fullName = "MIT"; 2974 }; 2975 } 2976 ) { }; 2977 2978 luarocks-build-rust-mlua = callPackage ( 2979 { 2980 buildLuarocksPackage, 2981 fetchFromGitHub, 2982 fetchurl, 2983 }: 2984 buildLuarocksPackage { 2985 pname = "luarocks-build-rust-mlua"; 2986 version = "0.2.5-1"; 2987 knownRockspec = 2988 (fetchurl { 2989 url = "mirror://luarocks/luarocks-build-rust-mlua-0.2.5-1.rockspec"; 2990 sha256 = "0h5y2wjv6zpd44jsgv4aiiv5wjj0fls0c81m6wbgr7vl5sx10dnm"; 2991 }).outPath; 2992 src = fetchFromGitHub { 2993 owner = "mlua-rs"; 2994 repo = "luarocks-build-rust-mlua"; 2995 rev = "0.2.5"; 2996 hash = "sha256-OJk0UgM+GzuE7+AlpdTc3wcoelOk4tS3uOzjsZreBKs="; 2997 }; 2998 2999 meta = { 3000 homepage = "https://github.com/mlua-rs/luarocks-build-rust-mlua"; 3001 description = "A LuaRocks build backend for Lua modules written in Rust using mlua"; 3002 maintainers = with lib.maintainers; [ mrcjkb ]; 3003 license.fullName = "MIT"; 3004 }; 3005 } 3006 ) { }; 3007 3008 luarocks-build-treesitter-parser = callPackage ( 3009 { 3010 buildLuarocksPackage, 3011 fetchurl, 3012 fetchzip, 3013 luaOlder, 3014 luafilesystem, 3015 }: 3016 buildLuarocksPackage { 3017 pname = "luarocks-build-treesitter-parser"; 3018 version = "6.0.1-1"; 3019 knownRockspec = 3020 (fetchurl { 3021 url = "mirror://luarocks/luarocks-build-treesitter-parser-6.0.1-1.rockspec"; 3022 sha256 = "1sck7xjk0mpavq54n0qv0j08345mg5n6rhmi1p5kk77566kl8644"; 3023 }).outPath; 3024 src = fetchzip { 3025 url = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser/archive/v6.0.1.zip"; 3026 sha256 = "1lagh03s6h7069p03g82r87xddpifhg5ifhahzrcmyafm564rwvm"; 3027 }; 3028 3029 disabled = luaOlder "5.1"; 3030 propagatedBuildInputs = [ luafilesystem ]; 3031 3032 meta = { 3033 homepage = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser"; 3034 description = "A luarocks build backend for tree-sitter parsers."; 3035 maintainers = with lib.maintainers; [ mrcjkb ]; 3036 license.fullName = "MIT"; 3037 }; 3038 } 3039 ) { }; 3040 3041 luarocks-build-treesitter-parser-cpp = callPackage ( 3042 { 3043 buildLuarocksPackage, 3044 fetchurl, 3045 fetchzip, 3046 luaOlder, 3047 luafilesystem, 3048 }: 3049 buildLuarocksPackage { 3050 pname = "luarocks-build-treesitter-parser-cpp"; 3051 version = "2.0.5-1"; 3052 knownRockspec = 3053 (fetchurl { 3054 url = "mirror://luarocks/luarocks-build-treesitter-parser-cpp-2.0.5-1.rockspec"; 3055 sha256 = "05hx146gmrn8c6ndgnqq521h66cd4lmpjkclvdlfpp5inck22cdd"; 3056 }).outPath; 3057 src = fetchzip { 3058 url = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser-cpp/archive/v2.0.5.zip"; 3059 sha256 = "12q6kfnrw9cy0r8l3h79fnvfq5faapxgjmhf1xksb5kf077l0g7j"; 3060 }; 3061 3062 disabled = luaOlder "5.1"; 3063 propagatedBuildInputs = [ luafilesystem ]; 3064 3065 meta = { 3066 homepage = "https://github.com/nvim-neorocks/luarocks-build-treesitter-parser-cpp"; 3067 description = "A luarocks build backend for tree-sitter parsers written in C++."; 3068 maintainers = with lib.maintainers; [ mrcjkb ]; 3069 license.fullName = "MIT"; 3070 }; 3071 } 3072 ) { }; 3073 3074 luasec = callPackage ( 3075 { 3076 buildLuarocksPackage, 3077 fetchFromGitHub, 3078 fetchurl, 3079 luaOlder, 3080 luasocket, 3081 }: 3082 buildLuarocksPackage { 3083 pname = "luasec"; 3084 version = "1.3.2-1"; 3085 knownRockspec = 3086 (fetchurl { 3087 url = "mirror://luarocks/luasec-1.3.2-1.rockspec"; 3088 sha256 = "09nqs60cmbq1bi70cdh7v5xjnlsm2mrxv9pmbbvczijvz184jh33"; 3089 }).outPath; 3090 src = fetchFromGitHub { 3091 owner = "brunoos"; 3092 repo = "luasec"; 3093 rev = "v1.3.2"; 3094 hash = "sha256-o3uiZQnn/ID1qAgpZAqA4R3fWWk+Ajcgx++iNu1yLWc="; 3095 }; 3096 3097 disabled = luaOlder "5.1"; 3098 propagatedBuildInputs = [ luasocket ]; 3099 3100 meta = { 3101 homepage = "https://github.com/brunoos/luasec/wiki"; 3102 description = "A binding for OpenSSL library to provide TLS/SSL communication over LuaSocket."; 3103 maintainers = with lib.maintainers; [ flosse ]; 3104 license.fullName = "MIT"; 3105 }; 3106 } 3107 ) { }; 3108 3109 luasnip = callPackage ( 3110 { 3111 buildLuarocksPackage, 3112 fetchurl, 3113 fetchzip, 3114 jsregexp, 3115 luaOlder, 3116 }: 3117 buildLuarocksPackage { 3118 pname = "luasnip"; 3119 version = "2.4.0-1"; 3120 knownRockspec = 3121 (fetchurl { 3122 url = "mirror://luarocks/luasnip-2.4.0-1.rockspec"; 3123 sha256 = "0rbv9z1bb8dy70mmy7w621zlhxcdv1g3bmmdxp012hicg7zrikyy"; 3124 }).outPath; 3125 src = fetchzip { 3126 url = "https://github.com/L3MON4D3/LuaSnip/archive/v2.4.0.zip"; 3127 sha256 = "055mbyszd7gyxib4yi4wsiazs63p4d6ms3sp6x7xya7d0szfkl0n"; 3128 }; 3129 3130 disabled = luaOlder "5.1"; 3131 propagatedBuildInputs = [ jsregexp ]; 3132 3133 meta = { 3134 homepage = "https://github.com/L3MON4D3/LuaSnip"; 3135 description = "Snippet Engine for Neovim written in Lua."; 3136 license.fullName = "Apache-2.0"; 3137 }; 3138 } 3139 ) { }; 3140 3141 luasocket = callPackage ( 3142 { 3143 buildLuarocksPackage, 3144 fetchFromGitHub, 3145 fetchurl, 3146 luaOlder, 3147 }: 3148 buildLuarocksPackage { 3149 pname = "luasocket"; 3150 version = "3.1.0-1"; 3151 knownRockspec = 3152 (fetchurl { 3153 url = "mirror://luarocks/luasocket-3.1.0-1.rockspec"; 3154 sha256 = "0wg9735cyz2gj7r9za8yi83w765g0f4pahnny7h0pdpx58pgfx4r"; 3155 }).outPath; 3156 src = fetchFromGitHub { 3157 owner = "lunarmodules"; 3158 repo = "luasocket"; 3159 rev = "v3.1.0"; 3160 hash = "sha256-sKSzCrQpS+9reN9IZ4wkh4dB50wiIfA87xN4u1lyHo4="; 3161 }; 3162 3163 disabled = luaOlder "5.1"; 3164 3165 meta = { 3166 homepage = "https://github.com/lunarmodules/luasocket"; 3167 description = "Network support for the Lua language"; 3168 license.fullName = "MIT"; 3169 }; 3170 } 3171 ) { }; 3172 3173 luasql-sqlite3 = callPackage ( 3174 { 3175 buildLuarocksPackage, 3176 fetchFromGitHub, 3177 fetchurl, 3178 luaOlder, 3179 }: 3180 buildLuarocksPackage { 3181 pname = "luasql-sqlite3"; 3182 version = "2.7.0-1"; 3183 knownRockspec = 3184 (fetchurl { 3185 url = "mirror://luarocks/luasql-sqlite3-2.7.0-1.rockspec"; 3186 sha256 = "0fsx3r1hfdkvy07ki7rmmn23w0578mss8rfzz5fi668f0f35lywg"; 3187 }).outPath; 3188 src = fetchFromGitHub { 3189 owner = "lunarmodules"; 3190 repo = "luasql"; 3191 rev = "2.7.0"; 3192 hash = "sha256-vtL/ynlnZYNP3CQSxMR7o3xWx10rDHI9fIQazrtNfQE="; 3193 }; 3194 3195 disabled = luaOlder "5.1"; 3196 3197 meta = { 3198 homepage = "https://lunarmodules.github.io/luasql/"; 3199 description = "Database connectivity for Lua (SQLite3 driver)"; 3200 maintainers = with lib.maintainers; [ vyp ]; 3201 license.fullName = "MIT/X11"; 3202 }; 3203 } 3204 ) { }; 3205 3206 luassert = callPackage ( 3207 { 3208 buildLuarocksPackage, 3209 fetchFromGitHub, 3210 fetchurl, 3211 luaOlder, 3212 say, 3213 }: 3214 buildLuarocksPackage { 3215 pname = "luassert"; 3216 version = "1.9.0-1"; 3217 knownRockspec = 3218 (fetchurl { 3219 url = "mirror://luarocks/luassert-1.9.0-1.rockspec"; 3220 sha256 = "1bkzr03190p33lprgy51nl84aq082fyc3f7s3wkk7zlay4byycxd"; 3221 }).outPath; 3222 src = fetchFromGitHub { 3223 owner = "lunarmodules"; 3224 repo = "luassert"; 3225 rev = "v1.9.0"; 3226 hash = "sha256-jjdB95Vr5iVsh5T7E84WwZMW6/5H2k2R/ny2VBs2l3I="; 3227 }; 3228 3229 disabled = luaOlder "5.1"; 3230 propagatedBuildInputs = [ say ]; 3231 3232 meta = { 3233 homepage = "https://lunarmodules.github.io/busted/"; 3234 description = "Lua assertions extension"; 3235 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 3236 }; 3237 } 3238 ) { }; 3239 3240 luasystem = callPackage ( 3241 { 3242 buildLuarocksPackage, 3243 fetchFromGitHub, 3244 fetchurl, 3245 luaOlder, 3246 }: 3247 buildLuarocksPackage { 3248 pname = "luasystem"; 3249 version = "0.6.3-1"; 3250 knownRockspec = 3251 (fetchurl { 3252 url = "mirror://luarocks/luasystem-0.6.3-1.rockspec"; 3253 sha256 = "0zqmrrnvpvy0bmvdc26lgcabx525xq0xy1ysh91d74hdvnznn2jc"; 3254 }).outPath; 3255 src = fetchFromGitHub { 3256 owner = "lunarmodules"; 3257 repo = "luasystem"; 3258 rev = "v0.6.3"; 3259 hash = "sha256-8d2835/EcyDJX9yTn6MTfaZryjY1wkSP+IIIKGPDXMk="; 3260 }; 3261 3262 disabled = luaOlder "5.1"; 3263 3264 meta = { 3265 homepage = "https://github.com/lunarmodules/luasystem"; 3266 description = "Platform independent system calls for Lua."; 3267 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 3268 }; 3269 } 3270 ) { }; 3271 3272 luatext = callPackage ( 3273 { 3274 buildLuarocksPackage, 3275 fetchFromGitHub, 3276 fetchurl, 3277 luaOlder, 3278 }: 3279 buildLuarocksPackage { 3280 pname = "luatext"; 3281 version = "1.2.1-0"; 3282 knownRockspec = 3283 (fetchurl { 3284 url = "mirror://luarocks/luatext-1.2.1-0.rockspec"; 3285 sha256 = "12ia4ibihd537mjmvdasnwgkinaygqwk03bsj3s0qrfhy6yz84ka"; 3286 }).outPath; 3287 src = fetchFromGitHub { 3288 owner = "f4z3r"; 3289 repo = "luatext"; 3290 rev = "v1.2.1"; 3291 hash = "sha256-StxCmjSSy3ok0hNkKTQyq4yS1LfX980R5pULCUjLPek="; 3292 }; 3293 3294 disabled = luaOlder "5.1"; 3295 3296 meta = { 3297 homepage = "https://github.com/f4z3r/luatext/tree/main"; 3298 description = "A small library to print colored text"; 3299 license.fullName = "MIT"; 3300 }; 3301 } 3302 ) { }; 3303 3304 luaunbound = callPackage ( 3305 { 3306 buildLuarocksPackage, 3307 fetchurl, 3308 luaAtLeast, 3309 luaOlder, 3310 }: 3311 buildLuarocksPackage { 3312 pname = "luaunbound"; 3313 version = "1.0.0-1"; 3314 knownRockspec = 3315 (fetchurl { 3316 url = "mirror://luarocks/luaunbound-1.0.0-1.rockspec"; 3317 sha256 = "1zlkibdwrj5p97nhs33cz8xx0323z3kiq5x7v0h3i7v6j0h8ppvn"; 3318 }).outPath; 3319 src = fetchurl { 3320 url = "https://code.zash.se/dl/luaunbound/luaunbound-1.0.0.tar.gz"; 3321 sha256 = "1lsh0ylp5xskygxl5qdv6mhkm1x8xp0vfd5prk5hxkr19jk5mr3d"; 3322 }; 3323 3324 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 3325 3326 meta = { 3327 homepage = "https://www.zash.se/luaunbound.html"; 3328 description = "A binding to libunbound"; 3329 license.fullName = "MIT"; 3330 }; 3331 } 3332 ) { }; 3333 3334 luaunit = callPackage ( 3335 { 3336 buildLuarocksPackage, 3337 fetchurl, 3338 fetchzip, 3339 luaAtLeast, 3340 luaOlder, 3341 }: 3342 buildLuarocksPackage { 3343 pname = "luaunit"; 3344 version = "3.4-1"; 3345 knownRockspec = 3346 (fetchurl { 3347 url = "mirror://luarocks/luaunit-3.4-1.rockspec"; 3348 sha256 = "111435fa8p2819vcvg76qmknj0wqk01gy9d1nh55c36616xnj54n"; 3349 }).outPath; 3350 src = fetchzip { 3351 url = "https://github.com/bluebird75/luaunit/releases/download/LUAUNIT_V3_4/rock-luaunit-3.4.zip"; 3352 sha256 = "0qf07y3229lq3qq1mfkv83gzbc7dgyr67hysqjb5bbk333flv56r"; 3353 }; 3354 3355 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 3356 3357 meta = { 3358 homepage = "https://github.com/bluebird75/luaunit"; 3359 description = "A unit testing framework for Lua"; 3360 maintainers = with lib.maintainers; [ lockejan ]; 3361 license.fullName = "BSD"; 3362 }; 3363 } 3364 ) { }; 3365 3366 luautf8 = callPackage ( 3367 { 3368 buildLuarocksPackage, 3369 fetchurl, 3370 luaOlder, 3371 }: 3372 buildLuarocksPackage { 3373 pname = "luautf8"; 3374 version = "0.1.7-1"; 3375 knownRockspec = 3376 (fetchurl { 3377 url = "mirror://luarocks/luautf8-0.1.7-1.rockspec"; 3378 sha256 = "0a06r8g2vnh2vzwghjiz7bwkl0x75q52skvylgz9c37i62swbwgl"; 3379 }).outPath; 3380 src = fetchurl { 3381 url = "https://github.com/starwing/luautf8/archive/refs/tags/0.1.7.tar.gz"; 3382 sha256 = "1fqrka532hx97kj5iqnx4h5x5i2a319iv2b6zmifflmh6lya6mgw"; 3383 }; 3384 3385 disabled = luaOlder "5.1"; 3386 3387 meta = { 3388 homepage = "https://github.com/starwing/luautf8"; 3389 description = "A UTF-8 support module for Lua"; 3390 maintainers = with lib.maintainers; [ pstn ]; 3391 license.fullName = "MIT"; 3392 }; 3393 } 3394 ) { }; 3395 3396 luazip = callPackage ( 3397 { 3398 buildLuarocksPackage, 3399 fetchFromGitHub, 3400 fetchurl, 3401 luaAtLeast, 3402 luaOlder, 3403 }: 3404 buildLuarocksPackage { 3405 pname = "luazip"; 3406 version = "1.2.7-1"; 3407 knownRockspec = 3408 (fetchurl { 3409 url = "mirror://luarocks/luazip-1.2.7-1.rockspec"; 3410 sha256 = "1wxy3p2ksaq4s8lg925mi9cvbh875gsapgkzm323dr8qaxxg7mba"; 3411 }).outPath; 3412 src = fetchFromGitHub { 3413 owner = "mpeterv"; 3414 repo = "luazip"; 3415 rev = "1.2.7"; 3416 hash = "sha256-pAuXdvF2hM3ApvOg5nn9EHTGlajujHMtHEoN3Sj+mMo="; 3417 }; 3418 3419 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 3420 3421 meta = { 3422 homepage = "https://github.com/mpeterv/luazip"; 3423 description = "Library for reading files inside zip files"; 3424 license.fullName = "MIT"; 3425 }; 3426 } 3427 ) { }; 3428 3429 lusc_luv = callPackage ( 3430 { 3431 buildLuarocksPackage, 3432 fetchFromGitHub, 3433 fetchurl, 3434 luaOlder, 3435 luv, 3436 }: 3437 buildLuarocksPackage { 3438 pname = "lusc_luv"; 3439 version = "4.0.1-1"; 3440 knownRockspec = 3441 (fetchurl { 3442 url = "mirror://luarocks/lusc_luv-4.0.1-1.rockspec"; 3443 sha256 = "1bgk481ljfy8q7r3w9z1x5ix0dm6v444c7mf9nahlpyrz9skxakp"; 3444 }).outPath; 3445 src = fetchFromGitHub { 3446 owner = "svermeulen"; 3447 repo = "lusc_luv"; 3448 rev = "main"; 3449 hash = "sha256-xT3so0QHtzzLRNRb7yqfaRMwkl2bt1MP1xh8BkHKqqo="; 3450 }; 3451 3452 disabled = luaOlder "5.1"; 3453 propagatedBuildInputs = [ luv ]; 3454 3455 meta = { 3456 homepage = "https://github.com/svermeulen/lusc_luv"; 3457 description = "Structured Async/Concurrency for Lua using Luv"; 3458 license.fullName = "MIT"; 3459 }; 3460 } 3461 ) { }; 3462 3463 lush-nvim = callPackage ( 3464 { 3465 buildLuarocksPackage, 3466 fetchFromGitHub, 3467 fetchurl, 3468 luaAtLeast, 3469 luaOlder, 3470 }: 3471 buildLuarocksPackage { 3472 pname = "lush.nvim"; 3473 version = "scm-1"; 3474 knownRockspec = 3475 (fetchurl { 3476 url = "mirror://luarocks/lush.nvim-scm-1.rockspec"; 3477 sha256 = "0ivir5p3mmv051pyya2hj1yrnflrv8bp38dx033i3kzfbpyg23ca"; 3478 }).outPath; 3479 src = fetchFromGitHub { 3480 owner = "rktjmp"; 3481 repo = "lush.nvim"; 3482 rev = "9c60ec2279d62487d942ce095e49006af28eed6e"; 3483 hash = "sha256-ZDC2oirfDe/GqNx6+hivvNqdLutAxlBnSk51lf1yKqM="; 3484 }; 3485 3486 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 3487 3488 meta = { 3489 homepage = "https://github.com/rktjmp/lush.nvim"; 3490 description = "Define Neovim themes as a DSL in lua, with real-time feedback."; 3491 maintainers = with lib.maintainers; [ teto ]; 3492 license.fullName = "MIT/X11"; 3493 }; 3494 } 3495 ) { }; 3496 3497 luuid = callPackage ( 3498 { 3499 buildLuarocksPackage, 3500 fetchurl, 3501 luaAtLeast, 3502 luaOlder, 3503 }: 3504 buildLuarocksPackage { 3505 pname = "luuid"; 3506 version = "20120509-2"; 3507 knownRockspec = 3508 (fetchurl { 3509 url = "mirror://luarocks/luuid-20120509-2.rockspec"; 3510 sha256 = "1q2fv25wfbiqn49mqv26gs4pyllch311akcf7jjn27l5ik8ji5b6"; 3511 }).outPath; 3512 src = fetchurl { 3513 url = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.2/luuid.tar.gz"; 3514 sha256 = "1bfkj613d05yps3fivmz0j1bxf2zkg9g1yl0ifffgw0vy00hpnvm"; 3515 }; 3516 3517 disabled = luaOlder "5.2" || luaAtLeast "5.4"; 3518 3519 meta = { 3520 homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid"; 3521 description = "A library for UUID generation"; 3522 license.fullName = "Public domain"; 3523 }; 3524 } 3525 ) { }; 3526 3527 lyaml = callPackage ( 3528 { 3529 buildLuarocksPackage, 3530 fetchurl, 3531 fetchzip, 3532 luaAtLeast, 3533 luaOlder, 3534 }: 3535 buildLuarocksPackage { 3536 pname = "lyaml"; 3537 version = "6.2.8-1"; 3538 knownRockspec = 3539 (fetchurl { 3540 url = "mirror://luarocks/lyaml-6.2.8-1.rockspec"; 3541 sha256 = "0d0h70kjl5fkq589y1sx8qy8as002dhcf88pf60pghvch002ryi1"; 3542 }).outPath; 3543 src = fetchzip { 3544 url = "http://github.com/gvvaughan/lyaml/archive/v6.2.8.zip"; 3545 sha256 = "0r3jjsd8x2fs1aanki0s1mvpznl16f32c1qfgmicy0icgy5xfch0"; 3546 }; 3547 3548 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 3549 3550 meta = { 3551 homepage = "http://github.com/gvvaughan/lyaml"; 3552 description = "libYAML binding for Lua"; 3553 maintainers = with lib.maintainers; [ lblasc ]; 3554 license.fullName = "MIT/X11"; 3555 }; 3556 } 3557 ) { }; 3558 3559 lz-n = callPackage ( 3560 { 3561 buildLuarocksPackage, 3562 fetchurl, 3563 fetchzip, 3564 luaOlder, 3565 }: 3566 buildLuarocksPackage { 3567 pname = "lz.n"; 3568 version = "2.11.3-1"; 3569 knownRockspec = 3570 (fetchurl { 3571 url = "mirror://luarocks/lz.n-2.11.3-1.rockspec"; 3572 sha256 = "0fg256gwa7444fh7wivasi77x7qgxx4r3hjqw90qa1kav10np88n"; 3573 }).outPath; 3574 src = fetchzip { 3575 url = "https://github.com/nvim-neorocks/lz.n/archive/v2.11.3.zip"; 3576 sha256 = "0vnr1iiq4z3q7s3qylfmvcclmspydg8ll4p75jilcx9d114v7wwc"; 3577 }; 3578 3579 disabled = luaOlder "5.1"; 3580 3581 meta = { 3582 homepage = "https://github.com/nvim-neorocks/lz.n"; 3583 description = "🦥 A dead simple lazy-loading Lua library for Neovim plugins."; 3584 maintainers = with lib.maintainers; [ mrcjkb ]; 3585 license.fullName = "GPL-2+"; 3586 }; 3587 } 3588 ) { }; 3589 3590 lze = callPackage ( 3591 { 3592 buildLuarocksPackage, 3593 fetchurl, 3594 fetchzip, 3595 luaOlder, 3596 }: 3597 buildLuarocksPackage { 3598 pname = "lze"; 3599 version = "0.11.7-1"; 3600 knownRockspec = 3601 (fetchurl { 3602 url = "mirror://luarocks/lze-0.11.7-1.rockspec"; 3603 sha256 = "18jj2g81i6b56a9kyg3q1qsrkgvhcz3kgcp419s4bvza8inkzqcq"; 3604 }).outPath; 3605 src = fetchzip { 3606 url = "https://github.com/BirdeeHub/lze/archive/v0.11.7.zip"; 3607 sha256 = "0zr8pzib9xg8ngvlx536603ji99xwzgjcggxn7f6fl1b2zm4dj6n"; 3608 }; 3609 3610 disabled = luaOlder "5.1"; 3611 3612 meta = { 3613 homepage = "https://github.com/BirdeeHub/lze"; 3614 description = "A lazy-loading library for neovim, inspired by, but different from, nvim-neorocks/lz.n"; 3615 maintainers = with lib.maintainers; [ birdee ]; 3616 license.fullName = "GPL-2+"; 3617 }; 3618 } 3619 ) { }; 3620 3621 lzextras = callPackage ( 3622 { 3623 buildLuarocksPackage, 3624 fetchurl, 3625 fetchzip, 3626 luaOlder, 3627 }: 3628 buildLuarocksPackage { 3629 pname = "lzextras"; 3630 version = "0.4.2-1"; 3631 knownRockspec = 3632 (fetchurl { 3633 url = "mirror://luarocks/lzextras-0.4.2-1.rockspec"; 3634 sha256 = "1awxr7bmf5hfgvn5vjra1rdn57dcsmv9v33b5pgp13q6yjhr750s"; 3635 }).outPath; 3636 src = fetchzip { 3637 url = "https://github.com/BirdeeHub/lzextras/archive/v0.4.2.zip"; 3638 sha256 = "1apgv3g9blwh25hqjhz1b7la3m2c3pfzalg42kg7y0x66ga78qf0"; 3639 }; 3640 3641 disabled = luaOlder "5.1"; 3642 3643 meta = { 3644 homepage = "https://github.com/BirdeeHub/lzextras"; 3645 description = "A collection of utilities and handlers for BirdeeHub/lze"; 3646 maintainers = with lib.maintainers; [ birdee ]; 3647 license.fullName = "GPL-2+"; 3648 }; 3649 } 3650 ) { }; 3651 3652 lzn-auto-require = callPackage ( 3653 { 3654 buildLuarocksPackage, 3655 fetchurl, 3656 fetchzip, 3657 luaOlder, 3658 lz-n, 3659 }: 3660 buildLuarocksPackage { 3661 pname = "lzn-auto-require"; 3662 version = "0.2.0-1"; 3663 knownRockspec = 3664 (fetchurl { 3665 url = "mirror://luarocks/lzn-auto-require-0.2.0-1.rockspec"; 3666 sha256 = "02w8pvyhnlbsz56rhgjql13qkh7fk05ai1qkqvk90a8ni8w48hh3"; 3667 }).outPath; 3668 src = fetchzip { 3669 url = "https://github.com/horriblename/lzn-auto-require/archive/v0.2.0.zip"; 3670 sha256 = "1mgka1mmvpd2gfya898qdbbwrp5rpqds8manjs1s7g5x63xp6b98"; 3671 }; 3672 3673 disabled = luaOlder "5.1"; 3674 propagatedBuildInputs = [ lz-n ]; 3675 3676 meta = { 3677 homepage = "https://github.com/horriblename/lzn-auto-require"; 3678 description = "Auto load optional plugins via lua modules with lz.n"; 3679 maintainers = with lib.maintainers; [ mrcjkb ]; 3680 license.fullName = "GPL-2.0"; 3681 }; 3682 } 3683 ) { }; 3684 3685 magick = callPackage ( 3686 { 3687 buildLuarocksPackage, 3688 fetchFromGitHub, 3689 fetchurl, 3690 lua, 3691 }: 3692 buildLuarocksPackage { 3693 pname = "magick"; 3694 version = "1.6.0-1"; 3695 knownRockspec = 3696 (fetchurl { 3697 url = "mirror://luarocks/magick-1.6.0-1.rockspec"; 3698 sha256 = "1pg150xsxnqvlhxpiy17s9hm4dkc84v46mlwi9rhriynqz8qks9w"; 3699 }).outPath; 3700 src = fetchFromGitHub { 3701 owner = "leafo"; 3702 repo = "magick"; 3703 rev = "v1.6.0"; 3704 hash = "sha256-gda+vLrWyMQ553jVCIRl1qYTS/rXsGhxrBsrJyI8EN4="; 3705 }; 3706 3707 disabled = lua.luaversion != "5.1"; 3708 3709 meta = { 3710 homepage = "https://github.com/leafo/magick.git"; 3711 description = "Lua bindings to ImageMagick & GraphicsMagick for LuaJIT using FFI"; 3712 maintainers = with lib.maintainers; [ donovanglover ]; 3713 license.fullName = "MIT"; 3714 }; 3715 } 3716 ) { }; 3717 3718 markdown = callPackage ( 3719 { 3720 buildLuarocksPackage, 3721 fetchFromGitHub, 3722 fetchurl, 3723 luaAtLeast, 3724 luaOlder, 3725 }: 3726 buildLuarocksPackage { 3727 pname = "markdown"; 3728 version = "0.33-1"; 3729 knownRockspec = 3730 (fetchurl { 3731 url = "mirror://luarocks/markdown-0.33-1.rockspec"; 3732 sha256 = "02sixijfi6av8h59kx3ngrhygjn2sx1c85c0qfy20gxiz72wi1pl"; 3733 }).outPath; 3734 src = fetchFromGitHub { 3735 owner = "mpeterv"; 3736 repo = "markdown"; 3737 rev = "0.33"; 3738 hash = "sha256-PgRGiSwDODSyNSgeN7kNOCZwjLbGf1Qts/jrfLGYKwU="; 3739 }; 3740 3741 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 3742 3743 meta = { 3744 homepage = "https://github.com/mpeterv/markdown"; 3745 description = "Markdown text-to-html markup system."; 3746 license.fullName = "MIT/X11"; 3747 }; 3748 } 3749 ) { }; 3750 3751 mediator_lua = callPackage ( 3752 { 3753 buildLuarocksPackage, 3754 fetchurl, 3755 luaOlder, 3756 }: 3757 buildLuarocksPackage { 3758 pname = "mediator_lua"; 3759 version = "1.1.2-0"; 3760 knownRockspec = 3761 (fetchurl { 3762 url = "mirror://luarocks/mediator_lua-1.1.2-0.rockspec"; 3763 sha256 = "0frzvf7i256260a1s8xh92crwa2m42972qxfq29zl05aw3pyn7bm"; 3764 }).outPath; 3765 src = fetchurl { 3766 url = "https://github.com/Olivine-Labs/mediator_lua/archive/v1.1.2-0.tar.gz"; 3767 sha256 = "16zzzhiy3y35v8advmlkzpryzxv5vji7727vwkly86q8sagqbxgs"; 3768 }; 3769 3770 disabled = luaOlder "5.1"; 3771 3772 meta = { 3773 homepage = "http://olivinelabs.com/mediator_lua/"; 3774 description = "Event handling through channels"; 3775 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 3776 }; 3777 } 3778 ) { }; 3779 3780 middleclass = callPackage ( 3781 { 3782 buildLuarocksPackage, 3783 fetchurl, 3784 luaOlder, 3785 }: 3786 buildLuarocksPackage { 3787 pname = "middleclass"; 3788 version = "4.1.1-0"; 3789 knownRockspec = 3790 (fetchurl { 3791 url = "mirror://luarocks/middleclass-4.1.1-0.rockspec"; 3792 sha256 = "10xzs48lr1dy7cx99581r956gl16px0a9gbdlfar41n19r96mhb1"; 3793 }).outPath; 3794 src = fetchurl { 3795 url = "https://github.com/kikito/middleclass/archive/v4.1.1.tar.gz"; 3796 sha256 = "11ahv0b9wgqfnabv57rb7ilsvn2vcvxb1czq6faqrsqylvr5l7nh"; 3797 }; 3798 3799 disabled = luaOlder "5.1"; 3800 3801 meta = { 3802 homepage = "https://github.com/kikito/middleclass"; 3803 description = "A simple OOP library for Lua"; 3804 license.fullName = "MIT"; 3805 }; 3806 } 3807 ) { }; 3808 3809 mimetypes = callPackage ( 3810 { 3811 buildLuarocksPackage, 3812 fetchFromGitHub, 3813 fetchurl, 3814 luaOlder, 3815 }: 3816 buildLuarocksPackage { 3817 pname = "mimetypes"; 3818 version = "1.1.0-2"; 3819 knownRockspec = 3820 (fetchurl { 3821 url = "mirror://luarocks/mimetypes-1.1.0-2.rockspec"; 3822 sha256 = "1asi5dlkqml9rjh2k2iq0fy2khdlc7mq4kxp4j42c8507w9dijww"; 3823 }).outPath; 3824 src = fetchFromGitHub { 3825 owner = "lunarmodules"; 3826 repo = "lua-mimetypes"; 3827 rev = "v1.1.0"; 3828 hash = "sha256-9uuhMerMqE/AtFFGNIWxGBN0BQ+FE+NgZa3g041lesE="; 3829 }; 3830 3831 disabled = luaOlder "5.1"; 3832 3833 meta = { 3834 homepage = "https://github.com/lunarmodules/lua-mimetypes"; 3835 description = "A simple library for looking up the MIME types of files."; 3836 license.fullName = "MIT/X11"; 3837 }; 3838 } 3839 ) { }; 3840 3841 mini-test = callPackage ( 3842 { 3843 buildLuarocksPackage, 3844 fetchurl, 3845 fetchzip, 3846 luaOlder, 3847 }: 3848 buildLuarocksPackage { 3849 pname = "mini.test"; 3850 version = "0.16.0-1"; 3851 knownRockspec = 3852 (fetchurl { 3853 url = "mirror://luarocks/mini.test-0.16.0-1.rockspec"; 3854 sha256 = "0gw9cz6iy01c09gzhprrzlz12yz5pvivmjcxywajs1qq0095d5n1"; 3855 }).outPath; 3856 src = fetchzip { 3857 url = "https://github.com/echasnovski/mini.test/archive/v0.16.0.zip"; 3858 sha256 = "0si92d4jc7lmzj2mppz0vcmgqgsbgy64fl4bj8jwdl7z78bhpjwk"; 3859 }; 3860 3861 disabled = luaOlder "5.1"; 3862 3863 meta = { 3864 homepage = "https://github.com/echasnovski/mini.test"; 3865 description = "Test neovim plugins. Part of the mini.nvim suite."; 3866 license.fullName = "MIT"; 3867 }; 3868 } 3869 ) { }; 3870 3871 moonscript = callPackage ( 3872 { 3873 argparse, 3874 buildLuarocksPackage, 3875 fetchFromGitHub, 3876 lpeg, 3877 luaOlder, 3878 luafilesystem, 3879 }: 3880 buildLuarocksPackage { 3881 pname = "moonscript"; 3882 version = "dev-1"; 3883 3884 src = fetchFromGitHub { 3885 owner = "leafo"; 3886 repo = "moonscript"; 3887 rev = "3b134e01ebc5961ca132bff5ba2871c88d65347e"; 3888 hash = "sha256-ijWmxgoi524fbo3oXxuK/cPHxwHyGt3mMrGOw3+TsfY="; 3889 }; 3890 3891 disabled = luaOlder "5.1"; 3892 propagatedBuildInputs = [ 3893 argparse 3894 lpeg 3895 luafilesystem 3896 ]; 3897 3898 meta = { 3899 homepage = "http://moonscript.org"; 3900 description = "A programmer friendly language that compiles to Lua"; 3901 maintainers = with lib.maintainers; [ arobyn ]; 3902 license.fullName = "MIT"; 3903 }; 3904 } 3905 ) { }; 3906 3907 mpack = callPackage ( 3908 { buildLuarocksPackage, fetchurl }: 3909 buildLuarocksPackage { 3910 pname = "mpack"; 3911 version = "1.0.12-0"; 3912 knownRockspec = 3913 (fetchurl { 3914 url = "mirror://luarocks/mpack-1.0.12-0.rockspec"; 3915 sha256 = "01jr8vvkqdvadr5kpgsd17gjyz729hbd609qsm682ylggabgqsyy"; 3916 }).outPath; 3917 src = fetchurl { 3918 url = "https://github.com/libmpack/libmpack-lua/releases/download/1.0.12/libmpack-lua-1.0.12.tar.gz"; 3919 sha256 = "1gzqks9cq3krd9rs3dq9jm1m23pjpqjv9ymkxj9gbyjcy6qn5dh6"; 3920 }; 3921 3922 meta = { 3923 homepage = "https://github.com/libmpack/libmpack-lua"; 3924 description = "Lua binding to libmpack"; 3925 license.fullName = "MIT"; 3926 }; 3927 } 3928 ) { }; 3929 3930 neorg = callPackage ( 3931 { 3932 buildLuarocksPackage, 3933 fetchurl, 3934 fetchzip, 3935 lua-utils-nvim, 3936 luaOlder, 3937 nui-nvim, 3938 nvim-nio, 3939 pathlib-nvim, 3940 plenary-nvim, 3941 }: 3942 buildLuarocksPackage { 3943 pname = "neorg"; 3944 version = "9.3.0-1"; 3945 knownRockspec = 3946 (fetchurl { 3947 url = "mirror://luarocks/neorg-9.3.0-1.rockspec"; 3948 sha256 = "14w4hbk2hhcg1va2lgvfzzfp67lprnfar56swl29ixnzlf82a9bi"; 3949 }).outPath; 3950 src = fetchzip { 3951 url = "https://github.com/nvim-neorg/neorg/archive/v9.3.0.zip"; 3952 sha256 = "0ifl5n8sq8bafzx72ghfrmxsylhhlqvqmxzb5258jm76qj113cd9"; 3953 }; 3954 3955 disabled = luaOlder "5.1"; 3956 propagatedBuildInputs = [ 3957 lua-utils-nvim 3958 nui-nvim 3959 nvim-nio 3960 pathlib-nvim 3961 plenary-nvim 3962 ]; 3963 3964 meta = { 3965 homepage = "https://github.com/nvim-neorg/neorg"; 3966 description = "Modernity meets insane extensibility. The future of organizing your life in Neovim."; 3967 maintainers = with lib.maintainers; [ GaetanLepage ]; 3968 license.fullName = "GPL-3.0"; 3969 }; 3970 } 3971 ) { }; 3972 3973 neotest = callPackage ( 3974 { 3975 buildLuarocksPackage, 3976 fetchurl, 3977 fetchzip, 3978 luaOlder, 3979 nvim-nio, 3980 plenary-nvim, 3981 }: 3982 buildLuarocksPackage { 3983 pname = "neotest"; 3984 version = "5.11.1-1"; 3985 knownRockspec = 3986 (fetchurl { 3987 url = "mirror://luarocks/neotest-5.11.1-1.rockspec"; 3988 sha256 = "18pj612zpzhl3yv6p5l8ix4j0xr44ff9vwals54szc1sx5784v7l"; 3989 }).outPath; 3990 src = fetchzip { 3991 url = "https://github.com/nvim-neotest/neotest/archive/2cf3544fb55cdd428a9a1b7154aea9c9823426e8.zip"; 3992 sha256 = "1zz376wb3vyw984zjszg8hda4rzskaq7q93ajwdy63ssx8sc9vy4"; 3993 }; 3994 3995 disabled = luaOlder "5.1"; 3996 propagatedBuildInputs = [ 3997 nvim-nio 3998 plenary-nvim 3999 ]; 4000 4001 meta = { 4002 homepage = "https://github.com/nvim-neotest/neotest"; 4003 description = "An extensible framework for interacting with tests within NeoVim."; 4004 maintainers = with lib.maintainers; [ mrcjkb ]; 4005 license.fullName = "MIT"; 4006 }; 4007 } 4008 ) { }; 4009 4010 nlua = callPackage ( 4011 { 4012 buildLuarocksPackage, 4013 fetchurl, 4014 fetchzip, 4015 luaOlder, 4016 }: 4017 buildLuarocksPackage { 4018 pname = "nlua"; 4019 version = "0.3.1-1"; 4020 knownRockspec = 4021 (fetchurl { 4022 url = "mirror://luarocks/nlua-0.3.1-1.rockspec"; 4023 sha256 = "1238vnwk14pdcq533a8ndmmkc0b9ndc4kh0aja7ypmsjvk2y5v3s"; 4024 }).outPath; 4025 src = fetchzip { 4026 url = "https://github.com/mfussenegger/nlua/archive/v0.3.1.zip"; 4027 sha256 = "1m19ap9ipcdj16rbllxiqlww8hz98l63cdb8mhll37756nr773hn"; 4028 }; 4029 4030 disabled = luaOlder "5.1"; 4031 4032 meta = { 4033 homepage = "https://github.com/mfussenegger/nlua"; 4034 description = "Neovim as Lua interpreter"; 4035 maintainers = with lib.maintainers; [ teto ]; 4036 license.fullName = "GPL-3.0"; 4037 }; 4038 } 4039 ) { }; 4040 4041 nui-nvim = callPackage ( 4042 { 4043 buildLuarocksPackage, 4044 fetchFromGitHub, 4045 fetchurl, 4046 }: 4047 buildLuarocksPackage { 4048 pname = "nui.nvim"; 4049 version = "0.4.0-1"; 4050 knownRockspec = 4051 (fetchurl { 4052 url = "mirror://luarocks/nui.nvim-0.4.0-1.rockspec"; 4053 sha256 = "0bs87acbr7ih5ln9c5a394fsmg32afw9g3w5l9ji5hmxfbvj6prf"; 4054 }).outPath; 4055 src = fetchFromGitHub { 4056 owner = "MunifTanjim"; 4057 repo = "nui.nvim"; 4058 rev = "0.4.0"; 4059 hash = "sha256-SJc9nfV6cnBKYwRWsv0iHy+RbET8frNV85reICf+pt8="; 4060 }; 4061 4062 meta = { 4063 homepage = "https://github.com/MunifTanjim/nui.nvim"; 4064 description = "UI Component Library for Neovim."; 4065 maintainers = with lib.maintainers; [ mrcjkb ]; 4066 license.fullName = "MIT"; 4067 }; 4068 } 4069 ) { }; 4070 4071 nvim-cmp = callPackage ( 4072 { 4073 buildLuarocksPackage, 4074 fetchFromGitHub, 4075 luaAtLeast, 4076 luaOlder, 4077 }: 4078 buildLuarocksPackage { 4079 pname = "nvim-cmp"; 4080 version = "scm-1"; 4081 4082 src = fetchFromGitHub { 4083 owner = "hrsh7th"; 4084 repo = "nvim-cmp"; 4085 rev = "b5311ab3ed9c846b585c0c15b7559be131ec4be9"; 4086 hash = "sha256-l5z+PT4S9b09d2M+J/tHVd9W9Ss3eQQk5Ykpz2Qjxxw="; 4087 }; 4088 4089 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 4090 4091 meta = { 4092 homepage = "https://github.com/hrsh7th/nvim-cmp"; 4093 description = "A completion plugin for neovim"; 4094 license.fullName = "MIT"; 4095 }; 4096 } 4097 ) { }; 4098 4099 nvim-nio = callPackage ( 4100 { 4101 buildLuarocksPackage, 4102 fetchurl, 4103 fetchzip, 4104 luaOlder, 4105 }: 4106 buildLuarocksPackage { 4107 pname = "nvim-nio"; 4108 version = "1.10.1-1"; 4109 knownRockspec = 4110 (fetchurl { 4111 url = "mirror://luarocks/nvim-nio-1.10.1-1.rockspec"; 4112 sha256 = "1bkxvhk5bml6q5g4ycv3ggrqd24kkhhswa6if5g2q6j1j44lxgj0"; 4113 }).outPath; 4114 src = fetchzip { 4115 url = "https://github.com/nvim-neotest/nvim-nio/archive/21f5324bfac14e22ba26553caf69ec76ae8a7662.zip"; 4116 sha256 = "1bz5msxwk232zkkhfxcmr7a665la8pgkdx70q99ihl4x04jg6dkq"; 4117 }; 4118 4119 disabled = luaOlder "5.1"; 4120 4121 meta = { 4122 homepage = "https://github.com/nvim-neotest/nvim-nio"; 4123 description = "A library for asynchronous IO in Neovim"; 4124 maintainers = with lib.maintainers; [ mrcjkb ]; 4125 license.fullName = "MIT"; 4126 }; 4127 } 4128 ) { }; 4129 4130 nvim-web-devicons = callPackage ( 4131 { 4132 buildLuarocksPackage, 4133 fetchurl, 4134 fetchzip, 4135 luaOlder, 4136 }: 4137 buildLuarocksPackage { 4138 pname = "nvim-web-devicons"; 4139 version = "0.100-1"; 4140 knownRockspec = 4141 (fetchurl { 4142 url = "mirror://luarocks/nvim-web-devicons-0.100-1.rockspec"; 4143 sha256 = "0i87kr2q1s97q4kw85k36xhryigbv4bgy3ig56qg6z5jgkxgldza"; 4144 }).outPath; 4145 src = fetchzip { 4146 url = "https://github.com/nvim-tree/nvim-web-devicons/archive/v0.100.zip"; 4147 sha256 = "0d7gzk06f6z9wq496frbaavx90mcxvdhrswqd3pcayj2872i698d"; 4148 }; 4149 4150 disabled = luaOlder "5.1"; 4151 4152 meta = { 4153 homepage = "https://github.com/nvim-tree/nvim-web-devicons"; 4154 description = "Nerd Font icons for neovim"; 4155 license.fullName = "MIT"; 4156 }; 4157 } 4158 ) { }; 4159 4160 oil-nvim = callPackage ( 4161 { 4162 buildLuarocksPackage, 4163 fetchurl, 4164 fetchzip, 4165 luaOlder, 4166 nvim-web-devicons, 4167 }: 4168 buildLuarocksPackage { 4169 pname = "oil.nvim"; 4170 version = "2.15.0-1"; 4171 knownRockspec = 4172 (fetchurl { 4173 url = "mirror://luarocks/oil.nvim-2.15.0-1.rockspec"; 4174 sha256 = "0xkych23rn6jpj4hbam1j7ca1gwb9z3lzfm7id3dvcqj8aysv77j"; 4175 }).outPath; 4176 src = fetchzip { 4177 url = "https://github.com/stevearc/oil.nvim/archive/v2.15.0.zip"; 4178 sha256 = "0rrv7wg0nwfj5fd6byxs4np1p18xxdzyv11ba6vqqh3s6z0qwawc"; 4179 }; 4180 4181 disabled = luaOlder "5.1"; 4182 propagatedBuildInputs = [ nvim-web-devicons ]; 4183 4184 meta = { 4185 homepage = "https://github.com/stevearc/oil.nvim"; 4186 description = "Neovim file explorer: edit your filesystem like a buffer"; 4187 license.fullName = "MIT"; 4188 }; 4189 } 4190 ) { }; 4191 4192 orgmode = callPackage ( 4193 { 4194 buildLuarocksPackage, 4195 fetchurl, 4196 fetchzip, 4197 luaOlder, 4198 }: 4199 buildLuarocksPackage { 4200 pname = "orgmode"; 4201 version = "0.7.1-1"; 4202 knownRockspec = 4203 (fetchurl { 4204 url = "mirror://luarocks/orgmode-0.7.1-1.rockspec"; 4205 sha256 = "19xdq0ym9136irbj2634g5flf067vwn8c10r5rzjyd6h8z0xqvg4"; 4206 }).outPath; 4207 src = fetchzip { 4208 url = "https://github.com/nvim-orgmode/orgmode/archive/0.7.1.zip"; 4209 sha256 = "09hcmljhwfs14308hmaxajmcjhi9a0cl0bw1x1hsbrkbg37h99ka"; 4210 }; 4211 4212 disabled = luaOlder "5.1"; 4213 4214 meta = { 4215 homepage = "https://nvim-orgmode.github.io"; 4216 description = "Orgmode clone written in Lua for Neovim 0.11.0+."; 4217 license.fullName = "MIT"; 4218 }; 4219 } 4220 ) { }; 4221 4222 papis-nvim = callPackage ( 4223 { 4224 buildLuarocksPackage, 4225 fetchurl, 4226 fetchzip, 4227 luaOlder, 4228 nui-nvim, 4229 sqlite, 4230 }: 4231 buildLuarocksPackage { 4232 pname = "papis.nvim"; 4233 version = "0.9.0-1"; 4234 knownRockspec = 4235 (fetchurl { 4236 url = "mirror://luarocks/papis.nvim-0.9.0-1.rockspec"; 4237 sha256 = "1l5phfq26yc24ww1hyki9w9x3idzncmzxizda6v7rr1bdppbky7g"; 4238 }).outPath; 4239 src = fetchzip { 4240 url = "https://github.com/jghauser/papis.nvim/archive/v0.9.0.zip"; 4241 sha256 = "1na7nxacq6ii75qk1i5ylpnnr27272kp7nrn2xlfd8kwjspap3n7"; 4242 }; 4243 4244 disabled = luaOlder "5.1"; 4245 propagatedBuildInputs = [ 4246 nui-nvim 4247 sqlite 4248 ]; 4249 4250 meta = { 4251 homepage = "https://github.com/jghauser/papis.nvim"; 4252 description = "Manage your bibliography from within your favourite editor"; 4253 maintainers = with lib.maintainers; [ GaetanLepage ]; 4254 license.fullName = "GPL-3.0"; 4255 }; 4256 } 4257 ) { }; 4258 4259 pathlib-nvim = callPackage ( 4260 { 4261 buildLuarocksPackage, 4262 fetchurl, 4263 fetchzip, 4264 luaOlder, 4265 nvim-nio, 4266 }: 4267 buildLuarocksPackage { 4268 pname = "pathlib.nvim"; 4269 version = "2.2.3-1"; 4270 knownRockspec = 4271 (fetchurl { 4272 url = "mirror://luarocks/pathlib.nvim-2.2.3-1.rockspec"; 4273 sha256 = "0qwsjcsl6760d8d5k1lxlykh78g6v7xcr9caq3yh75yn76mwrl4i"; 4274 }).outPath; 4275 src = fetchzip { 4276 url = "https://github.com/pysan3/pathlib.nvim/archive/v2.2.3.zip"; 4277 sha256 = "1z3nwy83r3zbll9wc2wyvg60z0dqc5hm2xdfvqh3hwm5s9w8j432"; 4278 }; 4279 4280 disabled = luaOlder "5.1"; 4281 propagatedBuildInputs = [ nvim-nio ]; 4282 4283 meta = { 4284 homepage = "https://pysan3.github.io/pathlib.nvim/"; 4285 description = "OS Independent, ultimate solution to path handling in neovim."; 4286 license.fullName = "MPL-2.0"; 4287 }; 4288 } 4289 ) { }; 4290 4291 penlight = callPackage ( 4292 { 4293 buildLuarocksPackage, 4294 fetchFromGitHub, 4295 fetchurl, 4296 luafilesystem, 4297 }: 4298 buildLuarocksPackage { 4299 pname = "penlight"; 4300 version = "1.14.0-3"; 4301 knownRockspec = 4302 (fetchurl { 4303 url = "mirror://luarocks/penlight-1.14.0-3.rockspec"; 4304 sha256 = "1qdc0x09wymlz7mikk660msaq5iv0yzds1z2rkyh4vmc1861gjgi"; 4305 }).outPath; 4306 src = fetchFromGitHub { 4307 owner = "lunarmodules"; 4308 repo = "penlight"; 4309 rev = "1.14.0"; 4310 hash = "sha256-4zAt0GgQEkg9toaUaDn3ST3RvjLUDsuOzrKi9lhq0fQ="; 4311 }; 4312 4313 propagatedBuildInputs = [ luafilesystem ]; 4314 4315 meta = { 4316 homepage = "https://lunarmodules.github.io/penlight"; 4317 description = "Lua utility libraries loosely based on the Python standard libraries"; 4318 maintainers = with lib.maintainers; [ alerque ]; 4319 license.fullName = "MIT/X11"; 4320 }; 4321 } 4322 ) { }; 4323 4324 plenary-nvim = callPackage ( 4325 { 4326 buildLuarocksPackage, 4327 fetchFromGitHub, 4328 luaAtLeast, 4329 luaOlder, 4330 luassert, 4331 }: 4332 buildLuarocksPackage { 4333 pname = "plenary.nvim"; 4334 version = "scm-1"; 4335 4336 src = fetchFromGitHub { 4337 owner = "nvim-lua"; 4338 repo = "plenary.nvim"; 4339 rev = "b9fd5226c2f76c951fc8ed5923d85e4de065e509"; 4340 hash = "sha256-9Un7ekhBxcnmFE1xjCCFTZ7eqIbmXvQexpnhduAg4M0="; 4341 }; 4342 4343 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 4344 propagatedBuildInputs = [ luassert ]; 4345 4346 meta = { 4347 homepage = "https://github.com/nvim-lua/plenary.nvim"; 4348 description = "lua functions you don't want to write "; 4349 license.fullName = "MIT/X11"; 4350 }; 4351 } 4352 ) { }; 4353 4354 psl = callPackage ( 4355 { 4356 buildLuarocksPackage, 4357 fetchurl, 4358 fetchzip, 4359 }: 4360 buildLuarocksPackage { 4361 pname = "psl"; 4362 version = "0.3-0"; 4363 knownRockspec = 4364 (fetchurl { 4365 url = "mirror://luarocks/psl-0.3-0.rockspec"; 4366 sha256 = "1x7sc8n780k67v31bvqqxhh6ihy0k91zmp6xcxmkifr0gd008x9z"; 4367 }).outPath; 4368 src = fetchzip { 4369 url = "https://github.com/daurnimator/lua-psl/archive/v0.3.zip"; 4370 sha256 = "1x9zskjn6fp9343w9314104128ik4lbk98pg6zfhl1v35107m1jx"; 4371 }; 4372 4373 meta = { 4374 homepage = "https://github.com/daurnimator/lua-psl"; 4375 description = "Bindings to libpsl, a C library that handles the Public Suffix List (PSL)"; 4376 license.fullName = "MIT"; 4377 }; 4378 } 4379 ) { }; 4380 4381 rapidjson = callPackage ( 4382 { 4383 buildLuarocksPackage, 4384 cmake, 4385 fetchFromGitHub, 4386 fetchurl, 4387 luaOlder, 4388 }: 4389 buildLuarocksPackage { 4390 pname = "rapidjson"; 4391 version = "0.7.2-1"; 4392 knownRockspec = 4393 (fetchurl { 4394 url = "mirror://luarocks/rapidjson-0.7.2-1.rockspec"; 4395 sha256 = "1g3gw1rr54jvylq7afzkqdpid3h7nlmk76hmfva8xzhcdvbcl88h"; 4396 }).outPath; 4397 src = fetchFromGitHub { 4398 owner = "xpol"; 4399 repo = "lua-rapidjson"; 4400 rev = "v0.7.2"; 4401 hash = "sha256-WdfGIgbwlMMItsasN+ZITd/iqSeHC0EVeYoUcolb1MU="; 4402 }; 4403 4404 disabled = luaOlder "5.1"; 4405 nativeBuildInputs = [ cmake ]; 4406 4407 meta = { 4408 homepage = "https://github.com/xpol/lua-rapidjson"; 4409 description = "Json module based on the very fast RapidJSON."; 4410 license.fullName = "MIT"; 4411 }; 4412 } 4413 ) { }; 4414 4415 rest-nvim = callPackage ( 4416 { 4417 buildLuarocksPackage, 4418 fetchurl, 4419 fetchzip, 4420 fidget-nvim, 4421 luaOlder, 4422 mimetypes, 4423 nvim-nio, 4424 tree-sitter-http, 4425 xml2lua, 4426 }: 4427 buildLuarocksPackage { 4428 pname = "rest.nvim"; 4429 version = "3.13.0-1"; 4430 knownRockspec = 4431 (fetchurl { 4432 url = "mirror://luarocks/rest.nvim-3.13.0-1.rockspec"; 4433 sha256 = "1ig9589pb0y59jvlw97nxgcmij9kcjbc7l1aag99m40v823kncil"; 4434 }).outPath; 4435 src = fetchzip { 4436 url = "https://github.com/rest-nvim/rest.nvim/archive/v3.13.0.zip"; 4437 sha256 = "18mmif73l13hbzhfvnvdky78jlv2j059cqyvxkb6bcqwcyqx7jaj"; 4438 }; 4439 4440 disabled = luaOlder "5.1"; 4441 propagatedBuildInputs = [ 4442 fidget-nvim 4443 mimetypes 4444 nvim-nio 4445 tree-sitter-http 4446 xml2lua 4447 ]; 4448 4449 meta = { 4450 homepage = "https://github.com/rest-nvim/rest.nvim"; 4451 description = "A very fast, powerful, extensible and asynchronous Neovim HTTP client written in Lua."; 4452 maintainers = with lib.maintainers; [ teto ]; 4453 license.fullName = "GPL-3.0"; 4454 }; 4455 } 4456 ) { }; 4457 4458 rocks-config-nvim = callPackage ( 4459 { 4460 buildLuarocksPackage, 4461 fetchurl, 4462 fetchzip, 4463 luaOlder, 4464 rocks-nvim, 4465 }: 4466 buildLuarocksPackage { 4467 pname = "rocks-config.nvim"; 4468 version = "3.1.1-1"; 4469 knownRockspec = 4470 (fetchurl { 4471 url = "mirror://luarocks/rocks-config.nvim-3.1.1-1.rockspec"; 4472 sha256 = "1sg06ai9k2bkvcdm376lhbvc3n064bw237kcq579x703i7x3064b"; 4473 }).outPath; 4474 src = fetchzip { 4475 url = "https://github.com/nvim-neorocks/rocks-config.nvim/archive/v3.1.1.zip"; 4476 sha256 = "00p02ghxfkzma7asvxq3m1mj9kvyg71w856v8pg78zv6db8fxcib"; 4477 }; 4478 4479 disabled = luaOlder "5.1"; 4480 propagatedBuildInputs = [ rocks-nvim ]; 4481 4482 meta = { 4483 homepage = "https://github.com/nvim-neorocks/rocks-config.nvim"; 4484 description = "Allow rocks.nvim to help configure your plugins."; 4485 maintainers = with lib.maintainers; [ mrcjkb ]; 4486 license.fullName = "GPL-3.0"; 4487 }; 4488 } 4489 ) { }; 4490 4491 rocks-dev-nvim = callPackage ( 4492 { 4493 buildLuarocksPackage, 4494 fetchurl, 4495 fetchzip, 4496 luaOlder, 4497 nvim-nio, 4498 rocks-nvim, 4499 rtp-nvim, 4500 }: 4501 buildLuarocksPackage { 4502 pname = "rocks-dev.nvim"; 4503 version = "1.8.0-1"; 4504 knownRockspec = 4505 (fetchurl { 4506 url = "mirror://luarocks/rocks-dev.nvim-1.8.0-1.rockspec"; 4507 sha256 = "02ja27620fcw0wf516blz3130scwp96dz092di6w5lwj9dbfm9ab"; 4508 }).outPath; 4509 src = fetchzip { 4510 url = "https://github.com/nvim-neorocks/rocks-dev.nvim/archive/v1.8.0.zip"; 4511 sha256 = "0hbdkry1xn8yqhicnzpqfy967s3bb61k87219pg4b3nmidd1pbym"; 4512 }; 4513 4514 disabled = luaOlder "5.1"; 4515 propagatedBuildInputs = [ 4516 nvim-nio 4517 rocks-nvim 4518 rtp-nvim 4519 ]; 4520 4521 meta = { 4522 homepage = "https://github.com/nvim-neorocks/rocks-dev.nvim"; 4523 description = "A swiss-army knife for testing and developing rocks.nvim modules."; 4524 maintainers = with lib.maintainers; [ mrcjkb ]; 4525 license.fullName = "GPL-3.0"; 4526 }; 4527 } 4528 ) { }; 4529 4530 rocks-git-nvim = callPackage ( 4531 { 4532 buildLuarocksPackage, 4533 fetchurl, 4534 fetchzip, 4535 luaOlder, 4536 nvim-nio, 4537 rocks-nvim, 4538 }: 4539 buildLuarocksPackage { 4540 pname = "rocks-git.nvim"; 4541 version = "2.5.3-1"; 4542 knownRockspec = 4543 (fetchurl { 4544 url = "mirror://luarocks/rocks-git.nvim-2.5.3-1.rockspec"; 4545 sha256 = "0p69zdlh552r8grpbhx2h78hhc6d6cihc5dyanlxqfxr6kxw221m"; 4546 }).outPath; 4547 src = fetchzip { 4548 url = "https://github.com/nvim-neorocks/rocks-git.nvim/archive/v2.5.3.zip"; 4549 sha256 = "0nm4yf3z2wmb7g10ij706vkwg9ss83ndp5wps3gfjr4zqdf85ayy"; 4550 }; 4551 4552 disabled = luaOlder "5.1"; 4553 propagatedBuildInputs = [ 4554 nvim-nio 4555 rocks-nvim 4556 ]; 4557 4558 meta = { 4559 homepage = "https://github.com/nvim-neorocks/rocks-git.nvim"; 4560 description = "Use rocks.nvim to install plugins from git!"; 4561 maintainers = with lib.maintainers; [ mrcjkb ]; 4562 license.fullName = "GPL-3.0"; 4563 }; 4564 } 4565 ) { }; 4566 4567 rocks-nvim = callPackage ( 4568 { 4569 buildLuarocksPackage, 4570 fetchurl, 4571 fetchzip, 4572 fidget-nvim, 4573 fzy, 4574 luaOlder, 4575 luarocks, 4576 nvim-nio, 4577 rtp-nvim, 4578 toml-edit, 4579 }: 4580 buildLuarocksPackage { 4581 pname = "rocks.nvim"; 4582 version = "2.45.0-1"; 4583 knownRockspec = 4584 (fetchurl { 4585 url = "mirror://luarocks/rocks.nvim-2.45.0-1.rockspec"; 4586 sha256 = "18x579z30gj15njhpnvi1fff4q7c4s2mvsc9imrnyk9279gij8xb"; 4587 }).outPath; 4588 src = fetchzip { 4589 url = "https://github.com/nvim-neorocks/rocks.nvim/archive/v2.45.0.zip"; 4590 sha256 = "10jawbwlm7d6im0k62y66ld023143d2qnqaybf2kimrr6wgqxq6d"; 4591 }; 4592 4593 disabled = luaOlder "5.1"; 4594 propagatedBuildInputs = [ 4595 fidget-nvim 4596 fzy 4597 luarocks 4598 nvim-nio 4599 rtp-nvim 4600 toml-edit 4601 ]; 4602 4603 meta = { 4604 homepage = "https://github.com/nvim-neorocks/rocks.nvim"; 4605 description = "🌒 Neovim plugin management inspired by Cargo, powered by luarocks"; 4606 maintainers = with lib.maintainers; [ mrcjkb ]; 4607 license.fullName = "GPL-3.0"; 4608 }; 4609 } 4610 ) { }; 4611 4612 rtp-nvim = callPackage ( 4613 { 4614 buildLuarocksPackage, 4615 fetchurl, 4616 fetchzip, 4617 luaOlder, 4618 }: 4619 buildLuarocksPackage { 4620 pname = "rtp.nvim"; 4621 version = "1.2.0-1"; 4622 knownRockspec = 4623 (fetchurl { 4624 url = "mirror://luarocks/rtp.nvim-1.2.0-1.rockspec"; 4625 sha256 = "0is9ssi3pwvshm88lnp4hkig4f0ckgl2f3a1axwci89y8lla50iv"; 4626 }).outPath; 4627 src = fetchzip { 4628 url = "https://github.com/nvim-neorocks/rtp.nvim/archive/v1.2.0.zip"; 4629 sha256 = "1b6hx50nr2s2mnhsx9zy54pjdq7f78mi394v2b2c9v687s45nqln"; 4630 }; 4631 4632 disabled = luaOlder "5.1"; 4633 4634 meta = { 4635 homepage = "https://github.com/nvim-neorocks/rtp.nvim"; 4636 description = "Source plugin and ftdetect directories on the Neovim runtimepath."; 4637 maintainers = with lib.maintainers; [ mrcjkb ]; 4638 license.fullName = "GPL-3.0"; 4639 }; 4640 } 4641 ) { }; 4642 4643 rustaceanvim = callPackage ( 4644 { 4645 buildLuarocksPackage, 4646 fetchurl, 4647 fetchzip, 4648 luaOlder, 4649 }: 4650 buildLuarocksPackage { 4651 pname = "rustaceanvim"; 4652 version = "6.9.2-1"; 4653 knownRockspec = 4654 (fetchurl { 4655 url = "mirror://luarocks/rustaceanvim-6.9.2-1.rockspec"; 4656 sha256 = "0smfa296h60xd88fv9xbhb9l6wxf4vmz3299spiac59r02kalkmr"; 4657 }).outPath; 4658 src = fetchzip { 4659 url = "https://github.com/mrcjkb/rustaceanvim/archive/v6.9.2.zip"; 4660 sha256 = "1bkg713a0y9mg86ra3wrn7j3h4wfgk54zzhb2sc6y0km66p136a2"; 4661 }; 4662 4663 disabled = luaOlder "5.1"; 4664 4665 meta = { 4666 homepage = "https://github.com/mrcjkb/rustaceanvim"; 4667 description = "🦀 Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim"; 4668 maintainers = with lib.maintainers; [ mrcjkb ]; 4669 license.fullName = "GPL-2.0"; 4670 }; 4671 } 4672 ) { }; 4673 4674 say = callPackage ( 4675 { 4676 buildLuarocksPackage, 4677 fetchFromGitHub, 4678 fetchurl, 4679 luaOlder, 4680 }: 4681 buildLuarocksPackage { 4682 pname = "say"; 4683 version = "1.4.1-3"; 4684 knownRockspec = 4685 (fetchurl { 4686 url = "mirror://luarocks/say-1.4.1-3.rockspec"; 4687 sha256 = "0iibmq5m5092y168banckgs15ngj2yjx11n40fyk7jly4pbasljq"; 4688 }).outPath; 4689 src = fetchFromGitHub { 4690 owner = "lunarmodules"; 4691 repo = "say"; 4692 rev = "v1.4.1"; 4693 hash = "sha256-IjNkK1leVtYgbEjUqguVMjbdW+0BHAOCE0pazrVuF50="; 4694 }; 4695 4696 disabled = luaOlder "5.1"; 4697 4698 meta = { 4699 homepage = "https://lunarmodules.github.io/say"; 4700 description = "Lua string hashing/indexing library"; 4701 license.fullName = "MIT"; 4702 }; 4703 } 4704 ) { }; 4705 4706 serpent = callPackage ( 4707 { 4708 buildLuarocksPackage, 4709 fetchFromGitHub, 4710 fetchurl, 4711 luaAtLeast, 4712 luaOlder, 4713 }: 4714 buildLuarocksPackage { 4715 pname = "serpent"; 4716 version = "0.30-2"; 4717 knownRockspec = 4718 (fetchurl { 4719 url = "mirror://luarocks/serpent-0.30-2.rockspec"; 4720 sha256 = "0v83lr9ars1n0djbh7np8jjqdhhaw0pdy2nkcqzqrhv27rzv494n"; 4721 }).outPath; 4722 src = fetchFromGitHub { 4723 owner = "pkulchenko"; 4724 repo = "serpent"; 4725 rev = "0.30"; 4726 hash = "sha256-aCP/Lk11wdnqXzntgNlyZz1LkLgZApcvDiA//LLzAGE="; 4727 }; 4728 4729 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 4730 4731 meta = { 4732 homepage = "https://github.com/pkulchenko/serpent"; 4733 description = "Lua serializer and pretty printer"; 4734 maintainers = with lib.maintainers; [ lockejan ]; 4735 license.fullName = "MIT"; 4736 }; 4737 } 4738 ) { }; 4739 4740 sofa = callPackage ( 4741 { 4742 argparse, 4743 buildLuarocksPackage, 4744 compat53, 4745 fetchFromGitHub, 4746 fetchurl, 4747 luaAtLeast, 4748 luaOlder, 4749 luatext, 4750 lyaml, 4751 }: 4752 buildLuarocksPackage { 4753 pname = "sofa"; 4754 version = "0.8.0-0"; 4755 knownRockspec = 4756 (fetchurl { 4757 url = "mirror://luarocks/sofa-0.8.0-0.rockspec"; 4758 sha256 = "09mjnygy8xpcp892mfqmcirjjndndvynl7bs7j4vp4r4svh17b05"; 4759 }).outPath; 4760 src = fetchFromGitHub { 4761 owner = "f4z3r"; 4762 repo = "sofa"; 4763 rev = "v0.8.0"; 4764 hash = "sha256-MWGp0kbLaXQV3ElSgPTFoVuWk4+ujktG0xh20kQPex4="; 4765 }; 4766 4767 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 4768 propagatedBuildInputs = [ 4769 argparse 4770 compat53 4771 luatext 4772 lyaml 4773 ]; 4774 4775 meta = { 4776 homepage = "https://github.com/f4z3r/sofa"; 4777 description = "A command execution engine powered by rofi."; 4778 maintainers = with lib.maintainers; [ f4z3r ]; 4779 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 4780 }; 4781 } 4782 ) { }; 4783 4784 sqlite = callPackage ( 4785 { 4786 buildLuarocksPackage, 4787 fetchFromGitHub, 4788 fetchurl, 4789 luv, 4790 }: 4791 buildLuarocksPackage { 4792 pname = "sqlite"; 4793 version = "v1.2.2-0"; 4794 knownRockspec = 4795 (fetchurl { 4796 url = "mirror://luarocks/sqlite-v1.2.2-0.rockspec"; 4797 sha256 = "0jxsl9lpxsbzc6s5bwmh27mglkqz1299lz68vfxayvailwl3xbxm"; 4798 }).outPath; 4799 src = fetchFromGitHub { 4800 owner = "tami5"; 4801 repo = "sqlite.lua"; 4802 rev = "v1.2.2"; 4803 hash = "sha256-NUjZkFawhUD0oI3pDh/XmVwtcYyPqa+TtVbl3k13cTI="; 4804 }; 4805 4806 propagatedBuildInputs = [ luv ]; 4807 4808 meta = { 4809 homepage = "https://github.com/tami5/sqlite.lua"; 4810 description = "SQLite/LuaJIT binding and a highly opinionated wrapper for storing, retrieving, caching, and persisting [SQLite] databases"; 4811 license.fullName = "MIT"; 4812 }; 4813 } 4814 ) { }; 4815 4816 std-_debug = callPackage ( 4817 { 4818 buildLuarocksPackage, 4819 fetchurl, 4820 fetchzip, 4821 luaAtLeast, 4822 luaOlder, 4823 }: 4824 buildLuarocksPackage { 4825 pname = "std._debug"; 4826 version = "1.0.1-1"; 4827 knownRockspec = 4828 (fetchurl { 4829 url = "mirror://luarocks/std._debug-1.0.1-1.rockspec"; 4830 sha256 = "0mr9hgzfr9v37da9rfys2wjq48hi3lv27i3g38433dlgbxipsbc4"; 4831 }).outPath; 4832 src = fetchzip { 4833 url = "http://github.com/lua-stdlib/_debug/archive/v1.0.1.zip"; 4834 sha256 = "19vfpv389q79vgxwhhr09l6l6hf6h2yjp09zvnp0l07ar4v660pv"; 4835 }; 4836 4837 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 4838 4839 meta = { 4840 homepage = "http://lua-stdlib.github.io/_debug"; 4841 description = "Debug Hints Library"; 4842 license.fullName = "MIT/X11"; 4843 }; 4844 } 4845 ) { }; 4846 4847 std-normalize = callPackage ( 4848 { 4849 buildLuarocksPackage, 4850 fetchurl, 4851 fetchzip, 4852 luaAtLeast, 4853 luaOlder, 4854 std-_debug, 4855 }: 4856 buildLuarocksPackage { 4857 pname = "std.normalize"; 4858 version = "2.0.3-1"; 4859 knownRockspec = 4860 (fetchurl { 4861 url = "mirror://luarocks/std.normalize-2.0.3-1.rockspec"; 4862 sha256 = "1l83ikiaw4dch2r69cxpl93b9d4wf54vbjb6fcggnkxxgm0amj3a"; 4863 }).outPath; 4864 src = fetchzip { 4865 url = "http://github.com/lua-stdlib/normalize/archive/v2.0.3.zip"; 4866 sha256 = "1gyywglxd2y7ck3hk8ap73w0x7hf9irpg6vgs8yc6k9k4c5g3fgi"; 4867 }; 4868 4869 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 4870 propagatedBuildInputs = [ std-_debug ]; 4871 4872 meta = { 4873 homepage = "https://lua-stdlib.github.io/normalize"; 4874 description = "Normalized Lua Functions"; 4875 license.fullName = "MIT/X11"; 4876 }; 4877 } 4878 ) { }; 4879 4880 stdlib = callPackage ( 4881 { 4882 buildLuarocksPackage, 4883 fetchurl, 4884 fetchzip, 4885 luaAtLeast, 4886 luaOlder, 4887 }: 4888 buildLuarocksPackage { 4889 pname = "stdlib"; 4890 version = "41.2.2-1"; 4891 knownRockspec = 4892 (fetchurl { 4893 url = "mirror://luarocks/stdlib-41.2.2-1.rockspec"; 4894 sha256 = "0rscb4cm8s8bb8fk8rknc269y7bjqpslspsaxgs91i8bvabja6f6"; 4895 }).outPath; 4896 src = fetchzip { 4897 url = "http://github.com/lua-stdlib/lua-stdlib/archive/release-v41.2.2.zip"; 4898 sha256 = "0ry6k0wh4vyar1z68s0qmqzkdkfn9lcznsl8av7x78qz6l16wfw4"; 4899 }; 4900 4901 disabled = luaOlder "5.1" || luaAtLeast "5.5"; 4902 4903 meta = { 4904 homepage = "http://lua-stdlib.github.io/lua-stdlib"; 4905 description = "General Lua Libraries"; 4906 maintainers = with lib.maintainers; [ vyp ]; 4907 license.fullName = "MIT/X11"; 4908 }; 4909 } 4910 ) { }; 4911 4912 teal-language-server = callPackage ( 4913 { 4914 argparse, 4915 buildLuarocksPackage, 4916 dkjson, 4917 fetchFromGitHub, 4918 fetchurl, 4919 inspect, 4920 luafilesystem, 4921 lusc_luv, 4922 luv, 4923 tl, 4924 }: 4925 buildLuarocksPackage { 4926 pname = "teal-language-server"; 4927 version = "0.0.5-1"; 4928 knownRockspec = 4929 (fetchurl { 4930 url = "mirror://luarocks/teal-language-server-0.0.5-1.rockspec"; 4931 sha256 = "11ps1hgkgli4sf9gcj7pin4kbc5w0yck0daig1ghqssn2q9m2x5l"; 4932 }).outPath; 4933 src = fetchFromGitHub { 4934 owner = "teal-language"; 4935 repo = "teal-language-server"; 4936 rev = "main"; 4937 hash = "sha256-TbNvYG2aRt27+sfXvZOlq/F7Gy6sQtoDz6satC+Qqss="; 4938 }; 4939 4940 propagatedBuildInputs = [ 4941 argparse 4942 dkjson 4943 inspect 4944 luafilesystem 4945 lusc_luv 4946 luv 4947 tl 4948 ]; 4949 4950 meta = { 4951 homepage = "https://github.com/teal-language/teal-language-server"; 4952 description = "A language server for the Teal language"; 4953 license.fullName = "MIT"; 4954 }; 4955 } 4956 ) { }; 4957 4958 telescope-manix = callPackage ( 4959 { 4960 buildLuarocksPackage, 4961 fetchurl, 4962 fetchzip, 4963 luaOlder, 4964 telescope-nvim, 4965 }: 4966 buildLuarocksPackage { 4967 pname = "telescope-manix"; 4968 version = "1.0.3-1"; 4969 knownRockspec = 4970 (fetchurl { 4971 url = "mirror://luarocks/telescope-manix-1.0.3-1.rockspec"; 4972 sha256 = "0avqlglmki244q3ffnlc358z3pn36ibcqysxrxw7h6qy1zcwm8sr"; 4973 }).outPath; 4974 src = fetchzip { 4975 url = "https://github.com/mrcjkb/telescope-manix/archive/1.0.3.zip"; 4976 sha256 = "186rbdddpv8q0zcz18lnkarp0grdzxp80189n4zj2mqyzqnw0svj"; 4977 }; 4978 4979 disabled = luaOlder "5.1"; 4980 propagatedBuildInputs = [ telescope-nvim ]; 4981 4982 meta = { 4983 homepage = "https://github.com/mrcjkb/telescope-manix"; 4984 description = "A telescope.nvim extension for Manix - A fast documentation searcher for Nix"; 4985 license.fullName = "GPL-2.0"; 4986 }; 4987 } 4988 ) { }; 4989 4990 telescope-nvim = callPackage ( 4991 { 4992 buildLuarocksPackage, 4993 fetchFromGitHub, 4994 fetchurl, 4995 lua, 4996 plenary-nvim, 4997 }: 4998 buildLuarocksPackage { 4999 pname = "telescope.nvim"; 5000 version = "scm-1"; 5001 knownRockspec = 5002 (fetchurl { 5003 url = "mirror://luarocks/telescope.nvim-scm-1.rockspec"; 5004 sha256 = "07mjkv1nv9b3ifxk2bbpbhvp0awblyklyz6aaqw418x4gm4q1g35"; 5005 }).outPath; 5006 src = fetchFromGitHub { 5007 owner = "nvim-telescope"; 5008 repo = "telescope.nvim"; 5009 rev = "b4da76be54691e854d3e0e02c36b0245f945c2c7"; 5010 hash = "sha256-JpW0ehsX81yVbKNzrYOe1hdgVMs6oaaxMLH6lECnOJg="; 5011 }; 5012 5013 disabled = lua.luaversion != "5.1"; 5014 propagatedBuildInputs = [ plenary-nvim ]; 5015 5016 meta = { 5017 homepage = "https://github.com/nvim-telescope/telescope.nvim"; 5018 description = "Find, Filter, Preview, Pick. All lua, all the time."; 5019 license.fullName = "MIT"; 5020 }; 5021 } 5022 ) { }; 5023 5024 tiktoken_core = callPackage ( 5025 { 5026 buildLuarocksPackage, 5027 fetchFromGitHub, 5028 fetchurl, 5029 luaOlder, 5030 luarocks-build-rust-mlua, 5031 }: 5032 buildLuarocksPackage { 5033 pname = "tiktoken_core"; 5034 version = "0.2.5-1"; 5035 knownRockspec = 5036 (fetchurl { 5037 url = "mirror://luarocks/tiktoken_core-0.2.5-1.rockspec"; 5038 sha256 = "17bii1zxxkff0wwsgap4ni1k6ypbrbq5vfs7l34m0n78imx7c2l1"; 5039 }).outPath; 5040 src = fetchFromGitHub { 5041 owner = "gptlang"; 5042 repo = "lua-tiktoken"; 5043 rev = "v0.2.5"; 5044 hash = "sha256-V3dpFS590QkJQRIAeEgxakvoOGrilolWHutKn9zlOsg="; 5045 }; 5046 5047 disabled = luaOlder "5.1"; 5048 nativeBuildInputs = [ luarocks-build-rust-mlua ]; 5049 propagatedBuildInputs = [ luarocks-build-rust-mlua ]; 5050 5051 meta = { 5052 homepage = "https://github.com/gptlang/lua-tiktoken"; 5053 description = "An experimental port of OpenAI's Tokenizer to lua"; 5054 maintainers = with lib.maintainers; [ natsukium ]; 5055 license.fullName = "MIT"; 5056 }; 5057 } 5058 ) { }; 5059 5060 tl = callPackage ( 5061 { 5062 argparse, 5063 buildLuarocksPackage, 5064 compat53, 5065 fetchFromGitHub, 5066 fetchurl, 5067 }: 5068 buildLuarocksPackage { 5069 pname = "tl"; 5070 version = "0.24.7-1"; 5071 knownRockspec = 5072 (fetchurl { 5073 url = "mirror://luarocks/tl-0.24.7-1.rockspec"; 5074 sha256 = "0c2xfrw2wasiy3g8b6fpqvlnzb0bp5l9s3pvi9ky1w4b6nbc81s7"; 5075 }).outPath; 5076 src = fetchFromGitHub { 5077 owner = "teal-language"; 5078 repo = "tl"; 5079 rev = "v0.24.7"; 5080 hash = "sha256-5saLQczm/3jRXmhHUyasGKMH95ft96+CMHkVeI7ip3A="; 5081 }; 5082 5083 propagatedBuildInputs = [ 5084 argparse 5085 compat53 5086 ]; 5087 5088 meta = { 5089 homepage = "https://github.com/teal-language/tl"; 5090 description = "Teal, a typed dialect of Lua"; 5091 maintainers = with lib.maintainers; [ mephistophiles ]; 5092 license.fullName = "MIT"; 5093 }; 5094 } 5095 ) { }; 5096 5097 toml-edit = callPackage ( 5098 { 5099 buildLuarocksPackage, 5100 fetchurl, 5101 fetchzip, 5102 luaOlder, 5103 luarocks-build-rust-mlua, 5104 }: 5105 buildLuarocksPackage { 5106 pname = "toml-edit"; 5107 version = "0.6.1-1"; 5108 knownRockspec = 5109 (fetchurl { 5110 url = "mirror://luarocks/toml-edit-0.6.1-1.rockspec"; 5111 sha256 = "0crvmigffka3n7583r1a7fgcjfq5b0819a7d155q50m52b7afc4z"; 5112 }).outPath; 5113 src = fetchzip { 5114 url = "https://github.com/nvim-neorocks/toml-edit.lua/archive/v0.6.1.zip"; 5115 sha256 = "03gxfj2km4j08cx8yv70wvzwynnlwai6cdprrxnbf76mwy877hpg"; 5116 }; 5117 5118 disabled = luaOlder "5.1"; 5119 nativeBuildInputs = [ luarocks-build-rust-mlua ]; 5120 5121 meta = { 5122 homepage = "https://github.com/nvim-neorocks/toml-edit.lua"; 5123 description = "TOML Parser + Formatting and Comment-Preserving Editor"; 5124 maintainers = with lib.maintainers; [ mrcjkb ]; 5125 license.fullName = "MIT"; 5126 }; 5127 } 5128 ) { }; 5129 5130 tree-sitter-http = callPackage ( 5131 { 5132 buildLuarocksPackage, 5133 fetchurl, 5134 fetchzip, 5135 luaOlder, 5136 luarocks-build-treesitter-parser, 5137 }: 5138 buildLuarocksPackage { 5139 pname = "tree-sitter-http"; 5140 version = "0.0.33-1"; 5141 knownRockspec = 5142 (fetchurl { 5143 url = "mirror://luarocks/tree-sitter-http-0.0.33-1.rockspec"; 5144 sha256 = "1x6avlk3bdz406ywmxpq0sdi31fpfrbpqlbdz1ygh9gpknah5617"; 5145 }).outPath; 5146 src = fetchzip { 5147 url = "https://github.com/rest-nvim/tree-sitter-http/archive/d2e4e4c7d03f70e0465d436f2b5f67497cd544ca.zip"; 5148 sha256 = "1wjycyvrahbpamdi6x74l8q1q8jrnk0y8nrwdwqdc7lm8hqjb5s2"; 5149 }; 5150 5151 disabled = luaOlder "5.1"; 5152 nativeBuildInputs = [ luarocks-build-treesitter-parser ]; 5153 5154 meta = { 5155 homepage = "https://github.com/rest-nvim/tree-sitter-http"; 5156 description = "tree-sitter parser for http"; 5157 license.fullName = "UNKNOWN"; 5158 }; 5159 } 5160 ) { }; 5161 5162 tree-sitter-norg = callPackage ( 5163 { 5164 buildLuarocksPackage, 5165 fetchurl, 5166 fetchzip, 5167 luarocks-build-treesitter-parser-cpp, 5168 }: 5169 buildLuarocksPackage { 5170 pname = "tree-sitter-norg"; 5171 version = "0.2.6-1"; 5172 knownRockspec = 5173 (fetchurl { 5174 url = "mirror://luarocks/tree-sitter-norg-0.2.6-1.rockspec"; 5175 sha256 = "1s0wj59v4zjgimws742ybzy7nhnnkz8nas4y5k96c2z5z54ynxmq"; 5176 }).outPath; 5177 src = fetchzip { 5178 url = "https://github.com/nvim-neorg/tree-sitter-norg/archive/v0.2.6.zip"; 5179 sha256 = "077rds0rq10wjywpj4hmmq9dd6qp6sfwbdjyh587laldrfl7jy6g"; 5180 }; 5181 5182 nativeBuildInputs = [ luarocks-build-treesitter-parser-cpp ]; 5183 5184 meta = { 5185 homepage = "https://github.com/nvim-neorg/tree-sitter-norg"; 5186 description = "The official tree-sitter parser for Norg documents."; 5187 maintainers = with lib.maintainers; [ mrcjkb ]; 5188 license.fullName = "MIT"; 5189 }; 5190 } 5191 ) { }; 5192 5193 tree-sitter-orgmode = callPackage ( 5194 { 5195 buildLuarocksPackage, 5196 fetchurl, 5197 fetchzip, 5198 luarocks-build-treesitter-parser, 5199 }: 5200 buildLuarocksPackage { 5201 pname = "tree-sitter-orgmode"; 5202 version = "2.0.1-1"; 5203 knownRockspec = 5204 (fetchurl { 5205 url = "mirror://luarocks/tree-sitter-orgmode-2.0.1-1.rockspec"; 5206 sha256 = "1g1xmvbxkpd4d7l8m02p02zh4x971k8fd4cvr617pk8vc9zcndps"; 5207 }).outPath; 5208 src = fetchzip { 5209 url = "https://github.com/nvim-orgmode/tree-sitter-org/archive/2.0.1.zip"; 5210 sha256 = "00j5z07j2gixpmz17x5kd5g3cpiakbb189707a55bgc95kx3jn4k"; 5211 }; 5212 5213 nativeBuildInputs = [ luarocks-build-treesitter-parser ]; 5214 5215 meta = { 5216 homepage = "https://github.com/nvim-orgmode/tree-sitter-org"; 5217 description = "A fork of tree-sitter-org, for use with the orgmode Neovim plugin"; 5218 license.fullName = "MIT"; 5219 }; 5220 } 5221 ) { }; 5222 5223 vstruct = callPackage ( 5224 { 5225 buildLuarocksPackage, 5226 fetchFromGitHub, 5227 fetchurl, 5228 luaOlder, 5229 }: 5230 buildLuarocksPackage { 5231 pname = "vstruct"; 5232 version = "2.1.1-1"; 5233 knownRockspec = 5234 (fetchurl { 5235 url = "mirror://luarocks/vstruct-2.1.1-1.rockspec"; 5236 sha256 = "111ff5207hspda9fpj9dqdd699rax0df3abdnfbmdbdy3j07dd04"; 5237 }).outPath; 5238 src = fetchFromGitHub { 5239 owner = "ToxicFrog"; 5240 repo = "vstruct"; 5241 rev = "v2.1.1"; 5242 hash = "sha256-p9yRJ3Kr6WQ4vBSTOVLoX6peNCJW6b6kgXCySg7aiWo="; 5243 }; 5244 5245 disabled = luaOlder "5.1"; 5246 5247 meta = { 5248 homepage = "https://github.com/ToxicFrog/vstruct"; 5249 description = "Lua library to manipulate binary data"; 5250 }; 5251 } 5252 ) { }; 5253 5254 vusted = callPackage ( 5255 { 5256 buildLuarocksPackage, 5257 busted, 5258 fetchFromGitHub, 5259 fetchurl, 5260 luasystem, 5261 }: 5262 buildLuarocksPackage { 5263 pname = "vusted"; 5264 version = "2.5.3-1"; 5265 knownRockspec = 5266 (fetchurl { 5267 url = "mirror://luarocks/vusted-2.5.3-1.rockspec"; 5268 sha256 = "1n0fpr3kw0dp9qiik8k9nh3jbckl4zs7kv7mjfffs9kms85jrq3d"; 5269 }).outPath; 5270 src = fetchFromGitHub { 5271 owner = "notomo"; 5272 repo = "vusted"; 5273 rev = "v2.5.3"; 5274 hash = "sha256-b07aSgDgSNpALs5en8ZXLEd/ThLEWX/dTME8Rg1K15I="; 5275 }; 5276 5277 propagatedBuildInputs = [ 5278 busted 5279 luasystem 5280 ]; 5281 5282 meta = { 5283 homepage = "https://github.com/notomo/vusted"; 5284 description = "`busted` wrapper for testing neovim plugin"; 5285 maintainers = with lib.maintainers; [ figsoda ]; 5286 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 5287 }; 5288 } 5289 ) { }; 5290 5291 xml2lua = callPackage ( 5292 { 5293 buildLuarocksPackage, 5294 fetchFromGitHub, 5295 fetchurl, 5296 luaOlder, 5297 }: 5298 buildLuarocksPackage { 5299 pname = "xml2lua"; 5300 version = "1.6-2"; 5301 knownRockspec = 5302 (fetchurl { 5303 url = "mirror://luarocks/xml2lua-1.6-2.rockspec"; 5304 sha256 = "1fh57kv95a18q4869hmr4fbzbnlmq5z83mkkixvwzg3szf9kvfcn"; 5305 }).outPath; 5306 src = fetchFromGitHub { 5307 owner = "manoelcampos"; 5308 repo = "xml2lua"; 5309 rev = "v1.6-2"; 5310 hash = "sha256-4il5mmRLtuyCJ2Nm1tKv2hXk7rmiq7Fppx9LMbjkne0="; 5311 }; 5312 5313 disabled = luaOlder "5.1"; 5314 5315 meta = { 5316 homepage = "https://manoelcampos.github.io/xml2lua/"; 5317 description = "An XML Parser written entirely in Lua that works for Lua 5.1+"; 5318 maintainers = with lib.maintainers; [ teto ]; 5319 license.fullName = "MIT"; 5320 }; 5321 } 5322 ) { }; 5323 5324} 5325# GENERATED - do not edit this file