mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
6496 lines
191 KiB
Nix
6496 lines
191 KiB
Nix
/*
|
|
pkgs/development/lua-modules/generated-packages.nix is an auto-generated file -- DO NOT EDIT!
|
|
Regenerate it with: nix run nixpkgs#luarocks-packages-updater
|
|
You can customize the generated packages in pkgs/development/lua-modules/overrides.nix
|
|
*/
|
|
|
|
{
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
fetchgit,
|
|
callPackage,
|
|
...
|
|
}:
|
|
final: prev: {
|
|
alt-getopt = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "alt-getopt";
|
|
version = "0.8.0-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/alt-getopt-0.8.0-2.rockspec";
|
|
sha256 = "1x1wb351n8c9aghgrlwkjg4crriwby18drzrz3280mw9cildg11v";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "cheusov";
|
|
repo = "lua-alt-getopt";
|
|
tag = "0.8.0";
|
|
hash = "sha256-OxtMNB8++cVQ/gQjntLUt3WYopGhYb1VbIUAZEzJB88=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/cheusov/lua-alt-getopt";
|
|
maintainers = with lib.maintainers; [ arobyn ];
|
|
license.fullName = "MIT/X11";
|
|
description = "Process application arguments the same way as getopt_long";
|
|
longDescription = ''
|
|
alt-getopt is a module for Lua programming language for processing
|
|
application's arguments the same way BSD/GNU getopt_long(3) functions do.
|
|
The main goal is compatibility with SUS "Utility Syntax Guidelines"
|
|
guidelines 3-13.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
ansicolors = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "ansicolors";
|
|
version = "1.0.2-3";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/ansicolors-1.0.2-3.rockspec";
|
|
sha256 = "19y962xdx5ldl3596ywdl7n825dffz9al6j6rx6pbgmhb7pi8s5v";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/kikito/ansicolors.lua/archive/v1.0.2.tar.gz";
|
|
sha256 = "0r4xi57njldmar9pn77l0vr5701rpmilrm51spv45lz0q9js8xps";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/kikito/ansicolors.lua";
|
|
maintainers = with lib.maintainers; [ Freed-Wu ];
|
|
license = lib.licenses.mit;
|
|
description = "Library for color Manipulation.";
|
|
longDescription = ''
|
|
Ansicolors is a simple Lua function for printing to the console in color.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
argparse = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "argparse";
|
|
version = "0.7.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/argparse-0.7.2-1.rockspec";
|
|
sha256 = "1az7ikzll699sbz2qxq9wkm0ncmic33dhg85zqlznbnz28vy6jza";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/luarocks/argparse/archive/0.7.2.zip";
|
|
sha256 = "0ji3hh0s2g2i5sribiib2vpy30xzfkv61m4mzwawfpgraqg03r6y";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.6";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/luarocks/argparse";
|
|
license = lib.licenses.mit;
|
|
description = "A feature-rich command-line argument parser";
|
|
longDescription = "Argparse supports positional arguments, options, flags, optional arguments, subcommands and more. Argparse automatically generates usage, help, and error messages, and can generate shell completion scripts.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
basexx = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "basexx";
|
|
version = "0.4.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/basexx-0.4.1-1.rockspec";
|
|
sha256 = "0kmydxm2wywl18cgj303apsx7hnfd68a9hx9yhq10fj7yfcxzv5f";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/aiq/basexx/archive/v0.4.1.tar.gz";
|
|
sha256 = "1rnz6xixxqwy0q6y2hi14rfid4w47h69gfi0rnlq24fz8q2b0qpz";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/aiq/basexx";
|
|
license = lib.licenses.mit;
|
|
description = "A base2, base16, base32, base64 and base85 library for Lua";
|
|
longDescription = "A Lua library which provides base2(bitfield), base16(hex), base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
bcrypt = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "bcrypt";
|
|
version = "2.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/bcrypt-2.3-1.rockspec";
|
|
sha256 = "1zjy7sflyd50jvp603hmw0sg3rw5xyray0spzv5x5ky9hxivcdrf";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "mikejsavage";
|
|
repo = "lua-bcrypt";
|
|
tag = "v2.3-1";
|
|
hash = "sha256-wd9AbzfD3j9fyTq3toscitPsTEE49YoeSstwfO+3QGo=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/mikejsavage/lua-bcrypt";
|
|
maintainers = with lib.maintainers; [ ulysseszhan ];
|
|
license = lib.licenses.isc;
|
|
description = "A Lua wrapper for bcrypt";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
binaryheap = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "binaryheap";
|
|
version = "0.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/binaryheap-0.4-1.rockspec";
|
|
sha256 = "1ah37lhskmrb26by5ygs7jblx7qnf6mphgw8kwhw0yacvmkcbql4";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/Tieske/binaryheap.lua/archive/version_0v4.tar.gz";
|
|
sha256 = "0f5l4nb5s7dycbkgh3rrl7pf0npcf9k6m2gr2bsn09fjyb3bdc8h";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/Tieske/binaryheap.lua";
|
|
maintainers = with lib.maintainers; [ vcunat ];
|
|
license.fullName = "MIT/X11";
|
|
description = "Binary heap implementation in pure Lua";
|
|
longDescription = ''
|
|
Binary heaps are an efficient sorting algorithm. This module
|
|
implements a plain binary heap (without reverse lookup) and a
|
|
'unique' binary heap (with unique payloads and reverse lookup).
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
bit32 = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "bit32";
|
|
version = "5.3.5.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/bit32-5.3.5.1-1.rockspec";
|
|
sha256 = "11mg0hmmil92hkwamm91ghih6ys9pqsakx0z9jgnqxymnl887j51";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/keplerproject/lua-compat-5.3/archive/v0.10.zip";
|
|
sha256 = "1caxn228gx48g6kymp9w7kczgxcg0v0cd5ixsx8viybzkd60dcn4";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "http://www.lua.org/manual/5.2/manual.html#6.7";
|
|
maintainers = with lib.maintainers; [ lblasc ];
|
|
license = lib.licenses.mit;
|
|
description = "Lua 5.2 bit manipulation library";
|
|
longDescription = ''
|
|
bit32 is the native Lua 5.2 bit manipulation library, in the version
|
|
from Lua 5.3; it is compatible with Lua 5.1, 5.2, 5.3 and 5.4.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
busted = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
dkjson,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lua-term,
|
|
luaOlder,
|
|
lua_cliargs,
|
|
luassert,
|
|
luasystem,
|
|
mediator_lua,
|
|
penlight,
|
|
say,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "busted";
|
|
version = "2.3.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/busted-2.3.0-1.rockspec";
|
|
sha256 = "1df41k03r0fy8l62dqywqjlxwmjhifk2krqq675w1cra28z8hb14";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "busted";
|
|
tag = "v2.3.0";
|
|
hash = "sha256-ZSfnbsDiaIo/abVpwb/LV5Ktp5wFSZQNO0OdbnjqVSs=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
dkjson
|
|
lua-term
|
|
lua_cliargs
|
|
luassert
|
|
luasystem
|
|
mediator_lua
|
|
penlight
|
|
say
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://lunarmodules.github.io/busted/";
|
|
license = lib.licenses.mit;
|
|
description = "Elegant Lua unit testing";
|
|
longDescription = ''
|
|
An elegant, extensible, testing framework.
|
|
Ships with a large amount of useful asserts,
|
|
plus the ability to write your own. Output
|
|
in pretty or plain terminal format, JSON,
|
|
or TAP for CI integration. Great for TDD
|
|
and unit, integration, and functional tests.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
busted-htest = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "busted-htest";
|
|
version = "1.0.0-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/busted-htest-1.0.0-2.rockspec";
|
|
sha256 = "10d2pbh2rfy4ygp40h8br4w5j1z5syq5pn6knd4bbnacmswnmcdl";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "hishamhm";
|
|
repo = "busted-htest";
|
|
tag = "1.0.0";
|
|
hash = "sha256-tGAQUSeDt+OV/TBAJo/JFdyeBRRZaIQEJG+SKcCaQhs=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/hishamhm/busted-htest";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "A pretty output handler for Busted";
|
|
longDescription = ''
|
|
This is an alternative output handler for Busted,
|
|
a unit testing framework for Lua.
|
|
It is based on the gtest output handler that
|
|
is bundled with Busted.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
cassowary = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
penlight,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "cassowary";
|
|
version = "2.3.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/cassowary-2.3.2-1.rockspec";
|
|
sha256 = "0c6sflm8zpgbcdj47s3rd34h69h3nqcciaaqd1wdx5m0lwc3mii0";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "sile-typesetter";
|
|
repo = "cassowary.lua";
|
|
tag = "v2.3.2";
|
|
hash = "sha256-wIVuf1L3g2BCM+zW4Nt1IyU6xaP4yYuzxHjVDxsgdNM=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ penlight ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/sile-typesetter/cassowary.lua";
|
|
maintainers = with lib.maintainers; [ alerque ];
|
|
license = lib.licenses.asl20;
|
|
description = "The cassowary constraint solver";
|
|
longDescription = ''
|
|
This is a Lua port of the Cassowary constraint solving toolkit.
|
|
It allows you to use Lua to solve algebraic equations and inequalities
|
|
and find the values of unknown variables which satisfy those
|
|
inequalities.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
cldr = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
penlight,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "cldr";
|
|
version = "0.3.0-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/cldr-0.3.0-0.rockspec";
|
|
sha256 = "1fnr8k713w21v7hc64s4w5lgcgnbphq3gm69pisc2s4wq2fkija1";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "alerque";
|
|
repo = "cldr-lua";
|
|
tag = "v0.3.0";
|
|
hash = "sha256-5LY0YxHACtreP38biDZD97bkPuuT7an/Z1VBXEJYjkI=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ penlight ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/alerque/cldr-lua";
|
|
maintainers = with lib.maintainers; [ alerque ];
|
|
license.fullName = "MIT/ICU";
|
|
description = "Lua interface to Unicode CLDR data";
|
|
longDescription = "Unicode CLDR (Common Locale Data Repository) data and Lua interface.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
commons-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "commons.nvim";
|
|
version = "27.0.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/commons.nvim-27.0.0-1.rockspec";
|
|
sha256 = "0gz1943nrlpi7pq4izip6fb0pkfk13h5322qhynx27m82nm129mq";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/linrongbin16/commons.nvim/archive/ac18006fe9e47cf6e53c79e333465d5a75455357.zip";
|
|
sha256 = "10qlgly499lyhvmhj5lqv4jqzyrlx6h7h7gjbyrgzpjqyjr99m1l";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://linrongbin16.github.io/commons.nvim/";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "The commons lua library for Neovim plugin project.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
compat53 = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "compat53";
|
|
version = "0.14.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/compat53-0.14.4-1.rockspec";
|
|
sha256 = "01ahfb6g7ibxrlvypvrsry4pwzfj978afjfa9c5w1s7ahjf95d40";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.14.4.zip";
|
|
sha256 = "16mvf6qq290m8pla3fq3r6d6fmbbysjy8b5rxi40hchs4ngrn847";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lunarmodules/lua-compat-5.3";
|
|
maintainers = with lib.maintainers; [ vcunat ];
|
|
license = lib.licenses.mit;
|
|
description = "Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1";
|
|
longDescription = ''
|
|
This is a small module that aims to make it easier to write Lua
|
|
code in a Lua-5.3-style that runs on Lua 5.1+.
|
|
It does *not* make Lua 5.2 (or even 5.1) entirely compatible
|
|
with Lua 5.3, but it brings the API closer to that of Lua 5.3.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
cosmo = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lpeg,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "cosmo";
|
|
version = "16.06.04-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/cosmo-16.06.04-1.rockspec";
|
|
sha256 = "0ipv1hrlhvaz1myz6qxabq7b7kb3bz456cya3r292487a3g9h9pb";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "mascarenhas";
|
|
repo = "cosmo";
|
|
tag = "v16.06.04";
|
|
hash = "sha256-mJE5GkDnfZ3qAQyyyKj+aXOtlITeYs8lerGJSTzU/Tk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ lpeg ];
|
|
|
|
meta = {
|
|
homepage = "http://cosmo.luaforge.net";
|
|
license.fullName = "MIT/X11";
|
|
description = "Safe templates for Lua";
|
|
longDescription = ''
|
|
Cosmo is a "safe templates" engine. It allows you to fill nested templates,
|
|
providing many of the advantages of Turing-complete template engines,
|
|
without without the downside of allowing arbitrary code in the templates.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
coxpcall = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "coxpcall";
|
|
version = "1.17.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/coxpcall-1.17.0-1.rockspec";
|
|
sha256 = "0mf0nggg4ajahy5y1q5zh2zx9rmgzw06572bxx6k8b736b8j7gca";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "keplerproject";
|
|
repo = "coxpcall";
|
|
tag = "v1_17_0";
|
|
hash = "sha256-EW8pGI9jiGutNVNmyiCP5sIVYZe2rJQc03OrKXIOeMw=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "http://keplerproject.github.io/coxpcall";
|
|
license.fullName = "MIT/X11";
|
|
description = "Coroutine safe xpcall and pcall";
|
|
longDescription = ''
|
|
Encapsulates the protected calls with a coroutine based loop, so errors can
|
|
be handled without the usual Lua 5.x pcall/xpcall issues with coroutines
|
|
yielding inside the call to pcall or xpcall.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
cqueues = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
lua,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "cqueues";
|
|
version = "20200726.52-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/cqueues-20200726.52-0.rockspec";
|
|
sha256 = "0w2kq9w0wda56k02rjmvmzccz6bc3mn70s9v7npjadh85i5zlhhp";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/wahern/cqueues/archive/rel-20200726.tar.gz";
|
|
sha256 = "0lhd02ag3r1sxr2hx847rdjkddm04l1vf5234v5cz9bd4kfjw4cy";
|
|
};
|
|
|
|
disabled = lua.luaversion != "5.2";
|
|
|
|
meta = {
|
|
homepage = "http://25thandclement.com/~william/projects/cqueues.html";
|
|
maintainers = with lib.maintainers; [ vcunat ];
|
|
license.fullName = "MIT/X11";
|
|
description = "Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
cyan = callPackage (
|
|
{
|
|
argparse,
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luafilesystem,
|
|
luasystem,
|
|
tl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "cyan";
|
|
version = "0.4.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/cyan-0.4.1-1.rockspec";
|
|
sha256 = "0m0br7fvczkaqx6zqj7ykmivw7fnizvi34cqp2mvzxn30hsa4hyw";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "teal-language";
|
|
repo = "cyan";
|
|
tag = "v0.4.1";
|
|
hash = "sha256-jvBmOC1SMnuwgwtK6sPCDma+S5RyhItc6YjzMPULzSw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
argparse
|
|
luafilesystem
|
|
luasystem
|
|
tl
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/teal-language/cyan";
|
|
license = lib.licenses.mit;
|
|
description = "A build system for the Teal language";
|
|
longDescription = "A build system for the Teal language along with an api for external tooling to work with Teal";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
datafile = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "datafile";
|
|
version = "0.11-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/datafile-0.11-1.rockspec";
|
|
sha256 = "09i0yqakzc342f2qqa0yxkdyz55y9s5v036x3xjwpfjry8yywc6q";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "hishamhm";
|
|
repo = "datafile";
|
|
tag = "v0.11";
|
|
hash = "sha256-aHdxFJ2IB9v9UMK7vqk7tUA0rLmfvRd0nzhc9JO8AlQ=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/hishamhm/datafile";
|
|
license.fullName = "MIT/X11";
|
|
description = "A library for handling paths when loading data files";
|
|
longDescription = ''
|
|
datafile is a library for avoiding hardcoded paths
|
|
when loading resource files in Lua modules.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
digestif = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lpeg,
|
|
luaOlder,
|
|
luafilesystem,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "digestif";
|
|
version = "0.6-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/digestif-0.6-1.rockspec";
|
|
sha256 = "0hp7r97b6ivywaxb02cbnm23gjz71mak5ag6m3hi7f3mjqxxxh8k";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "astoff";
|
|
repo = "digestif";
|
|
tag = "v0.6";
|
|
hash = "sha256-sGwKt9suRVNrbRJlhNMHzc5r4sK/fvUc7smxmxmrn8Y=";
|
|
};
|
|
|
|
disabled = luaOlder "5.3";
|
|
propagatedBuildInputs = [
|
|
lpeg
|
|
luafilesystem
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/astoff/digestif/";
|
|
license.fullName = "GPLv3+ and other free licenses";
|
|
description = "A code analyzer for TeX";
|
|
longDescription = ''
|
|
A code analyzer for TeX documents, including LaTeX and BibTeX. It
|
|
comes with a Language Server Protocol implementation, so it can
|
|
run as a plug-in to many different text editors.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
dkjson = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "dkjson";
|
|
version = "2.8-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/dkjson-2.8-2.rockspec";
|
|
sha256 = "0hr4vfmf64kvmqbnr1vx4p6gl3mmiq1hg5jd60rqwplsiaib2r67";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://dkolf.de/dkjson-lua/dkjson-2.8.tar.gz";
|
|
sha256 = "0chmlcv8498n313x19aampwvz2s1pp4zpcvvxdhwihcixcxwvs14";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.6";
|
|
|
|
meta = {
|
|
homepage = "https://dkolf.de/dkjson-lua/";
|
|
license.fullName = "MIT/X11";
|
|
description = "David Kolf's JSON module for Lua";
|
|
longDescription = ''
|
|
dkjson is a module for encoding and decoding JSON data. It supports UTF-8.
|
|
|
|
JSON (JavaScript Object Notation) is a format for serializing data based
|
|
on the syntax for JavaScript data structures.
|
|
|
|
dkjson is written in Lua without any dependencies, but
|
|
when LPeg is available dkjson can use it to speed up decoding.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
enet = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "enet";
|
|
version = "1.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/enet-1.2-1.rockspec";
|
|
sha256 = "0jf0qxf3lsrmc1dww7b7i6srqp2cy8caqv9f1rbva7f6rnppxzra";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "leafo";
|
|
repo = "lua-enet";
|
|
tag = "v1.2";
|
|
hash = "sha256-GomfJAPbR+y469LuaNPrkab0Wd3xAsAhT4uqbDo8BUA=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://leafo.net/lua-enet";
|
|
maintainers = with lib.maintainers; [ ulysseszhan ];
|
|
license = lib.licenses.mit;
|
|
description = "A library for doing network communication in Lua";
|
|
longDescription = ''
|
|
Binding to ENet, network communication layer on top of UDP.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
etlua = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "etlua";
|
|
version = "1.3.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/etlua-1.3.0-1.rockspec";
|
|
sha256 = "1g98ibp7n2p4js39din2balncjnxxdbaq6msw92z072s2cccx9cf";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "leafo";
|
|
repo = "etlua";
|
|
tag = "v1.3.0";
|
|
hash = "sha256-CVCNeivP6tefUMseoZjiO5wMYBEPNWMy2+0KnmEIuT0=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/leafo/etlua";
|
|
maintainers = with lib.maintainers; [ ulysseszhan ];
|
|
license = lib.licenses.mit;
|
|
description = "Embedded templates for Lua";
|
|
longDescription = ''
|
|
Allows you to render ERB style templates but with Lua. Supports <% %>, <%=
|
|
%> and <%- %> tags (with optional newline slurping) for embedding code.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
fennel = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "fennel";
|
|
version = "1.6.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/fennel-1.6.1-1.rockspec";
|
|
sha256 = "1r6sn77f321k7i4ch4n02k0l1q0dlpdgifchpxzknwknir1bvmnk";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "bakpakin";
|
|
repo = "Fennel";
|
|
tag = "1.6.1";
|
|
hash = "sha256-MLXLkRKlxqvEOogM5I4uHxnlRLjK8Pbeq9b1+kAgqFg=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://fennel-lang.org";
|
|
maintainers = with lib.maintainers; [ misterio77 ];
|
|
license = lib.licenses.mit;
|
|
description = "A lisp that compiles to Lua";
|
|
longDescription = "Get your parens on--write macros and homoiconic code on the Lua runtime!";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
fidget-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "fidget.nvim";
|
|
version = "1.6.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/fidget.nvim-1.6.0-1.rockspec";
|
|
sha256 = "1jra7xv2ifsy5p3zwbiv70ynligjh8wx48ykmbi2cagd2vz9arwz";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/j-hui/fidget.nvim/archive/v1.6.0.zip";
|
|
sha256 = "120q3dzq142xda1bzw8chf02k86dw21n8qjznlaxxpqlpk9sl6hr";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/j-hui/fidget.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "Extensible UI for Neovim notifications and LSP progress messages.";
|
|
longDescription = ''
|
|
Fidget is an unintrusive window in the corner of your editor that manages its own lifetime.
|
|
Its goals are:
|
|
- to provide a UI for Neovim's $/progress handler
|
|
- to provide a configurable vim.notify() backend
|
|
- to support basic ASCII animations (Fidget spinners!) to indicate signs of life
|
|
- to be easy to configure, sane to maintain, and fun to hack on
|
|
There's only so much information one can stash into the status line.
|
|
Besides, who doesn't love a little bit of terminal eye candy, as a treat?'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
fifo = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "fifo";
|
|
version = "0.2-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/fifo-0.2-0.rockspec";
|
|
sha256 = "0vr9apmai2cyra2n573nr3dyk929gzcs4nm1096jdxcixmvh2ymq";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/daurnimator/fifo.lua/archive/0.2.zip";
|
|
sha256 = "1800k7h5hxsvm05bjdr65djjml678lwb0661cll78z1ys2037nzn";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/daurnimator/fifo.lua";
|
|
license.fullName = "MIT/X11";
|
|
description = "A lua library/'class' that implements a FIFO";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
fluent = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
cldr,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
luaepnf,
|
|
penlight,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "fluent";
|
|
version = "0.2.0-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/fluent-0.2.0-0.rockspec";
|
|
sha256 = "1x3nk8xdf923rvdijr0jx8v6w3wxxfch7ri3kxca0pw80b5bc2fa";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "alerque";
|
|
repo = "fluent-lua";
|
|
tag = "v0.2.0";
|
|
hash = "sha256-uDJWhQ/fDD9ZbYOgPk1FDlU3A3DAZw3Ujx92BglFWoo=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
cldr
|
|
luaepnf
|
|
penlight
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/alerque/fluent-lua";
|
|
maintainers = with lib.maintainers; [ alerque ];
|
|
license = lib.licenses.mit;
|
|
description = "Lua implementation of Project Fluent";
|
|
longDescription = ''
|
|
A Lua port of Project Fluent, a localization paradigm designed to unleash
|
|
the entire expressive power of natural language translations.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
funnyfiles-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "funnyfiles.nvim";
|
|
version = "1.0.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/funnyfiles.nvim-1.0.1-1.rockspec";
|
|
sha256 = "1r3cgx8wvc1c4syk167m94ws513g0cdmmxnymf3zyidlszdwamy5";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/aikooo7/funnyfiles.nvim/archive/v1.0.1.zip";
|
|
sha256 = "00p026r05gldbf18mmv8da9ap09di8dhy0rrd586pr2s2s36nzpd";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/aikooo7/funnyfiles.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "This plugin is a way of creating/deleting files/folders without needing to open a file explorer.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
fzf-lua = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "fzf-lua";
|
|
version = "0.0.2654-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/fzf-lua-0.0.2654-1.rockspec";
|
|
sha256 = "19msswvglynba5xy0f14xlcidjln6mphnrnydx9x7k03770qmbj9";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/ibhagwan/fzf-lua/archive/fea9eedc6894c44d44cbb772a5cd11c93b82d7a1.zip";
|
|
sha256 = "09ayadlmdkljhcm5ncby8w6w8b1kfyhmw0bf3zhl6r8cfansixc2";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ibhagwan/fzf-lua";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.agpl3Only;
|
|
description = "Improved fzf.vim written in lua";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
fzy = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "fzy";
|
|
version = "1.0.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/fzy-1.0.3-1.rockspec";
|
|
sha256 = "07d07afjs73bl5krfbaqx4pw2wpfrkyw2iksamkfa8dlqn9ajn1a";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/swarn/fzy-lua/archive/v1.0.3.zip";
|
|
sha256 = "0w3alddhn0jd19vmminbi1b79mzlagyl1lygmfpxhzzccdv4vapm";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/swarn/fzy-lua";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "A lua implementation of the fzy fuzzy matching algorithm";
|
|
longDescription = ''
|
|
A Lua port of fzy's fuzzy string matching algorithm.
|
|
This includes both a pure Lua implementation and a compiled C implementation with a Lua wrapper.
|
|
fzy tries to find the result the user wants by favoring consecutive
|
|
matches, and matches at the beginnings of words.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
gitsigns-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "gitsigns.nvim";
|
|
version = "2.1.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/gitsigns.nvim-2.1.0-1.rockspec";
|
|
sha256 = "13w10vblahrqn3cahcj6f9wz1kcna93825zy01dspl3s058920yj";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/lewis6991/gitsigns.nvim/archive/a462f416e2ce4744531c6256252dee99a7d34a83.zip";
|
|
sha256 = "06d7pl9h1y8v7pmlyhlxs21z17pb7ikg4yipjag2i60panp6cd8i";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lewis6991/gitsigns.nvim";
|
|
license = lib.licenses.mit;
|
|
description = "Git integration for buffers";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
grug-far-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "grug-far.nvim";
|
|
version = "1.6.70-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/grug-far.nvim-1.6.70-1.rockspec";
|
|
sha256 = "06cb19vg9rj48idc22ncjabb1phhrbiklr42mazf5y91dd9w8b19";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/MagicDuck/grug-far.nvim/archive/5506c2f59dc9ab2ed6c233585412b24d31d51521.zip";
|
|
sha256 = "1n62s1z0r78snlravyh0k4kp5i7gsyi5p78fpgilgqaqs6s8my48";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/MagicDuck/grug-far.nvim";
|
|
maintainers = with lib.maintainers; [ teto ];
|
|
license = lib.licenses.mit;
|
|
description = "Find And Replace plugin for neovim";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
haskell-tools-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "haskell-tools.nvim";
|
|
version = "9.0.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/haskell-tools.nvim-9.0.2-1.rockspec";
|
|
sha256 = "1k4p153lvl7y5a301q45072ldxkic18d6ymfz814qc5vxbk6xalg";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/mrcjkb/haskell-tools.nvim/archive/v9.0.2.zip";
|
|
sha256 = "1vl9z9snw8wzgnib7244z9gld61f2y4kp66540ia2yi8gp214n7l";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mrcjkb/haskell-tools.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.gpl2Only;
|
|
description = " 🦥 Supercharge your Haskell experience in neovim!";
|
|
longDescription = ''
|
|
This plugin automatically configures the haskell-language-server builtin LSP client
|
|
and integrates with other Haskell tools. See the README's #features section
|
|
for more info.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
http = callPackage (
|
|
{
|
|
basexx,
|
|
binaryheap,
|
|
bit32,
|
|
buildLuarocksPackage,
|
|
compat53,
|
|
cqueues,
|
|
fetchurl,
|
|
fetchzip,
|
|
fifo,
|
|
lpeg,
|
|
lpeg_patterns,
|
|
luaOlder,
|
|
luaossl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "http";
|
|
version = "0.4-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/http-0.4-0.rockspec";
|
|
sha256 = "0kbf7ybjyj6408sdrmh1jb0ig5klfc8mqcwz6gv6rd6ywn47qifq";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/daurnimator/lua-http/archive/v0.4.zip";
|
|
sha256 = "0252mc3mns1ni98hhcgnb3pmb53lk6nzr0jgqin0ggcavyxycqb2";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
basexx
|
|
binaryheap
|
|
bit32
|
|
compat53
|
|
cqueues
|
|
fifo
|
|
lpeg
|
|
lpeg_patterns
|
|
luaossl
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/daurnimator/lua-http";
|
|
maintainers = with lib.maintainers; [ vcunat ];
|
|
license = lib.licenses.mit;
|
|
description = "HTTP library for Lua";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
inspect = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "inspect";
|
|
version = "3.1.3-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/inspect-3.1.3-0.rockspec";
|
|
sha256 = "1iivb2jmz0pacmac2msyqwvjjx8q6py4h959m8fkigia6srg5ins";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/kikito/inspect.lua/archive/v3.1.3.tar.gz";
|
|
sha256 = "1sqylz5hmj5sbv4gi9988j6av3cb5lwkd7wiyim1h5lr7xhnlf23";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/kikito/inspect.lua";
|
|
license = lib.licenses.mit;
|
|
description = "Lua table visualizer, ideal for debugging";
|
|
longDescription = ''
|
|
inspect will print out your lua tables nicely so you can debug your programs quickly. It sorts keys by type and name and handles recursive tables properly.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
jsregexp = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "jsregexp";
|
|
version = "0.0.7-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/jsregexp-0.0.7-2.rockspec";
|
|
sha256 = "048gaxgm45hvqz8x2sp3bjii2fgimwafccnwvf92crlj3r6cys6k";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "kmarius";
|
|
repo = "jsregexp";
|
|
tag = "v0.0.7";
|
|
hash = "sha256-aXRGmo6w7jgKlR2BwKhbFGHC0mOTwHfYsh+lvqNuFtQ=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/kmarius/jsregexp";
|
|
license = lib.licenses.mit;
|
|
description = "javascript (ECMA19) regular expressions for lua";
|
|
longDescription = ''
|
|
Provides ECMAScript regular expressions for Lua 5.1, 5.2, 5.3, 5.4 and LuaJit. Uses libregexp from Fabrice Bellard's QuickJS.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
ldbus = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "ldbus";
|
|
version = "scm-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/ldbus-scm-0.rockspec";
|
|
sha256 = "1c0h6fx7avzh89hl17v6simy1p4mjg8bimlsbjybks0zxznd8rbm";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "daurnimator";
|
|
repo = "ldbus";
|
|
rev = "5cc933bfad2b73674bc005ebcce771555a614792";
|
|
hash = "sha256-MyldeKaqe7axZ423cKDE7+P2w26uRcjs0huuqlaVxQs=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/daurnimator/ldbus";
|
|
license.fullName = "MIT/X11";
|
|
description = "A Lua library to access dbus.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
ldoc = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
markdown,
|
|
penlight,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "ldoc";
|
|
version = "1.5.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/ldoc-1.5.0-1.rockspec";
|
|
sha256 = "1c0yx9j3yqlzxpmspz7n7l1nvh2sww84zhkb1fsbg042sr8h9bxp";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "ldoc";
|
|
tag = "v1.5.0";
|
|
hash = "sha256-Me2LT+UzO8G2vHqG7DjjoCRAtLmhiJHlSEYQGkprxTw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
markdown
|
|
penlight
|
|
];
|
|
|
|
meta = {
|
|
homepage = "http://lunarmodules.github.io/ldoc";
|
|
license = lib.licenses.mit;
|
|
description = "A Lua Documentation Tool";
|
|
longDescription = ''
|
|
LDoc is a LuaDoc-compatible documentation generator which can also
|
|
process C extension source. Markdown may be optionally used to
|
|
render comments, as well as integrated readme documentation and
|
|
pretty-printed example files
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lgi = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lgi";
|
|
version = "0.9.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lgi-0.9.2-1.rockspec";
|
|
sha256 = "1gqi07m4bs7xibsy4vx8qgyp3yb1wnh0gdq1cpwqzv35y6hn5ds3";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "pavouk";
|
|
repo = "lgi";
|
|
tag = "0.9.2";
|
|
hash = "sha256-UpamUbvqzF0JKV3J0wIiJlV6iedwe823vD0EIm3zKw8=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/pavouk/lgi";
|
|
license.fullName = "MIT/X11";
|
|
description = "Lua bindings to GObject libraries";
|
|
longDescription = ''
|
|
Dynamic Lua binding to any library which is introspectable
|
|
using gobject-introspection. Allows using GObject-based libraries
|
|
directly from Lua.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
linenoise = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "linenoise";
|
|
version = "0.9-1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/hoelzro/lua-linenoise/archive/0.9.tar.gz";
|
|
sha256 = "177h6gbq89arwiwxah9943i8hl5gvd9wivnd1nhmdl7d8x0dn76c";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/hoelzro/lua-linenoise";
|
|
license.fullName = "MIT/X11";
|
|
description = "A binding for the linenoise command line library";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
ljsyscall = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
lua,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "ljsyscall";
|
|
version = "0.12-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/ljsyscall-0.12-1.rockspec";
|
|
sha256 = "0zna5s852vn7q414z56kkyqwpighaghyq7h7in3myap4d9vcgm01";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/justincormack/ljsyscall/archive/v0.12.tar.gz";
|
|
sha256 = "1w9g36nhxv92cypjia7igg1xpfrn3dbs3hfy6gnnz5mx14v50abf";
|
|
};
|
|
|
|
disabled = lua.luaversion != "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://www.myriabit.com/ljsyscall/";
|
|
maintainers = with lib.maintainers; [ lblasc ];
|
|
license = lib.licenses.mit;
|
|
description = "LuaJIT Linux syscall FFI";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
llscheck = callPackage (
|
|
{
|
|
ansicolors,
|
|
argparse,
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lua-cjson,
|
|
luaOlder,
|
|
luafilesystem,
|
|
penlight,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "llscheck";
|
|
version = "0.8.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/llscheck-0.8.0-1.rockspec";
|
|
sha256 = "15x22g2l5sih07yrcrapmcmmanrpq0ljdm34y928p8p6hg1034ab";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "jeffzi";
|
|
repo = "llscheck";
|
|
tag = "v0.8.0";
|
|
hash = "sha256-edUS6EQLiU4Slob2PagmPE5h7Co+XNRYb3fNeC4COsI=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
ansicolors
|
|
argparse
|
|
lua-cjson
|
|
luafilesystem
|
|
penlight
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/jeffzi/llscheck";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "Human-friendly Lua code analysis powered by Lua Language Server";
|
|
longDescription = ''
|
|
LLSCheck runs Lua Language Server diagnostics and formats results for humans.
|
|
Returns non-zero on errors for CI integration. Also usable as a Lua module.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lmathx = callPackage (
|
|
{ buildLuarocksPackage, fetchurl }:
|
|
buildLuarocksPackage {
|
|
pname = "lmathx";
|
|
version = "20150624-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lmathx-20150624-1.rockspec";
|
|
sha256 = "181wzsj1mxjyia43y8zwaydxahnl7a70qzcgc8jhhgic7jyi9pgv";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.3/lmathx.tar.gz";
|
|
sha256 = "1r0ax3lq4xx6469aqc6qlfl3jynlghzhl5j65mpdj0kyzv4nknzf";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lmathx";
|
|
maintainers = with lib.maintainers; [ alexshpilkin ];
|
|
license.fullName = "Public domain";
|
|
description = "C99 extensions for the math library";
|
|
longDescription = ''
|
|
An extension of the Lua math library with the functions
|
|
available in C99.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lmpfrlib = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lmpfrlib";
|
|
version = "20170112-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lmpfrlib-20170112-2.rockspec";
|
|
sha256 = "1x7qiwmk5b9fi87fn7yvivdsis8h9fk9r3ipqiry5ahx72vzdm7d";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "http://www.circuitwizard.de/lmpfrlib/lmpfrlib.c";
|
|
sha256 = "1bkfwdacj1drzqsfxf352fjppqqwi5d4j084jr9vj9dvjb31rbc1";
|
|
};
|
|
|
|
disabled = luaOlder "5.3" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "http://www.circuitwizard.de/lmpfrlib/lmpfrlib.html";
|
|
maintainers = with lib.maintainers; [ alexshpilkin ];
|
|
license.fullName = "LGPL";
|
|
description = "Lua API for the GNU MPFR library";
|
|
longDescription = "The MPFR library is a C library for multi-precision floating-point computations with correct rounding. This extension allows the use of the MPFR library from within Lua.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
loadkit = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "loadkit";
|
|
version = "1.1.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/loadkit-1.1.0-1.rockspec";
|
|
sha256 = "08fx0xh90r2zvjlfjkyrnw2p95xk1a0qgvlnq4siwdb2mm6fq12l";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "leafo";
|
|
repo = "loadkit";
|
|
tag = "v1.1.0";
|
|
hash = "sha256-fw+aoP9+yDpme4qXupE07cV1QGZjb2aU7IOHapG+ihU=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/leafo/loadkit";
|
|
maintainers = with lib.maintainers; [ alerque ];
|
|
license = lib.licenses.mit;
|
|
description = "Loadkit allows you to load arbitrary files within the Lua package path";
|
|
longDescription = ''
|
|
Loadkit lets you register new file extension handlers that can be opened
|
|
with require, or you can just search for files of any extension using the
|
|
current search path.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lpeg = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lpeg";
|
|
version = "1.1.0-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lpeg-1.1.0-2.rockspec";
|
|
sha256 = "0g8bnsx1qkl8s1fglbdai9mznzyzf9mv5lcxjab47069b3d8caa4";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz";
|
|
sha256 = "0aimsjpcpkh3kk65f0pg1z2bp6d83rn4dg6pgbx1yv14s9kms5ab";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://www.inf.puc-rio.br/~roberto/lpeg.html";
|
|
license.fullName = "MIT/X11";
|
|
description = "Parsing Expression Grammars For Lua";
|
|
longDescription = ''
|
|
LPeg is a new pattern-matching library for Lua, based on Parsing
|
|
Expression Grammars (PEGs). The nice thing about PEGs is that it
|
|
has a formal basis (instead of being an ad-hoc set of features),
|
|
allows an efficient and simple implementation, and does most things
|
|
we expect from a pattern-matching library (and more, as we can
|
|
define entire grammars).
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lpeg_patterns = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
lpeg,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lpeg_patterns";
|
|
version = "0.5-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lpeg_patterns-0.5-0.rockspec";
|
|
sha256 = "1vzl3ryryc624mchclzsfl3hsrprb9q214zbi1xsjcc4ckq5qfh7";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip";
|
|
sha256 = "1s3c179a64r45ffkawv9dnxw4mzwkzj00nr9z2gs5haajgpjivw6";
|
|
};
|
|
|
|
propagatedBuildInputs = [ lpeg ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip";
|
|
license = lib.licenses.mit;
|
|
description = "a collection of LPEG patterns";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lpeglabel = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lpeglabel";
|
|
version = "1.6.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lpeglabel-1.6.0-1.rockspec";
|
|
sha256 = "13gc32pggng6f95xx5zw9n9ian518wlgb26mna9kh4q2xa1k42pm";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.0-1.tar.gz";
|
|
sha256 = "1i02lsxj20iygqm8fy6dih1gh21lqk5qj1mv14wlrkaywnv35wcv";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/sqmedeiros/lpeglabel/";
|
|
license.fullName = "MIT/X11";
|
|
description = "Parsing Expression Grammars For Lua with Labeled Failures";
|
|
longDescription = ''
|
|
LPegLabel is a conservative extension of the LPeg library that provides
|
|
an implementation of Parsing Expression Grammars (PEGs) with labeled failures.
|
|
By using labeled failures we can properly report syntactical errors.
|
|
We can also recover from such errors by describing a grammar rule with
|
|
the same name of a given label.
|
|
LPegLabel also reports the farthest failure position in case of an ordinary failure.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lrexlib-gnu = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lrexlib-gnu";
|
|
version = "2.9.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lrexlib-gnu-2.9.3-1.rockspec";
|
|
sha256 = "1wn69qi1qfd3d13zrgw6xq7dwqks6kwj7s398kbgacq79ibv6js3";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "rrthomas";
|
|
repo = "lrexlib";
|
|
tag = "rel-2-9-3";
|
|
hash = "sha256-7lybrMvNk2YhXish01PQlMpRVW+qlFj03RO33zmgGp4=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rrthomas/lrexlib";
|
|
license.fullName = "MIT/X11";
|
|
description = "Regular expression library binding (GNU flavour).";
|
|
longDescription = ''
|
|
Lrexlib is a regular expression library for Lua 5.1-5.4, which
|
|
provides bindings for several regular expression libraries.
|
|
This rock provides the GNU bindings.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lrexlib-oniguruma = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lrexlib-oniguruma";
|
|
version = "2.9.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lrexlib-oniguruma-2.9.3-1.rockspec";
|
|
sha256 = "0zgpfnb7l018kh16xn836gwydhy0hpqzjchlbk0jhnjlzcvynidm";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "rrthomas";
|
|
repo = "lrexlib";
|
|
tag = "rel-2-9-3";
|
|
hash = "sha256-7lybrMvNk2YhXish01PQlMpRVW+qlFj03RO33zmgGp4=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rrthomas/lrexlib";
|
|
maintainers = with lib.maintainers; [ junestepp ];
|
|
license.fullName = "MIT/X11";
|
|
description = "Regular expression library binding (oniguruma flavour).";
|
|
longDescription = ''
|
|
Lrexlib is a regular expression library for Lua 5.1-5.4, which
|
|
provides bindings for several regular expression libraries.
|
|
This rock provides the oniguruma bindings.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lrexlib-pcre = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lrexlib-pcre";
|
|
version = "2.9.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lrexlib-pcre-2.9.3-1.rockspec";
|
|
sha256 = "1pwwzc12a6dl5i4i8gl5i0r8aabqfpmdfrlj0fkvj5v56v9bkw09";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "rrthomas";
|
|
repo = "lrexlib";
|
|
tag = "rel-2-9-3";
|
|
hash = "sha256-7lybrMvNk2YhXish01PQlMpRVW+qlFj03RO33zmgGp4=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rrthomas/lrexlib";
|
|
license.fullName = "MIT/X11";
|
|
description = "Regular expression library binding (PCRE flavour).";
|
|
longDescription = ''
|
|
Lrexlib is a regular expression library for Lua 5.1-5.4, which
|
|
provides bindings for several regular expression libraries.
|
|
This rock provides the PCRE bindings.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lrexlib-pcre2 = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lrexlib-pcre2";
|
|
version = "2.9.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lrexlib-pcre2-2.9.3-1.rockspec";
|
|
sha256 = "17y1zhjb5h1bdd4rdaycrnp3xwzm06y1179ga0wpcwvg0ybwmvfn";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "rrthomas";
|
|
repo = "lrexlib";
|
|
tag = "rel-2-9-3";
|
|
hash = "sha256-7lybrMvNk2YhXish01PQlMpRVW+qlFj03RO33zmgGp4=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rrthomas/lrexlib";
|
|
maintainers = with lib.maintainers; [ wishstudio ];
|
|
license.fullName = "MIT/X11";
|
|
description = "Regular expression library binding (PCRE2 flavour).";
|
|
longDescription = ''
|
|
Lrexlib is a regular expression library for Lua 5.1-5.4, which
|
|
provides bindings for several regular expression libraries.
|
|
This rock provides the PCRE2 bindings.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lrexlib-posix = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lrexlib-posix";
|
|
version = "2.9.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lrexlib-posix-2.9.3-1.rockspec";
|
|
sha256 = "0s8w35x3jvhjn4znram93dj4kck95sv4zrlqcs6mqa4q70d5rl27";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "rrthomas";
|
|
repo = "lrexlib";
|
|
tag = "rel-2-9-3";
|
|
hash = "sha256-7lybrMvNk2YhXish01PQlMpRVW+qlFj03RO33zmgGp4=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rrthomas/lrexlib";
|
|
license.fullName = "MIT/X11";
|
|
description = "Regular expression library binding (POSIX flavour).";
|
|
longDescription = ''
|
|
Lrexlib is a regular expression library for Lua 5.1-5.4, which
|
|
provides bindings for several regular expression libraries.
|
|
This rock provides the POSIX bindings.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lsp-progress-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lsp-progress.nvim";
|
|
version = "2.0.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lsp-progress.nvim-2.0.0-1.rockspec";
|
|
sha256 = "0ik0nambf3q76icmlcap3py30g84g1lpyysdd0f250g3gsyb993z";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/linrongbin16/lsp-progress.nvim/archive/f6d5af10563b895ff846346f57cbd4451439f4c1.zip";
|
|
sha256 = "0jrxlk1q6r687dnq958r7s5x4djl6qcm139s8za998m8sgda397a";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://linrongbin16.github.io/lsp-progress.nvim/";
|
|
maintainers = with lib.maintainers; [ gepbird ];
|
|
license = lib.licenses.mit;
|
|
description = "A performant lsp progress status for Neovim.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lsqlite3 = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lsqlite3";
|
|
version = "0.9.6-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lsqlite3-0.9.6-1.rockspec";
|
|
sha256 = "1wb51lsfllmbzrjfl0dzxpg597nd54nn06c9plpvqwwjz4l9lrjf";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://lua.sqlite.org/home/zip/lsqlite3_v096.zip?uuid=v0.9.6";
|
|
sha256 = "0p24g17y6s0x1951y9pyndggp71drh4zrzb2a05nb9sk5s3z9dnm";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "http://lua.sqlite.org/";
|
|
license = lib.licenses.mit;
|
|
description = "A binding for Lua to the SQLite3 database library";
|
|
longDescription = ''
|
|
lsqlite3 is a thin wrapper around the public domain SQLite3 database engine. SQLite3 is
|
|
dynamically linked to lsqlite3. The statically linked alternative is lsqlite3complete.
|
|
The lsqlite3 module supports the creation and manipulation of SQLite3 databases.
|
|
Most sqlite3 functions are called via an object-oriented interface to either
|
|
database or SQL statement objects.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
ltreesitter = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "ltreesitter";
|
|
version = "0.3.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/ltreesitter-0.3.0-1.rockspec";
|
|
sha256 = "1vb8jbdl36syqmd4sjqswsqy42rq59kchxk4sx0ns9va4c0kim4v";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "euclidianAce";
|
|
repo = "ltreesitter";
|
|
tag = "v0.3.0";
|
|
hash = "sha256-tiNcc/1hnY8GWgpdlBfOTA7400916tqiAXeXJLfgtNE=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/euclidianAce/ltreesitter";
|
|
license = lib.licenses.mit;
|
|
description = "Treesitter bindings to Lua";
|
|
longDescription = "Standalone Lua bindings to the Treesitter api (with full type definitions for Teal).";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
ltreesitter-ts = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "ltreesitter-ts";
|
|
version = "0.0.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/ltreesitter-ts-0.0.1-1.rockspec";
|
|
sha256 = "064nn3h6wi8z5ply35ig78jjkpy527nc5qxisbkvv8s3s345h82r";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "FourierTransformer";
|
|
repo = "ltreesitter-ts";
|
|
tag = "0.0.1";
|
|
hash = "sha256-HFBOYFadw+lwQYk39vrFtAn/HGjfXzCxjN1RLBp4yKA=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/FourierTransformer/ltreesitter-ts";
|
|
license = lib.licenses.mit;
|
|
description = "Treesitter parsing library bindings for Lua";
|
|
longDescription = "This combines [ltreesitter](https://github.com/EuclidianAce/ltreesitter) and the [tree-sitter](https://github.com/tree-sitter/tree-sitter) library together to have an easy LuaRocks based install for tree sitter parsing. There are no other enhancements to either library. It can be imported as just `ltreesitter`.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-cjson = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-cjson";
|
|
version = "2.1.0.10-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-cjson-2.1.0.10-1.rockspec";
|
|
sha256 = "05sp7rq72x4kdkyid1ch0yyscwsi5wk85d2hj6xwssz3h8n8drdg";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "openresty";
|
|
repo = "lua-cjson";
|
|
tag = "2.1.0.10";
|
|
hash = "sha256-/SeQro0FaJn91bAGjsVIin+mJF89VUm/G0KyJkV9Qps=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php";
|
|
license = lib.licenses.mit;
|
|
description = "A fast JSON encoding/parsing module";
|
|
longDescription = ''
|
|
The Lua CJSON module provides JSON support for Lua. It features:
|
|
- Fast, standards compliant encoding/parsing routines
|
|
- Full support for JSON with UTF-8, including decoding surrogate pairs
|
|
- Optional run-time support for common exceptions to the JSON specification
|
|
(infinity, NaN,..)
|
|
- No dependencies on other libraries
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-cmsgpack = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-cmsgpack";
|
|
version = "0.4.0-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-cmsgpack-0.4.0-0.rockspec";
|
|
sha256 = "10cvr6knx3qvjcw1q9v05f2qy607mai7lbq321nx682aa0n1fzin";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "antirez";
|
|
repo = "lua-cmsgpack";
|
|
tag = "0.4.0";
|
|
hash = "sha256-oGKX5G3uNGCJOaZpjLmIJYuq5HtdLd9xM/TlmxODCkg=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/antirez/lua-cmsgpack";
|
|
license = lib.licenses.bsd2;
|
|
description = "MessagePack C implementation and bindings for Lua 5.1/5.2/5.3";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-curl = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-curl";
|
|
version = "0.3.13-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-curl-0.3.13-1.rockspec";
|
|
sha256 = "0lz534sm35hxazf1w71hagiyfplhsvzr94i6qyv5chjfabrgbhjn";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.13.zip";
|
|
sha256 = "0gn59bwrnb2mvl8i0ycr6m3jmlgx86xlr9mwnc85zfhj7zhi5anp";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/Lua-cURL";
|
|
license.fullName = "MIT/X11";
|
|
description = "Lua binding to libcurl";
|
|
longDescription = "";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-ffi-zlib = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-ffi-zlib";
|
|
version = "0.6-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-ffi-zlib-0.6-0.rockspec";
|
|
sha256 = "060sac715f1ris13fjv6gwqm0lk6by0a2zhldxd8hdrc0jss8p34";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "hamishforbes";
|
|
repo = "lua-ffi-zlib";
|
|
tag = "v0.6";
|
|
hash = "sha256-l3zN6amZ6uUbOl7vt5XF+Uyz0nbDrYgcaQCWRFSN22Q=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/hamishforbes/lua-ffi-zlib";
|
|
description = "A Lua module using LuaJIT's FFI feature to access zlib.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-iconv = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-iconv";
|
|
version = "7.0.0-4";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-iconv-7.0.0-4.rockspec";
|
|
sha256 = "0j34zf98wdr6ks6snsrqi00vwm3ngsa5f74kadsn178iw7hd8c3q";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/lunarmodules/lua-iconv/archive/v7.0.0/lua-iconv-7.0.0.tar.gz";
|
|
sha256 = "0arp0h342hpp4kfdxc69yxspziky4v7c13jbf12yrs8f1lnjzr0x";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lunarmodules/lua-iconv/";
|
|
license.fullName = "MIT/X11";
|
|
description = "Lua binding to the iconv";
|
|
longDescription = ''
|
|
Lua binding to the POSIX 'iconv' library, which converts a sequence of
|
|
characters from one codeset into a sequence of corresponding characters
|
|
in another codeset.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-lsp = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
dkjson,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
inspect,
|
|
lpeglabel,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-lsp";
|
|
version = "0.1.0-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-lsp-0.1.0-2.rockspec";
|
|
sha256 = "19jsz00qlgbyims6cg8i40la7v8kr7zsxrrr3dg0kdg0i36xqs6c";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "Alloyed";
|
|
repo = "lua-lsp";
|
|
tag = "v0.1.0";
|
|
hash = "sha256-Fy9d6ZS0R48dUpKpgJ9jRujQna5wsE3+StJ8GQyWY54=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.4";
|
|
propagatedBuildInputs = [
|
|
dkjson
|
|
inspect
|
|
lpeglabel
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/Alloyed/lua-lsp";
|
|
license = lib.licenses.mit;
|
|
description = "A Language Server implementation for lua, the language";
|
|
longDescription = ''
|
|
A Language Server for Lua code, written in Lua.
|
|
It's still a work in progress, but it's usable for day-to-day. It currently
|
|
supports:
|
|
|
|
* Limited autocompletion
|
|
* Goto definition
|
|
* As you type linting and syntax checking
|
|
* Code formatting
|
|
* Supports Lua 5.1-5.3 and Luajit
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-messagepack = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-messagepack";
|
|
version = "0.5.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-messagepack-0.5.4-1.rockspec";
|
|
sha256 = "1jygn6f8ab69z0nn1gib45wvjp075gzxp54vdmgxb3qfar0q70kr";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://framagit.org/fperrad/lua-MessagePack/raw/releases/lua-messagepack-0.5.4.tar.gz";
|
|
sha256 = "0kk1n9kf6wip8k2xx4wjlv7647biji2p86v4jf0h6d6wkaypq0kz";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://fperrad.frama.io/lua-MessagePack/";
|
|
license.fullName = "MIT/X11";
|
|
description = "a pure Lua implementation of the MessagePack serialization format";
|
|
longDescription = ''
|
|
MessagePack is an efficient binary serialization format.
|
|
|
|
It lets you exchange data among multiple languages like JSON but it's faster and smaller.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-protobuf = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-protobuf";
|
|
version = "0.5.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-protobuf-0.5.3-1.rockspec";
|
|
sha256 = "0jz3yxdf9n1zfnkywqjghn6nlfvkkv9li003kkzh7z0wzidqaljh";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "starwing";
|
|
repo = "lua-protobuf";
|
|
tag = "0.5.3";
|
|
hash = "sha256-9vAv/Rhf9xrQnbd0nkaxGrcTRKkUSlpYRAJe2zpdIiY=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/starwing/lua-protobuf";
|
|
maintainers = with lib.maintainers; [ lockejan ];
|
|
license = lib.licenses.mit;
|
|
description = "protobuf data support for Lua";
|
|
longDescription = ''
|
|
This project offers a simple C library for basic protobuf wire format encode/decode.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-resty-http = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-resty-http";
|
|
version = "0.17.2-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-resty-http-0.17.2-0.rockspec";
|
|
sha256 = "10swbq779d1q794d17269v0ln26hblsk7kvxj9s60rx71skzql6s";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "ledgetech";
|
|
repo = "lua-resty-http";
|
|
tag = "v0.17.2";
|
|
hash = "sha256-Ph3PpzQYKYMvPvjYwx4TeZ9RYoryMsO6mLpkAq/qlHY=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ledgetech/lua-resty-http";
|
|
license = lib.licenses.bsd2;
|
|
description = "Lua HTTP client cosocket driver for OpenResty / ngx_lua.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-resty-jwt = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lua-resty-openssl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-resty-jwt";
|
|
version = "0.3.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-resty-jwt-0.3.2-1.rockspec";
|
|
sha256 = "0r870630jzpdr41gyc1myn6zn1qpid4whx2abn0v8qaqyg0j825y";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "cdbattags";
|
|
repo = "lua-resty-jwt";
|
|
rev = "3973e402d835631de292c6e4cca52e728f02c24a";
|
|
hash = "sha256-KJvHwN8R2t8aJS/wMdVDJh5Mld1fF3FhYAOPk2njTu8=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ lua-resty-openssl ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/cdbattags/lua-resty-jwt";
|
|
license = lib.licenses.asl20;
|
|
description = "JWT for ngx_lua and LuaJIT.";
|
|
longDescription = ''
|
|
This library requires an nginx build
|
|
with OpenSSL, the ngx_lua module,
|
|
the LuaJIT 2.0, the lua-resty-hmac,
|
|
and the lua-resty-string,
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-resty-openidc = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lua-resty-http,
|
|
lua-resty-jwt,
|
|
lua-resty-session,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-resty-openidc";
|
|
version = "1.8.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-resty-openidc-1.8.0-1.rockspec";
|
|
sha256 = "0jgajhn45nybhi7z15bg957kznzqcjzxc8nrzmgyignkwp4yi1qk";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "zmartzone";
|
|
repo = "lua-resty-openidc";
|
|
tag = "v1.8.0";
|
|
hash = "sha256-LSkNWebMF1L1a66QszugAxcHsW5o9uxQZHWituFFgJs=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
lua-resty-http
|
|
lua-resty-jwt
|
|
lua-resty-session
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/zmartzone/lua-resty-openidc";
|
|
license = lib.licenses.asl20;
|
|
description = "A library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality";
|
|
longDescription = ''
|
|
lua-resty-openidc is a library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality.
|
|
|
|
When used as an OpenID Connect Relying Party it authenticates users against an OpenID Connect Provider using OpenID Connect Discovery and the Basic Client Profile (i.e. the Authorization Code flow). When used as an OAuth 2.0 Resource Server it can validate OAuth 2.0 Bearer Access Tokens against an Authorization Server or, in case a JSON Web Token is used for an Access Token, verification can happen against a pre-configured secret/key .
|
|
|
|
It maintains sessions for authenticated users by leveraging lua-resty-session thus offering a configurable choice between storing the session state in a client-side browser cookie or use in of the server-side storage mechanisms shared-memory|memcache|redis.
|
|
|
|
It supports server-wide caching of resolved Discovery documents and validated Access Tokens.
|
|
|
|
It can be used as a reverse proxy terminating OAuth/OpenID Connect in front of an origin server so that the origin server/services can be protected with the relevant standards without implementing those on the server itself.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-resty-openssl = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-resty-openssl";
|
|
version = "1.7.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-resty-openssl-1.7.1-1.rockspec";
|
|
sha256 = "1gvgz0p9j90grqjx501r1h6d3z866j550b3jlfjrcr1qb1xy5b6l";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "fffonion";
|
|
repo = "lua-resty-openssl";
|
|
tag = "1.7.1";
|
|
hash = "sha256-Zj4neqIptfg8Qckj6BOoHpnVlxCNmJuIgg1kcuqt6pw=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/fffonion/lua-resty-openssl";
|
|
license.fullName = "BSD";
|
|
description = "No summary";
|
|
longDescription = "FFI-based OpenSSL binding for LuaJIT.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-resty-session = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lua-ffi-zlib,
|
|
lua-resty-openssl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-resty-session";
|
|
version = "4.1.5-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-resty-session-4.1.5-1.rockspec";
|
|
sha256 = "1mapndwa260pk18v4nwnmz4bncqizfn1zc8k8aj1557pc1fj5ii6";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "bungle";
|
|
repo = "lua-resty-session";
|
|
tag = "v4.1.5";
|
|
hash = "sha256-qwXNEWU0i3PUJK5cUChkcH43HnBCz4EEVPDQQ10Je+Q=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
lua-ffi-zlib
|
|
lua-resty-openssl
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/bungle/lua-resty-session";
|
|
license.fullName = "BSD";
|
|
description = "Session Library for OpenResty - Flexible and Secure";
|
|
longDescription = "lua-resty-session is a secure, and flexible session library for OpenResty.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-rtoml = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
luaOlder,
|
|
luarocks-build-rust-mlua,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-rtoml";
|
|
version = "0.3-0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lblasc";
|
|
repo = "lua-rtoml";
|
|
rev = "aedc4030912e1c86a1490428dc547f35a1a99be6";
|
|
hash = "sha256-Ge2Acy1XuAQENhoJpuRudazY2D8HSiVv1Ab+jqMjo0U=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
nativeBuildInputs = [ luarocks-build-rust-mlua ];
|
|
propagatedBuildInputs = [ luarocks-build-rust-mlua ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lblasc/lua-rtoml";
|
|
maintainers = with lib.maintainers; [ lblasc ];
|
|
license = lib.licenses.mit;
|
|
description = "Lua bindings for the Rust toml crate.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-subprocess = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "subprocess";
|
|
version = "scm-1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "0x0ade";
|
|
repo = "lua-subprocess";
|
|
rev = "bfa8e97da774141f301cfd1106dca53a30a4de54";
|
|
hash = "sha256-4LiYWB3PAQ/s33Yj/gwC+Ef1vGe5FedWexeCBVSDIV0=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/xlq/lua-subprocess";
|
|
maintainers = with lib.maintainers; [ scoder12 ];
|
|
license = lib.licenses.mit;
|
|
description = "A Lua module written in C that allows you to create child processes and communicate with them.";
|
|
longDescription = "A Lua module written in C that allows you to create child processes and communicate with them. The API is based on the Python subprocess module, but is not yet as complete.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-term = callPackage (
|
|
{ buildLuarocksPackage, fetchurl }:
|
|
buildLuarocksPackage {
|
|
pname = "lua-term";
|
|
version = "0.8-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-term-0.8-1.rockspec";
|
|
sha256 = "1728lj3x8shc5m1yczrl75szq15rnfpzk36n0m49181ly9wxn7s0";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/hoelzro/lua-term/archive/0.08.tar.gz";
|
|
sha256 = "1vfdg5dzqdi3gn6wpc9a3djhsl6fn2ikqdwr8rrqrnd91qwlzycg";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/hoelzro/lua-term";
|
|
license.fullName = "MIT/X11";
|
|
description = "Terminal functions for Lua";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-toml = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-toml";
|
|
version = "2.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-toml-2.0-1.rockspec";
|
|
sha256 = "0zd3hrj1ifq89rjby3yn9y96vk20ablljvqdap981navzlbb7zvq";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "jonstoler";
|
|
repo = "lua-toml";
|
|
tag = "v2.0.1";
|
|
hash = "sha256-6wCo06Ulmx6HVN2bTrklPqgGiEhDZ1fUfusdS/SDdFI=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/jonstoler/lua-toml";
|
|
license = lib.licenses.mit;
|
|
description = "toml decoder/encoder for Lua";
|
|
longDescription = "TOML 0.4.0 compliant Lua library with tests. Serializes TOML into a Lua table, and serlaizes Lua tables into TOML.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-utils-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-utils.nvim";
|
|
version = "1.0.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-utils.nvim-1.0.2-1.rockspec";
|
|
sha256 = "0s11j4vd26haz72rb0c5m5h953292rh8r62mvlxbss6i69v2dkr9";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-neorg/lua-utils.nvim/archive/v1.0.2.zip";
|
|
sha256 = "0bnl2kvxs55l8cjhfpa834bm010n8r4gmsmivjcp548c076msagn";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-neorg/lua-utils.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "A set of utility functions for Neovim plugins.";
|
|
longDescription = ''
|
|
This repository contains a small set of nicities for performing repetitive tasks within Neovim.
|
|
This set may shrink further as the features are included in other, larger "utility kits".
|
|
The code you see in this repository is primarily used within Neorg.
|
|
All functions are annotated using LuaCATS.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-yajl = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-yajl";
|
|
version = "2.1-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-yajl-2.1-0.rockspec";
|
|
sha256 = "02jlgd4583p3q4w6hjgmdfkasxhamaj58byyrbmnch0qii61in9r";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "brimworks";
|
|
repo = "lua-yajl";
|
|
tag = "v2.1";
|
|
hash = "sha256-zHBNedJkGEm47HpbeJvcm6JNUUfA1OunLHPJulR8rF8=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/brimworks/lua-yajl";
|
|
maintainers = with lib.maintainers; [ pstn ];
|
|
license.fullName = "MIT/X11";
|
|
description = "Integrate the yajl JSON library with Lua.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua-zlib = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua-zlib";
|
|
version = "1.4-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua-zlib-1.4-0.rockspec";
|
|
sha256 = "1cfxph2cski4nn7vnqcpywm89lcf8vwnvykdva53ck3b3dmsj204";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "brimworks";
|
|
repo = "lua-zlib";
|
|
tag = "v1.4";
|
|
hash = "sha256-z25OtHroEVUFraeFwajbmIiyD3hlZ12FnWs5uUBLm2Y=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/brimworks/lua-zlib";
|
|
maintainers = with lib.maintainers; [ koral ];
|
|
license = lib.licenses.mit;
|
|
description = "Simple streaming interface to zlib for Lua.";
|
|
longDescription = ''
|
|
Simple streaming interface to zlib for Lua.
|
|
Consists of two functions: inflate and deflate.
|
|
Both functions return "stream functions" (takes a buffer of input and returns a buffer of output).
|
|
This project is hosted on github.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lua_cliargs = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lua_cliargs";
|
|
version = "3.0.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lua_cliargs-3.0.2-1.rockspec";
|
|
sha256 = "1gp3n9ipaqdk59ilqx1ci5faxmx4dh9sgg3279jb8yfa7wg5b8pf";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "lua_cliargs";
|
|
tag = "v3.0.2";
|
|
hash = "sha256-wL3qBQ8Lu3q8DK2Kaeo1dgzIHd8evaxFYJg47CcQiSg=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lunarmodules/lua_cliargs.git";
|
|
license = lib.licenses.mit;
|
|
description = "A command-line argument parsing module for Lua";
|
|
longDescription = ''
|
|
This module adds support for accepting CLI arguments easily using multiple
|
|
notations and argument types.
|
|
|
|
cliargs allows you to define required, optional, and flag arguments.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luabitop = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luabitop";
|
|
version = "1.0.2-3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "teto";
|
|
repo = "luabitop";
|
|
rev = "96f0a3d73ae5183d0a81bc2f29326eaa06becbfd";
|
|
hash = "sha256-PrM8ncb3TaqgVhFdRa+rUsJ5WuIzS4/DRqVqj8tCaeg=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.3";
|
|
|
|
meta = {
|
|
homepage = "http://bitop.luajit.org/";
|
|
license.fullName = "MIT/X license";
|
|
description = "Lua Bit Operations Module";
|
|
longDescription = ''
|
|
Lua BitOp is a C extension module for Lua 5.1 which adds bitwise operations on numbers.
|
|
Lua BitOp is Copyright © 2008 Mike Pall. Lua BitOp is free software, released under the MIT/X license (same license as the Lua core).
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luacheck = callPackage (
|
|
{
|
|
argparse,
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
luafilesystem,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luacheck";
|
|
version = "1.2.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luacheck-1.2.0-1.rockspec";
|
|
sha256 = "0jnmrppq5hp8cwiw1daa33cdn8y2n5lsjk8vzn7ixb20ddz01m6c";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "luacheck";
|
|
tag = "v1.2.0";
|
|
hash = "sha256-6aDXZRLq2c36dbasyVzcecQKoMvY81RIGYasdF211UY=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
argparse
|
|
luafilesystem
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lunarmodules/luacheck";
|
|
license = lib.licenses.mit;
|
|
description = "A static analyzer and a linter for Lua";
|
|
longDescription = ''
|
|
Luacheck is a command-line tool for linting and static analysis of Lua
|
|
code. It is able to spot usage of undefined global variables, unused
|
|
local variables and a few other typical problems within Lua programs.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luacov = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
datafile,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luacov";
|
|
version = "0.17.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luacov-0.17.0-1.rockspec";
|
|
sha256 = "042jp0nfy3hcnbywlfp4jkrm9xpxrkggs57q616p4win9ibxcqjy";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "luacov";
|
|
tag = "v0.17.0";
|
|
hash = "sha256-UI+6+0g3ldbKUsXCAgYll8v25gwEUn5A102Pn/H0c60=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ datafile ];
|
|
|
|
meta = {
|
|
homepage = "https://lunarmodules.github.ioluacov/";
|
|
license = lib.licenses.mit;
|
|
description = "Coverage analysis tool for Lua scripts";
|
|
longDescription = ''
|
|
LuaCov is a simple coverage analysis tool for Lua scripts.
|
|
When a Lua script is run with the luacov module, it
|
|
generates a stats file. The luacov command-line script then
|
|
processes this file generating a report indicating which code
|
|
paths were not traversed, which is useful for verifying the
|
|
effectiveness of a test suite.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luacov-reporter-lcov = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
luacov,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luacov-reporter-lcov";
|
|
version = "0.2-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luacov-reporter-lcov-0.2-0.rockspec";
|
|
sha256 = "16w0vsv9q69zr0rw61x0p3cly755nzi83c83jk579qhxk16ja6c2";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/daurnimator/luacov-reporter-lcov/archive/v0.2.zip";
|
|
sha256 = "0bw0wyq9zqpcjbqpnlkpxs5g1i015n2rsh0iic4vapmcy7sxlx7w";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ luacov ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/daurnimator/luacov-reporter-lcov";
|
|
maintainers = with lib.maintainers; [ ulysseszhan ];
|
|
license = lib.licenses.mit;
|
|
description = "A luacov reporter for use with lcov";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luadbi = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luadbi";
|
|
version = "0.7.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luadbi-0.7.4-1.rockspec";
|
|
sha256 = "12nqbl2zmwyz7k0x1y5h235di3jb0xwf27p1rh8lcgg4cqx6izr7";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "mwild1";
|
|
repo = "luadbi";
|
|
tag = "v0.7.4";
|
|
hash = "sha256-N4I8zVTodS01QUIncwAts/vxh2aFY2nYCnVmpN+2HwM=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mwild1/luadbi";
|
|
license.fullName = "MIT/X11";
|
|
description = "Database abstraction layer";
|
|
longDescription = ''
|
|
LuaDBI is a database interface library for Lua. It is designed
|
|
to provide a RDBMS agnostic API for handling database
|
|
operations. LuaDBI also provides support for prepared statement
|
|
handles, placeholders and bind parameters for all database
|
|
operations.
|
|
|
|
This rock is the front end DBI module. You will need one or
|
|
more backend DBD drivers to use this software.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luadbi-mysql = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
luadbi,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luadbi-mysql";
|
|
version = "0.7.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luadbi-mysql-0.7.4-1.rockspec";
|
|
sha256 = "0ngpml0mw272pp03kabl1q3jj4fd5hmdlgvw9a2hgl0051358i6c";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "mwild1";
|
|
repo = "luadbi";
|
|
tag = "v0.7.4";
|
|
hash = "sha256-N4I8zVTodS01QUIncwAts/vxh2aFY2nYCnVmpN+2HwM=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
propagatedBuildInputs = [ luadbi ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mwild1/luadbi";
|
|
license.fullName = "MIT/X11";
|
|
description = "Database abstraction layer";
|
|
longDescription = ''
|
|
LuaDBI is a database interface library for Lua. It is designed
|
|
to provide a RDBMS agnostic API for handling database
|
|
operations. LuaDBI also provides support for prepared statement
|
|
handles, placeholders and bind parameters for all database
|
|
operations.
|
|
|
|
This rock is the MySQL DBD module. You will also need the
|
|
base DBI module to use this software.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luadbi-postgresql = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
luadbi,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luadbi-postgresql";
|
|
version = "0.7.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luadbi-postgresql-0.7.4-1.rockspec";
|
|
sha256 = "0wybfngdz8hw4sgmz8rmym1frz6fwrvpx1l5gh0j68m7q4l25crg";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "mwild1";
|
|
repo = "luadbi";
|
|
tag = "v0.7.4";
|
|
hash = "sha256-N4I8zVTodS01QUIncwAts/vxh2aFY2nYCnVmpN+2HwM=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
propagatedBuildInputs = [ luadbi ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mwild1/luadbi";
|
|
license.fullName = "MIT/X11";
|
|
description = "Database abstraction layer";
|
|
longDescription = ''
|
|
LuaDBI is a database interface library for Lua. It is designed
|
|
to provide a RDBMS agnostic API for handling database
|
|
operations. LuaDBI also provides support for prepared statement
|
|
handles, placeholders and bind parameters for all database
|
|
operations.
|
|
|
|
This rock is the PostgreSQL DBD module. You will also need the
|
|
base DBI module to use this software.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luadbi-sqlite3 = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
luadbi,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luadbi-sqlite3";
|
|
version = "0.7.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luadbi-sqlite3-0.7.4-1.rockspec";
|
|
sha256 = "05kjihy5a8hyhn286gi2q1qyyiy8ajnyqp90wv41zjvhxjhg8ymx";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "mwild1";
|
|
repo = "luadbi";
|
|
tag = "v0.7.4";
|
|
hash = "sha256-N4I8zVTodS01QUIncwAts/vxh2aFY2nYCnVmpN+2HwM=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
propagatedBuildInputs = [ luadbi ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mwild1/luadbi";
|
|
license.fullName = "MIT/X11";
|
|
description = "Database abstraction layer";
|
|
longDescription = ''
|
|
LuaDBI is a database interface library for Lua. It is designed
|
|
to provide a RDBMS agnostic API for handling database
|
|
operations. LuaDBI also provides support for prepared statement
|
|
handles, placeholders and bind parameters for all database
|
|
operations.
|
|
|
|
This rock is the Sqlite3 DBD module. You will also need the
|
|
base DBI module to use this software.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luaepnf = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lpeg,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luaepnf";
|
|
version = "0.3-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luaepnf-0.3-2.rockspec";
|
|
sha256 = "0kqmnj11wmfpc9mz04zzq8ab4mnbkrhcgc525wrq6pgl3p5li8aa";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "siffiejoe";
|
|
repo = "lua-luaepnf";
|
|
tag = "v0.3";
|
|
hash = "sha256-iZksr6Ljy94D0VO4xSRO9s/VgcURvCfDMX9DOt2IetM=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
propagatedBuildInputs = [ lpeg ];
|
|
|
|
meta = {
|
|
homepage = "http://siffiejoe.github.io/lua-luaepnf/";
|
|
license = lib.licenses.mit;
|
|
description = "Extended PEG Notation Format (easy grammars for LPeg)";
|
|
longDescription = ''
|
|
This Lua module provides sugar for writing grammars/parsers using
|
|
the LPeg library. It simplifies error reporting and AST building.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luaevent = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luaevent";
|
|
version = "0.4.6-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luaevent-0.4.6-1.rockspec";
|
|
sha256 = "03zixadhx4a7nh67n0sm6sy97c8i9va1a78hibhrl7cfbqc2zc7f";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/harningt/luaevent/archive/v0.4.6.tar.gz";
|
|
sha256 = "0pbh315d3p7hxgzmbhphkcldxv2dadbka96131b8j5914nxvl4nx";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/harningt/luaevent";
|
|
license = lib.licenses.mit;
|
|
description = "libevent binding for Lua";
|
|
longDescription = ''
|
|
This is a binding of libevent to Lua
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luaexpat = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luaexpat";
|
|
version = "1.5.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luaexpat-1.5.2-1.rockspec";
|
|
sha256 = "0wdbph2c92zmvvyp3q669rbjy1xjm7jy1i13lin8b636vswykw6p";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "luaexpat";
|
|
tag = "1.5.2";
|
|
hash = "sha256-PudxKlN4WKUUK/h6ekVNSa/C453CnLh3TxCncXIOiw8=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://lunarmodules.github.io/luaexpat";
|
|
maintainers = with lib.maintainers; [
|
|
arobyn
|
|
flosse
|
|
];
|
|
license.fullName = "MIT/X11";
|
|
description = "XML Expat parsing";
|
|
longDescription = ''
|
|
LuaExpat is a SAX (Simple API for XML) XML parser based on the
|
|
Expat library.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luaffi = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luaffi";
|
|
version = "scm-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luaffi-scm-1.rockspec";
|
|
sha256 = "1nia0g4n1yv1sbv5np572y8yfai56a8bnscir807s5kj5bs0xhxm";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "facebook";
|
|
repo = "luaffifb";
|
|
rev = "a1cb731b08c91643b0665935eb5622b3d621211b";
|
|
hash = "sha256-wRjAtEEy8KSlIoi/IIutL73Vbm1r+zKs26dEP7gzR1o=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/facebook/luaffifb";
|
|
license.fullName = "BSD";
|
|
description = "FFI library for calling C functions from lua";
|
|
longDescription = "";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luafilesystem = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luafilesystem";
|
|
version = "1.9.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luafilesystem-1.9.0-1.rockspec";
|
|
sha256 = "1jg1w8c22hpv1jfcv6qyl3j354h1ar2qfarkiwx0c41sl90gpfrj";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "luafilesystem";
|
|
tag = "v1_9_0";
|
|
hash = "sha256-xoNJra/yqxRG11TePcUKrAUU6cwypGnXIoLKZXNaoW0=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lunarmodules/luafilesystem";
|
|
maintainers = with lib.maintainers; [ flosse ];
|
|
license.fullName = "MIT/X11";
|
|
description = "File System Library for the Lua Programming Language";
|
|
longDescription = ''
|
|
LuaFileSystem is a Lua library developed to complement the set of
|
|
functions related to file systems offered by the standard Lua
|
|
distribution. LuaFileSystem offers a portable way to access the
|
|
underlying directory structure and file attributes.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lualdap = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lualdap";
|
|
version = "1.4.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lualdap-1.4.0-1.rockspec";
|
|
sha256 = "0n924gxm6ccr9hjk4bi5z70vgh7g75dl7293pab41a2qcrlsj9nk";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lualdap";
|
|
repo = "lualdap";
|
|
tag = "v1.4.0";
|
|
hash = "sha256-u91T7RlRa87CbYXZLhrzcpVvZWsCnQObmbS86kfsAHc=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://lualdap.github.io/lualdap/";
|
|
maintainers = with lib.maintainers; [ aanderse ];
|
|
license = lib.licenses.mit;
|
|
description = "A Lua interface to the OpenLDAP library";
|
|
longDescription = ''
|
|
LuaLDAP is a simple interface from Lua to an LDAP client, in
|
|
fact it is a bind to OpenLDAP. It enables a Lua program to
|
|
connect to an LDAP server; execute any operation (search, add,
|
|
compare, delete, modify and rename); retrieve entries and
|
|
references of the search result.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lualine-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lualine.nvim";
|
|
version = "scm-4";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lualine.nvim-scm-4.rockspec";
|
|
sha256 = "03yxpng1jmkas8qndq2fygi4jh31y8asibj9c9nsjn5pzbyfxm1f";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "nvim-lualine";
|
|
repo = "lualine.nvim";
|
|
rev = "131a558e13f9f28b15cd235557150ccb23f89286";
|
|
hash = "sha256-5+JKZD4w80QZxnFv+1OxkFVety8fgmcGVOuxfYouxhI=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-lualine/lualine.nvim";
|
|
license = lib.licenses.mit;
|
|
description = "A blazing fast and easy to configure neovim statusline plugin written in pure lua.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lualogging = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luasocket,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lualogging";
|
|
version = "1.8.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lualogging-1.8.2-1.rockspec";
|
|
sha256 = "164c4xgwkv2ya8fbb22wm48ywc4gx939b574r6bgl8zqayffdqmx";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "lualogging";
|
|
tag = "v1.8.2";
|
|
hash = "sha256-RIblf2C9H6Iajzc9aqnvrK4xq8FAHq9InTO6m3aM5dc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ luasocket ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lunarmodules/lualogging";
|
|
license.fullName = "MIT/X11";
|
|
description = "A simple API to use logging features";
|
|
longDescription = ''
|
|
LuaLogging provides a simple API to use logging features in Lua. Its design was
|
|
based on log4j. LuaLogging currently supports, through the use of appenders,
|
|
console, file, rolling file, email, socket and SQL outputs.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luaossl = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luaossl";
|
|
version = "20250929-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luaossl-20250929-0.rockspec";
|
|
sha256 = "11m823vd8cwc3s5420lv042ny1d7hrimzx05ldy8f6rlh6m2d9xl";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/wahern/luaossl/archive/rel-20250929.zip";
|
|
sha256 = "115a5r0n7qc9lnjxld551ag6l9rq1wawcbrfjqhz2l6krb3pbv3d";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "http://25thandclement.com/~william/projects/luaossl.html";
|
|
license.fullName = "MIT/X11";
|
|
description = "Most comprehensive OpenSSL module in the Lua universe.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luaposix = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luaposix";
|
|
version = "36.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luaposix-36.3-1.rockspec";
|
|
sha256 = "0jwah6b1bxzck29zxbg479zm1sqmg7vafh7rrkfpibdbwnq01yzb";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "http://github.com/luaposix/luaposix/archive/v36.3.zip";
|
|
sha256 = "0k05mpscsqx1yd5vy126brzc35xk55nck0g7m91vrbvvq3bcg824";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/luaposix/luaposix/";
|
|
maintainers = with lib.maintainers; [ lblasc ];
|
|
license.fullName = "MIT/X11";
|
|
description = "Lua bindings for POSIX";
|
|
longDescription = ''
|
|
A library binding various POSIX APIs. POSIX is the IEEE Portable
|
|
Operating System Interface standard. luaposix is based on lposix.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luaprompt = callPackage (
|
|
{
|
|
argparse,
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luaprompt";
|
|
version = "0.9-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luaprompt-0.9-1.rockspec";
|
|
sha256 = "0bh4fpfrqbg9bappnrfr6blvl3lzc99plq7jac67mhph1bjki7rk";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "dpapavas";
|
|
repo = "luaprompt";
|
|
tag = "v0.9";
|
|
hash = "sha256-S6bzlIY1KlMK3wy01wGuRujGFgPxcNWmCaISQ87EBGs=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ argparse ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/dpapavas/luaprompt";
|
|
maintainers = with lib.maintainers; [ Freed-Wu ];
|
|
license.fullName = "MIT/X11";
|
|
description = "A Lua command prompt with pretty-printing and auto-completion";
|
|
longDescription = ''
|
|
luaprompt is both an interactive Lua prompt that can be used instead
|
|
of the official interpreter, as well as module that provides a Lua
|
|
command prompt that can be embedded in a host application. As a
|
|
standalone interpreter it provides many conveniences that are missing
|
|
from the official Lua interpreter. As an embedded prompt, it's meant
|
|
for applications that use Lua as a configuration or interface language
|
|
and can therefore benefit from an interactive prompt for debugging or
|
|
regular use.
|
|
|
|
luaprompt features:
|
|
|
|
* Readline-based input with history and completion: In particular all
|
|
keywords, global variables and table accesses (with string or
|
|
integer keys) can be completed in addition to readline's standard
|
|
file completion. Module names are also completed, for modules
|
|
installed in the standard directories, and completed modules can
|
|
optionally be loaded.
|
|
|
|
* Persistent command history (retained across sessions), as well as
|
|
recording of command results for future reference.
|
|
|
|
* Proper value pretty-printing for interactive use: When an expression
|
|
is entered at the prompt, all returned values are printed
|
|
(prepending with an equal sign is not required). Values are printed
|
|
in a descriptive way that tries to be as readable as possible. The
|
|
formatting tries to mimic Lua code (this is done to minimize
|
|
ambiguities and no guarantees are made that it is valid code).
|
|
Additionally, each value is stored in a table for future reference.
|
|
|
|
* Color highlighting of error messages and variable printouts.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luarepl = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luarepl";
|
|
version = "0.10-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luarepl-0.10-1.rockspec";
|
|
sha256 = "12zdljfs4wg55mj7a38iwg7p5i1pmc934v9qlpi61sw4brp6x8d3";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/hoelzro/lua-repl/archive/0.10.tar.gz";
|
|
sha256 = "0wv37h9w6y5pgr39m7yxbf8imkwvaila6rnwjcp0xsxl5c1rzfjm";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/hoelzro/lua-repl";
|
|
license.fullName = "MIT/X11";
|
|
description = "A reusable REPL component for Lua, written in Lua";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luarocks = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luarocks";
|
|
version = "3.13.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luarocks-3.13.0-1.rockspec";
|
|
sha256 = "1kphpdvqjr47safz3w4q8xy3pwvrpgvkq4vzypfb5wg36p75jx5l";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "luarocks";
|
|
repo = "luarocks";
|
|
tag = "v3.13.0";
|
|
hash = "sha256-ETVoDpeFSsW7ld2z31Vog3RKsMquoxd7c8m9y7Fb1wk=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "http://www.luarocks.org";
|
|
maintainers = with lib.maintainers; [
|
|
mrcjkb
|
|
teto
|
|
];
|
|
license = lib.licenses.mit;
|
|
description = "A package manager for Lua modules.";
|
|
longDescription = ''
|
|
LuaRocks allows you to install Lua modules as self-contained
|
|
packages called "rocks", which also contain version dependency
|
|
information. This information is used both during installation,
|
|
so that when one rock is requested all rocks it depends on are
|
|
installed as well, and at run time, so that when a module is
|
|
required, the correct version is loaded. LuaRocks supports both
|
|
local and remote repositories, and multiple local rocks trees.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luarocks-build-rust-mlua = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luarocks-build-rust-mlua";
|
|
version = "0.2.7-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luarocks-build-rust-mlua-0.2.7-1.rockspec";
|
|
sha256 = "0wh1n7rg0fdllxi1vyvbqkrcl3jcqnjr3fwhwx9hc52xba850bna";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "mlua-rs";
|
|
repo = "luarocks-build-rust-mlua";
|
|
tag = "0.2.7";
|
|
hash = "sha256-Zf/Ey5utsgzXqR8zlDse7KsyWA0RGx3hyvnJ36qhKG8=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mlua-rs/luarocks-build-rust-mlua";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "A LuaRocks build backend for Lua modules written in Rust using mlua";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luarocks-build-tree-sitter-cli = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luarocks-build-tree-sitter-cli";
|
|
version = "0.0.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luarocks-build-tree-sitter-cli-0.0.3-1.rockspec";
|
|
sha256 = "0yy04svrll85zn334mhhnzzdqymsbiqymnr6iaj23h436v3gcq38";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "FourierTransformer";
|
|
repo = "luarocks-build-tree-sitter-cli";
|
|
tag = "0.0.3";
|
|
hash = "sha256-Chc0eKvKyL9JM6MNX5GcRes1YA2+W842NDrX1nNMQ+E=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/FourierTransformer/luarocks-build-tree-sitter-cli";
|
|
license = lib.licenses.mit;
|
|
description = "A LuaRocks build backend to install the tree-sitter CLI";
|
|
longDescription = "luarocks-build-tree-sitter-cli is a LuaRocks build.type that allows installing tree-sitter CLI binaries via LuaRocks directly. It works similarly to the npm install option for tree-sitter, but uses LuaRocks instead.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luarocks-build-treesitter-parser = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
luafilesystem,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luarocks-build-treesitter-parser";
|
|
version = "6.0.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luarocks-build-treesitter-parser-6.0.2-1.rockspec";
|
|
sha256 = "0lwz15983gp29smykm3z6blhfd3ah3yi96j0g6di74nkz2kmfqk7";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/lumen-oss/luarocks-build-treesitter-parser/archive/v6.0.2.zip";
|
|
sha256 = "17877av310icqrv961ffhq852xx90wnpcxvqnylm476pndi1bf0f";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ luafilesystem ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lumen-oss/luarocks-build-treesitter-parser";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "A luarocks build backend for tree-sitter parsers.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luarocks-build-treesitter-parser-cpp = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
luafilesystem,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luarocks-build-treesitter-parser-cpp";
|
|
version = "2.0.6-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luarocks-build-treesitter-parser-cpp-2.0.6-1.rockspec";
|
|
sha256 = "10js4km023lc3876jr1j6gyzyni8v3dizzmc352sxhz9gz9kinia";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/lumen-oss/luarocks-build-treesitter-parser-cpp/archive/v2.0.6.zip";
|
|
sha256 = "1kr56cvxryxxkwvd69ywplw80hyaasyzmx842zzsncac3191vwpl";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ luafilesystem ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lumen-oss/luarocks-build-treesitter-parser-cpp";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "A luarocks build backend for tree-sitter parsers written in C++.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luasec = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
luasocket,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luasec";
|
|
version = "1.3.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luasec-1.3.2-1.rockspec";
|
|
sha256 = "09nqs60cmbq1bi70cdh7v5xjnlsm2mrxv9pmbbvczijvz184jh33";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "brunoos";
|
|
repo = "luasec";
|
|
tag = "v1.3.2";
|
|
hash = "sha256-o3uiZQnn/ID1qAgpZAqA4R3fWWk+Ajcgx++iNu1yLWc=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ luasocket ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/brunoos/luasec/wiki";
|
|
maintainers = with lib.maintainers; [ flosse ];
|
|
license = lib.licenses.mit;
|
|
description = "A binding for OpenSSL library to provide TLS/SSL communication over LuaSocket.";
|
|
longDescription = "This version delegates to LuaSocket the TCP connection establishment between the client and server. Then LuaSec uses this connection to start a secure TLS/SSL session.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luasnip = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
jsregexp,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luasnip";
|
|
version = "2.5.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luasnip-2.5.0-1.rockspec";
|
|
sha256 = "1qgd4536yglz0v21bpia3q2xbjcakxh4jhphhficm7nqb82xfsap";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/L3MON4D3/LuaSnip/archive/v2.5.0.zip";
|
|
sha256 = "16cirbi0zjg874858yqd36p3kbrmlpfii3bvx6lm9bpli7b4w9kn";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ jsregexp ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/L3MON4D3/LuaSnip";
|
|
license = lib.licenses.asl20;
|
|
description = "Snippet Engine for Neovim written in Lua.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luasocket = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luasocket";
|
|
version = "3.1.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luasocket-3.1.0-1.rockspec";
|
|
sha256 = "0wg9735cyz2gj7r9za8yi83w765g0f4pahnny7h0pdpx58pgfx4r";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "luasocket";
|
|
tag = "v3.1.0";
|
|
hash = "sha256-sKSzCrQpS+9reN9IZ4wkh4dB50wiIfA87xN4u1lyHo4=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lunarmodules/luasocket";
|
|
license = lib.licenses.mit;
|
|
description = "Network support for the Lua language";
|
|
longDescription = ''
|
|
LuaSocket is a Lua extension library composed of two parts: a set of C
|
|
modules that provide support for the TCP and UDP transport layers, and a
|
|
set of Lua modules that provide functions commonly needed by applications
|
|
that deal with the Internet.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luasql-sqlite3 = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luasql-sqlite3";
|
|
version = "2.8.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luasql-sqlite3-2.8.0-1.rockspec";
|
|
sha256 = "1zqcs211idnji4fzyh5g6yn4ca13z690fx0i84gmbibvi5w9rqnl";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "luasql";
|
|
tag = "2.8.0";
|
|
hash = "sha256-7FQa62eGe+bGkDF9+yte0JMcONPjoy5Zn5nohJG1KLA=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://lunarmodules.github.io/luasql/";
|
|
license.fullName = "MIT/X11";
|
|
description = "Database connectivity for Lua (SQLite3 driver)";
|
|
longDescription = ''
|
|
LuaSQL is a simple interface from Lua to a DBMS. It enables a
|
|
Lua program to connect to databases, execute arbitrary SQL statements
|
|
and retrieve results in a row-by-row cursor fashion.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luassert = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
say,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luassert";
|
|
version = "1.9.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luassert-1.9.0-1.rockspec";
|
|
sha256 = "1bkzr03190p33lprgy51nl84aq082fyc3f7s3wkk7zlay4byycxd";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "luassert";
|
|
tag = "v1.9.0";
|
|
hash = "sha256-jjdB95Vr5iVsh5T7E84WwZMW6/5H2k2R/ny2VBs2l3I=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ say ];
|
|
|
|
meta = {
|
|
homepage = "https://lunarmodules.github.io/busted/";
|
|
license = lib.licenses.mit;
|
|
description = "Lua assertions extension";
|
|
longDescription = ''
|
|
Adds a framework that allows registering new assertions
|
|
without compromising builtin assertion functionality.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luasystem = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luasystem";
|
|
version = "0.7.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luasystem-0.7.1-1.rockspec";
|
|
sha256 = "10hnakzkyjqh6plks2wz2844l7rw619vfc5b3idqw9pndpw6fylz";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "luasystem";
|
|
tag = "v0.7.1";
|
|
hash = "sha256-HxOtwWyAYOxTQXm0KyJVvSNTxWOJnn4pnX0FFu4HYh4=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lunarmodules/luasystem";
|
|
license = lib.licenses.mit;
|
|
description = "Platform independent system calls for Lua.";
|
|
longDescription = ''
|
|
Adds a Lua API for making platform independent system calls.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luatext = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luatext";
|
|
version = "1.2.1-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luatext-1.2.1-0.rockspec";
|
|
sha256 = "12ia4ibihd537mjmvdasnwgkinaygqwk03bsj3s0qrfhy6yz84ka";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "f4z3r";
|
|
repo = "luatext";
|
|
tag = "v1.2.1";
|
|
hash = "sha256-StxCmjSSy3ok0hNkKTQyq4yS1LfX980R5pULCUjLPek=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/f4z3r/luatext/tree/main";
|
|
license = lib.licenses.mit;
|
|
description = "A small library to print colored text";
|
|
longDescription = ''
|
|
A libary providing an abstaction over ANSI escape codes
|
|
that allow to print text to terminals in different colors
|
|
and with various modifiers.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luaunbound = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luaunbound";
|
|
version = "1.1.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luaunbound-1.1.0-1.rockspec";
|
|
sha256 = "0d0qybfl309yqnl8h35m6xynj4wnwmvm1cxl31jqrnahym30w5d8";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://code.zash.se/dl/luaunbound/luaunbound-1.1.0.tar.gz";
|
|
sha256 = "0i02m7ivbjgj3271yvpac5pvm01nrynsff1pgp6d8qfc3r35jq93";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.6";
|
|
|
|
meta = {
|
|
homepage = "https://www.zash.se/luaunbound.html";
|
|
license = lib.licenses.mit;
|
|
description = "A binding to libunbound";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luaunit = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luaunit";
|
|
version = "3.5-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luaunit-3.5-1.rockspec";
|
|
sha256 = "0rn0d9ng91rhrhvzq965przpxz5xx9vfyyakscfggf8xhg9g8s9p";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/bluebird75/luaunit/releases/download/LUAUNIT_V3_5/rock-luaunit-3.5.zip";
|
|
sha256 = "0qxk89c14s8gmzm7ka5caxn2qr3y4bxs1jqcni1hwfzkjh5jmyzk";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.6";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/bluebird75/luaunit";
|
|
maintainers = with lib.maintainers; [ lockejan ];
|
|
license.fullName = "BSD";
|
|
description = "A unit testing framework for Lua";
|
|
longDescription = ''
|
|
LuaUnit is a popular unit-testing framework for Lua, with an interface typical
|
|
of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports
|
|
several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms
|
|
(Jenkins, Hudson, ...).
|
|
|
|
For simplicity, LuaUnit is contained into a single-file and has no external dependency.
|
|
|
|
Tutorial and reference documentation is available on
|
|
[read-the-docs](http://luaunit.readthedocs.org/en/latest/)
|
|
|
|
LuaUnit may also be used as an assertion library, to validate assertions inside a running program. In addition, it provides
|
|
a pretty stringifier which converts any type into a nicely formatted string (including complex nested or recursive tables).
|
|
|
|
To install LuaUnit from LuaRocks, you need at least LuaRocks version 2.4.4 (due to old versions of wget being incompatible
|
|
with GitHub https downloading)
|
|
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luautf8 = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luautf8";
|
|
version = "0.2.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luautf8-0.2.1-1.rockspec";
|
|
sha256 = "0g4xkcikxd2n9scrlbjbdk9a1bbli6s5yw9l4n4b0ss49wgnmc2y";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/starwing/luautf8/archive/refs/tags/0.2.1.tar.gz";
|
|
sha256 = "15455lyvjh5f6fgx41458nk7gak6q76k3aqjfp1xibk0v5f0flpa";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/starwing/luautf8";
|
|
maintainers = with lib.maintainers; [ pstn ];
|
|
license = lib.licenses.mit;
|
|
description = "A UTF-8 support module for Lua";
|
|
longDescription = ''
|
|
This module adds UTF-8 support to Lua. It's compatible with Lua "string" module.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luazip = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luazip";
|
|
version = "1.2.7-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luazip-1.2.7-1.rockspec";
|
|
sha256 = "1wxy3p2ksaq4s8lg925mi9cvbh875gsapgkzm323dr8qaxxg7mba";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "mpeterv";
|
|
repo = "luazip";
|
|
tag = "1.2.7";
|
|
hash = "sha256-pAuXdvF2hM3ApvOg5nn9EHTGlajujHMtHEoN3Sj+mMo=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.4";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mpeterv/luazip";
|
|
license = lib.licenses.mit;
|
|
description = "Library for reading files inside zip files";
|
|
longDescription = ''
|
|
LuaZip is a lightweight Lua extension library used to read files
|
|
stored inside zip files. The API is very similar to the standard
|
|
Lua I/O library API.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lusc_luv = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
luv,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lusc_luv";
|
|
version = "4.0.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lusc_luv-4.0.1-1.rockspec";
|
|
sha256 = "1bgk481ljfy8q7r3w9z1x5ix0dm6v444c7mf9nahlpyrz9skxakp";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "svermeulen";
|
|
repo = "lusc_luv";
|
|
tag = "main";
|
|
hash = "sha256-xT3so0QHtzzLRNRb7yqfaRMwkl2bt1MP1xh8BkHKqqo=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ luv ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/svermeulen/lusc_luv";
|
|
license = lib.licenses.mit;
|
|
description = "Structured Async/Concurrency for Lua using Luv";
|
|
longDescription = "Structured Async/Concurrency for Lua using Luv";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lush-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lush.nvim";
|
|
version = "scm-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lush.nvim-scm-1.rockspec";
|
|
sha256 = "0ivir5p3mmv051pyya2hj1yrnflrv8bp38dx033i3kzfbpyg23ca";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "rktjmp";
|
|
repo = "lush.nvim";
|
|
rev = "9c60ec2279d62487d942ce095e49006af28eed6e";
|
|
hash = "sha256-ZDC2oirfDe/GqNx6+hivvNqdLutAxlBnSk51lf1yKqM=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.4";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rktjmp/lush.nvim";
|
|
maintainers = with lib.maintainers; [ teto ];
|
|
license.fullName = "MIT/X11";
|
|
description = "Define Neovim themes as a DSL in lua, with real-time feedback.";
|
|
longDescription = ''
|
|
Lush is a colorscheme creation aid, written in Lua, for Neovim.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
luuid = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "luuid";
|
|
version = "20120509-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/luuid-20120509-2.rockspec";
|
|
sha256 = "1q2fv25wfbiqn49mqv26gs4pyllch311akcf7jjn27l5ik8ji5b6";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.2/luuid.tar.gz";
|
|
sha256 = "1bfkj613d05yps3fivmz0j1bxf2zkg9g1yl0ifffgw0vy00hpnvm";
|
|
};
|
|
|
|
disabled = luaOlder "5.2" || luaAtLeast "5.4";
|
|
|
|
meta = {
|
|
homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid";
|
|
license.fullName = "Public domain";
|
|
description = "A library for UUID generation";
|
|
longDescription = ''
|
|
A library for generating universally unique identifiers based on
|
|
libuuid, which is part of e2fsprogs.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lyaml = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lyaml";
|
|
version = "6.2.8-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lyaml-6.2.8-1.rockspec";
|
|
sha256 = "0d0h70kjl5fkq589y1sx8qy8as002dhcf88pf60pghvch002ryi1";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "http://github.com/gvvaughan/lyaml/archive/v6.2.8.zip";
|
|
sha256 = "0r3jjsd8x2fs1aanki0s1mvpznl16f32c1qfgmicy0icgy5xfch0";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/gvvaughan/lyaml";
|
|
maintainers = with lib.maintainers; [ lblasc ];
|
|
license.fullName = "MIT/X11";
|
|
description = "libYAML binding for Lua";
|
|
longDescription = "Read and write YAML format files with Lua.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lz-n = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lz.n";
|
|
version = "2.11.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lz.n-2.11.3-1.rockspec";
|
|
sha256 = "0fg256gwa7444fh7wivasi77x7qgxx4r3hjqw90qa1kav10np88n";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-neorocks/lz.n/archive/v2.11.3.zip";
|
|
sha256 = "0vnr1iiq4z3q7s3qylfmvcclmspydg8ll4p75jilcx9d114v7wwc";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-neorocks/lz.n";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.gpl2Plus;
|
|
description = "🦥 A dead simple lazy-loading Lua library for Neovim plugins.";
|
|
longDescription = ''
|
|
It is intended to be used
|
|
- by users or plugin managers that don't provide a convenient API for lazy-loading.
|
|
- by plugin managers, to provide a convenient API for lazy-loading.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lze = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lze";
|
|
version = "0.13.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lze-0.13.0-1.rockspec";
|
|
sha256 = "03l1855f97xm7hwjqrwwy85zyfjk9rgpmbm9v2lx7npbi118xmgp";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/BirdeeHub/lze/archive/v0.13.0.zip";
|
|
sha256 = "012ay0kcbwz3wyh9nqhnb2rnadnz7bxkbi47zbzvfnshz6m7z3z6";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/BirdeeHub/lze";
|
|
maintainers = with lib.maintainers; [ birdee ];
|
|
license = lib.licenses.gpl2Plus;
|
|
description = "A lazy-loading library for neovim, inspired by, but different from, nvim-neorocks/lz.n";
|
|
longDescription = ''
|
|
It is intended to be used
|
|
- by users of plugin managers that don't provide a convenient API for lazy-loading.
|
|
- by plugin managers, to provide a convenient API for lazy-loading.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lzextras = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lzextras";
|
|
version = "0.7.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lzextras-0.7.3-1.rockspec";
|
|
sha256 = "03zz29rbbdrk518hflmmjb7sz7nczy11h3fs88v1cng08w4qfgd4";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/BirdeeHub/lzextras/archive/v0.7.3.zip";
|
|
sha256 = "0rkspxm6gdxvr7agk8yyfdp8qhj4s3c9k3qaqyy2p9c31gzhsql5";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/BirdeeHub/lzextras";
|
|
maintainers = with lib.maintainers; [ birdee ];
|
|
license = lib.licenses.gpl2Plus;
|
|
description = "A collection of utilities and handlers for BirdeeHub/lze";
|
|
longDescription = "A collection of extensions for BirdeeHub/lze";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
lzn-auto-require = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
lz-n,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "lzn-auto-require";
|
|
version = "0.2.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/lzn-auto-require-0.2.0-1.rockspec";
|
|
sha256 = "02w8pvyhnlbsz56rhgjql13qkh7fk05ai1qkqvk90a8ni8w48hh3";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/horriblename/lzn-auto-require/archive/v0.2.0.zip";
|
|
sha256 = "1mgka1mmvpd2gfya898qdbbwrp5rpqds8manjs1s7g5x63xp6b98";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ lz-n ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/horriblename/lzn-auto-require";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.gpl2Only;
|
|
description = "Auto load optional plugins via lua modules with lz.n";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
magick = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lua,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "magick";
|
|
version = "1.6.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/magick-1.6.0-1.rockspec";
|
|
sha256 = "1pg150xsxnqvlhxpiy17s9hm4dkc84v46mlwi9rhriynqz8qks9w";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "leafo";
|
|
repo = "magick";
|
|
tag = "v1.6.0";
|
|
hash = "sha256-gda+vLrWyMQ553jVCIRl1qYTS/rXsGhxrBsrJyI8EN4=";
|
|
};
|
|
|
|
disabled = lua.luaversion != "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/leafo/magick.git";
|
|
maintainers = with lib.maintainers; [ donovanglover ];
|
|
license = lib.licenses.mit;
|
|
description = "Lua bindings to ImageMagick & GraphicsMagick for LuaJIT using FFI";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
markdown = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "markdown";
|
|
version = "0.33-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/markdown-0.33-1.rockspec";
|
|
sha256 = "02sixijfi6av8h59kx3ngrhygjn2sx1c85c0qfy20gxiz72wi1pl";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "mpeterv";
|
|
repo = "markdown";
|
|
tag = "0.33";
|
|
hash = "sha256-PgRGiSwDODSyNSgeN7kNOCZwjLbGf1Qts/jrfLGYKwU=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.4";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mpeterv/markdown";
|
|
license.fullName = "MIT/X11";
|
|
description = "Markdown text-to-html markup system.";
|
|
longDescription = "A pure-lua implementation of the Markdown text-to-html markup system.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
md5 = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "md5";
|
|
version = "1.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/md5-1.3-1.rockspec";
|
|
sha256 = "08kx00ik1hly4p1a1bvvw3bvbddc64vdhpr21jy3asrj9nz86bnr";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/keplerproject/md5/archive/1.3.tar.gz";
|
|
sha256 = "193dsjgnzrnykpmx68njkv72fxh2gb3llqgx2lgbgnf5i66shiq7";
|
|
};
|
|
|
|
disabled = luaOlder "5.0";
|
|
|
|
meta = {
|
|
homepage = "http://keplerproject.github.io/md5/";
|
|
license.fullName = "MIT/X11";
|
|
description = "Checksum library";
|
|
longDescription = "MD5 offers checksum facilities for Lua 5.X: a hash (digest) function, a pair crypt/decrypt based on MD5 and CFB, and a pair crypt/decrypt based on DES with 56-bit keys.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
mediator_lua = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "mediator_lua";
|
|
version = "1.1.2-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/mediator_lua-1.1.2-0.rockspec";
|
|
sha256 = "0frzvf7i256260a1s8xh92crwa2m42972qxfq29zl05aw3pyn7bm";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/Olivine-Labs/mediator_lua/archive/v1.1.2-0.tar.gz";
|
|
sha256 = "16zzzhiy3y35v8advmlkzpryzxv5vji7727vwkly86q8sagqbxgs";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://olivinelabs.com/mediator_lua/";
|
|
license = lib.licenses.mit;
|
|
description = "Event handling through channels";
|
|
longDescription = ''
|
|
mediator_lua allows you to subscribe and publish to a central object so
|
|
you can decouple function calls in your application. It's as simple as
|
|
mediator:subscribe("channel", function). Supports namespacing, predicates,
|
|
and more.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
mega-cmdparse = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
mega-logging,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "mega.cmdparse";
|
|
version = "1.2.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/mega.cmdparse-1.2.1-1.rockspec";
|
|
sha256 = "1766pqazkr3zfwaaj541m53y90n5zr0r7068hd67d9hgvd7za6sb";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/ColinKennedy/mega.cmdparse/archive/v1.2.1.zip";
|
|
sha256 = "1bf3rf80m65jc51dlv3vcs2jhzk5ni2kr7v5rsmb31k7wk3002qb";
|
|
};
|
|
|
|
propagatedBuildInputs = [ mega-logging ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ColinKennedy/mega.cmdparse";
|
|
license = lib.licenses.mit;
|
|
description = "A Neovim command-mode parser. Similar to Python's argparse module";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
mega-logging = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "mega.logging";
|
|
version = "1.1.6-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/mega.logging-1.1.6-1.rockspec";
|
|
sha256 = "1va6vl4iqnc3ip2ws1ff65xavw1m6wgdrsal1gvqnjn0gh20vxbg";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/ColinKennedy/mega.logging/archive/v1.1.6.zip";
|
|
sha256 = "0sy7f42rbdanz9bi0kq6vzllykqcrp04bp7b5k3cqpml5ckywpl5";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ColinKennedy/mega.logging";
|
|
license = lib.licenses.mit;
|
|
description = "A Neovim plugin for logging to Neovim or to disk";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
middleclass = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "middleclass";
|
|
version = "4.1.1-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/middleclass-4.1.1-0.rockspec";
|
|
sha256 = "10xzs48lr1dy7cx99581r956gl16px0a9gbdlfar41n19r96mhb1";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/kikito/middleclass/archive/v4.1.1.tar.gz";
|
|
sha256 = "11ahv0b9wgqfnabv57rb7ilsvn2vcvxb1czq6faqrsqylvr5l7nh";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/kikito/middleclass";
|
|
license = lib.licenses.mit;
|
|
description = "A simple OOP library for Lua";
|
|
longDescription = "It has inheritance, metamethods (operators), class variables and weak mixin support";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
mimetypes = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "mimetypes";
|
|
version = "1.1.0-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/mimetypes-1.1.0-2.rockspec";
|
|
sha256 = "1asi5dlkqml9rjh2k2iq0fy2khdlc7mq4kxp4j42c8507w9dijww";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "lua-mimetypes";
|
|
tag = "v1.1.0";
|
|
hash = "sha256-9uuhMerMqE/AtFFGNIWxGBN0BQ+FE+NgZa3g041lesE=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lunarmodules/lua-mimetypes";
|
|
license.fullName = "MIT/X11";
|
|
description = "A simple library for looking up the MIME types of files.";
|
|
longDescription = ''
|
|
This is a simple library for guessing a file's MIME type. It includes
|
|
a (hopefully) comprehensive database of MIME types, but it allows you
|
|
to create your own should you have specific requirements. It can
|
|
guess types both by extension and by the complete filename.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
mini-test = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "mini.test";
|
|
version = "0.17.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/mini.test-0.17.0-1.rockspec";
|
|
sha256 = "0k9qvizfb3if0r20zid8had91ckkfy061lznvmi4r9hyy421dwfw";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/echasnovski/mini.test/archive/v0.17.0.zip";
|
|
sha256 = "0hffg59cn8dlhnjnkcfs9vannf10n2j33lna2d8zbaxajxaa8jks";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/echasnovski/mini.test";
|
|
license = lib.licenses.mit;
|
|
description = "Test neovim plugins. Part of the mini.nvim suite.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
moonscript = callPackage (
|
|
{
|
|
argparse,
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
lpeg,
|
|
luaOlder,
|
|
luafilesystem,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "moonscript";
|
|
version = "dev-1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leafo";
|
|
repo = "moonscript";
|
|
rev = "402be8a6df8ff57c4183db44e0c130d14d69bf87";
|
|
hash = "sha256-rIkq6rk5A9yYbRcFLJ9wE+PQKGvpOB+7iTDbq9T/1OM=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
argparse
|
|
lpeg
|
|
luafilesystem
|
|
];
|
|
|
|
meta = {
|
|
homepage = "http://moonscript.org";
|
|
maintainers = with lib.maintainers; [ arobyn ];
|
|
license = lib.licenses.mit;
|
|
description = "A programmer friendly language that compiles to Lua";
|
|
longDescription = "A programmer friendly language that compiles to Lua";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
mpack = callPackage (
|
|
{ buildLuarocksPackage, fetchurl }:
|
|
buildLuarocksPackage {
|
|
pname = "mpack";
|
|
version = "1.0.13-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/mpack-1.0.13-0.rockspec";
|
|
sha256 = "1lyjbmyj6yfv0bhyj50rpz2qm993zsbyw494j9kz4bcvxx0gqac5";
|
|
}).outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/libmpack/libmpack-lua/releases/download/1.0.13/libmpack-lua-1.0.13.tar.gz";
|
|
sha256 = "1mwk54jnayw5wjclijyha24xq4sj0lyidb04zyndd9i0yr4anlnx";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/libmpack/libmpack-lua";
|
|
license = lib.licenses.mit;
|
|
description = "Lua binding to libmpack";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
neorg = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
lua-utils-nvim,
|
|
luaOlder,
|
|
nui-nvim,
|
|
nvim-nio,
|
|
pathlib-nvim,
|
|
tree-sitter-norg,
|
|
tree-sitter-norg-meta,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "neorg";
|
|
version = "9.6.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/neorg-9.6.4-1.rockspec";
|
|
sha256 = "11k7qwr7430wk3j5kf7isn3d9i4y0drmq6d0dwdx62s4cy9c3pvm";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-neorg/neorg/archive/1f14d72aad7165eac307a2a2f6be0fb97a04b3c2.zip";
|
|
sha256 = "0l7hc1w4j00csv8i6dgbdhx0jcf0017b7hhs8gcldvsyka50xkx5";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
lua-utils-nvim
|
|
nui-nvim
|
|
nvim-nio
|
|
pathlib-nvim
|
|
tree-sitter-norg
|
|
tree-sitter-norg-meta
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-neorg/neorg";
|
|
maintainers = with lib.maintainers; [ GaetanLepage ];
|
|
license = lib.licenses.gpl3Only;
|
|
description = "Modernity meets insane extensibility. The future of organizing your life in Neovim.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
neorg-interim-ls = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
neorg,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "neorg-interim-ls";
|
|
version = "2.1.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/neorg-interim-ls-2.1.4-1.rockspec";
|
|
sha256 = "16c6b4in826fnv2wgxl1b7qsxvj62qq2xjnbik7z0hiij2vwc52x";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/benlubas/neorg-interim-ls/archive/v2.1.4.zip";
|
|
sha256 = "0fpzfjpamb4amlnqf89zy9hdg95qh0mzdfrzh7qw13yvh4273z27";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ neorg ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/benlubas/neorg-interim-ls";
|
|
license = lib.licenses.mit;
|
|
description = "Temporarily providing a limited set of LSP features to neorg";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
neotest = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
nvim-nio,
|
|
plenary-nvim,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "neotest";
|
|
version = "5.18.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/neotest-5.18.0-1.rockspec";
|
|
sha256 = "1mkxm0bkc3gxi5zac0ai7rd7i4925sa5pqnz4rp46nin07nmf07c";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-neotest/neotest/archive/ad991822b7076b1d940b33a9d6d0d30416d5df81.zip";
|
|
sha256 = "1mcq61p5dkxsb4x6f54fy5nypw0xkhbml44b99q20d7ngm6hgzz5";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
nvim-nio
|
|
plenary-nvim
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-neotest/neotest";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "An extensible framework for interacting with tests within NeoVim.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
nginx-lua-prometheus = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "nginx-lua-prometheus";
|
|
version = "0.20240525-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/nginx-lua-prometheus-0.20240525-1.rockspec";
|
|
sha256 = "0xw21h7bl7l8kijbmw98v0lc7910r5pwnx7h3w894dv63d413ixr";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "knyar";
|
|
repo = "nginx-lua-prometheus";
|
|
tag = "0.20240525";
|
|
hash = "sha256-ovLpOQKgTfrrgCxCF/OtdPUuAQ9J4RtT9F68Bbzu1XQ=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/knyar/nginx-lua-prometheus";
|
|
maintainers = with lib.maintainers; [ ulysseszhan ];
|
|
license = lib.licenses.mit;
|
|
description = "Prometheus metric library for Nginx";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
nlua = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "nlua";
|
|
version = "0.3.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/nlua-0.3.1-1.rockspec";
|
|
sha256 = "1238vnwk14pdcq533a8ndmmkc0b9ndc4kh0aja7ypmsjvk2y5v3s";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/mfussenegger/nlua/archive/v0.3.1.zip";
|
|
sha256 = "1m19ap9ipcdj16rbllxiqlww8hz98l63cdb8mhll37756nr773hn";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mfussenegger/nlua";
|
|
maintainers = with lib.maintainers; [ teto ];
|
|
license = lib.licenses.gpl3Only;
|
|
description = "Neovim as Lua interpreter";
|
|
longDescription = ''
|
|
Neovim embeds a Lua interpreter, but it doesn't expose the same command line interface as plain lua.
|
|
nlua is a script which emulates Lua's command line interface, using Neovim's -l option under the hood.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
nui-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "nui.nvim";
|
|
version = "0.4.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/nui.nvim-0.4.0-1.rockspec";
|
|
sha256 = "0bs87acbr7ih5ln9c5a394fsmg32afw9g3w5l9ji5hmxfbvj6prf";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "MunifTanjim";
|
|
repo = "nui.nvim";
|
|
tag = "0.4.0";
|
|
hash = "sha256-SJc9nfV6cnBKYwRWsv0iHy+RbET8frNV85reICf+pt8=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/MunifTanjim/nui.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "UI Component Library for Neovim.";
|
|
longDescription = ''
|
|
UI Component Library for Neovim.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
nvim-cmp = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "nvim-cmp";
|
|
version = "scm-1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hrsh7th";
|
|
repo = "nvim-cmp";
|
|
rev = "a1d504892f2bc56c2e79b65c6faded2fd21f3eca";
|
|
hash = "sha256-uzfM8DLRKshESsYmUAbSfXtos9COWpe/fVkxNJPIUFw=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.4";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/hrsh7th/nvim-cmp";
|
|
license = lib.licenses.mit;
|
|
description = "A completion plugin for neovim";
|
|
longDescription = ''
|
|
A completion engine plugin for neovim written in Lua. Completion sources are installed from external repositories and "sourced".
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
nvim-nio = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "nvim-nio";
|
|
version = "1.10.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/nvim-nio-1.10.1-1.rockspec";
|
|
sha256 = "1bkxvhk5bml6q5g4ycv3ggrqd24kkhhswa6if5g2q6j1j44lxgj0";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-neotest/nvim-nio/archive/21f5324bfac14e22ba26553caf69ec76ae8a7662.zip";
|
|
sha256 = "1bz5msxwk232zkkhfxcmr7a665la8pgkdx70q99ihl4x04jg6dkq";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-neotest/nvim-nio";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "A library for asynchronous IO in Neovim";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
nvim-web-devicons = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "nvim-web-devicons";
|
|
version = "0.100-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/nvim-web-devicons-0.100-1.rockspec";
|
|
sha256 = "0i87kr2q1s97q4kw85k36xhryigbv4bgy3ig56qg6z5jgkxgldza";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-tree/nvim-web-devicons/archive/v0.100.zip";
|
|
sha256 = "0d7gzk06f6z9wq496frbaavx90mcxvdhrswqd3pcayj2872i698d";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-tree/nvim-web-devicons";
|
|
license = lib.licenses.mit;
|
|
description = "Nerd Font icons for neovim";
|
|
longDescription = ''
|
|
Coloured Nerd Font file icons for neovim.
|
|
Dark and light background variants.
|
|
https://www.nerdfonts.com/'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
oil-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "oil.nvim";
|
|
version = "2.16.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/oil.nvim-2.16.0-1.rockspec";
|
|
sha256 = "0gsdvzysvvb72z2bd5vcxpssgnb0q91y2z5nrzzafq7670xz49dp";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/stevearc/oil.nvim/archive/v2.16.0.zip";
|
|
sha256 = "0pipdvaxrkdyfbp66sgrc3ppy260m95am9zhi3m8n7lm1ivp6fzb";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/stevearc/oil.nvim";
|
|
license = lib.licenses.mit;
|
|
description = "Neovim file explorer: edit your filesystem like a buffer";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
orgmode = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "orgmode";
|
|
version = "0.7.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/orgmode-0.7.3-1.rockspec";
|
|
sha256 = "1zvyidy23am6qkya8yc6pxxhc5nf42y8c9djfmlx67z89gxfxm9n";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-orgmode/orgmode/archive/0.7.3.zip";
|
|
sha256 = "16glwzys6pcq8pi96jkdc93fasqgf0d8yqncxaw3741906mni9ym";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://nvim-orgmode.github.io";
|
|
license = lib.licenses.mit;
|
|
description = "Orgmode clone written in Lua for Neovim 0.11.0+.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
papis-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
nui-nvim,
|
|
sqlite,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "papis.nvim";
|
|
version = "0.9.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/papis.nvim-0.9.1-1.rockspec";
|
|
sha256 = "1ykcnzz2rpcn3v5aw4lhwc2vcc9gzrskkzir136i1szgnvrhhzg0";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/jghauser/papis.nvim/archive/v0.9.1.zip";
|
|
sha256 = "1hicipx893p8y8sapn0kyqjinn8nhrrkc0a1cwl16z0mmh0jgk81";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
nui-nvim
|
|
sqlite
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/jghauser/papis.nvim";
|
|
maintainers = with lib.maintainers; [ GaetanLepage ];
|
|
license = lib.licenses.gpl3Only;
|
|
description = "Manage your bibliography from within your favourite editor";
|
|
longDescription = ''
|
|
Papis.nvim is a neovim companion plugin for the bibliography manager papis.
|
|
It's meant for all those who do academic and other writing in neovim and who
|
|
want quick access to their bibliography from within the comfort of their editor.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
pathlib-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
nvim-nio,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "pathlib.nvim";
|
|
version = "2.2.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/pathlib.nvim-2.2.3-1.rockspec";
|
|
sha256 = "0qwsjcsl6760d8d5k1lxlykh78g6v7xcr9caq3yh75yn76mwrl4i";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/pysan3/pathlib.nvim/archive/v2.2.3.zip";
|
|
sha256 = "1z3nwy83r3zbll9wc2wyvg60z0dqc5hm2xdfvqh3hwm5s9w8j432";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ nvim-nio ];
|
|
|
|
meta = {
|
|
homepage = "https://pysan3.github.io/pathlib.nvim/";
|
|
license = lib.licenses.mpl20;
|
|
description = "OS Independent, ultimate solution to path handling in neovim.";
|
|
longDescription = ''
|
|
This plugin aims to decrease the difficulties of path management across mutliple OSs in neovim.
|
|
The plugin API is heavily inspired by Python's `pathlib.Path` with tweaks to fit neovim usage.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
penlight = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luafilesystem,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "penlight";
|
|
version = "1.15.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/penlight-1.15.0-1.rockspec";
|
|
sha256 = "0m4m20vpvzkr2h9xs8q2a3wkib0jxzbkwb8hy6abxyvkm6r7fnvf";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "penlight";
|
|
tag = "1.15.0";
|
|
hash = "sha256-yEkzr4v8avygFxp+NUvffg2fRxQJWTpRdIvluh/QBpY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ luafilesystem ];
|
|
|
|
meta = {
|
|
homepage = "https://lunarmodules.github.io/penlight";
|
|
maintainers = with lib.maintainers; [ alerque ];
|
|
license.fullName = "MIT/X11";
|
|
description = "Lua utility libraries loosely based on the Python standard libraries";
|
|
longDescription = ''
|
|
Penlight is a set of pure Lua libraries for making it easier to work with common tasks like
|
|
iterating over directories, reading configuration files and the like. Provides functional operations
|
|
on tables and sequences.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
plenary-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
luassert,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "plenary.nvim";
|
|
version = "scm-1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nvim-lua";
|
|
repo = "plenary.nvim";
|
|
rev = "74b06c6c75e4eeb3108ec01852001636d85a932b";
|
|
hash = "sha256-nkfETDkPiE+Kd2BWYZijgUp9bP8RgFwRmvqJz2BMuq4=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.4";
|
|
propagatedBuildInputs = [ luassert ];
|
|
|
|
meta = {
|
|
homepage = "http://github.com/nvim-lua/plenary.nvim";
|
|
license.fullName = "MIT/X11";
|
|
description = "lua functions you don't want to write ";
|
|
longDescription = ''
|
|
plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
psl = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "psl";
|
|
version = "0.3-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/psl-0.3-0.rockspec";
|
|
sha256 = "1x7sc8n780k67v31bvqqxhh6ihy0k91zmp6xcxmkifr0gd008x9z";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/daurnimator/lua-psl/archive/v0.3.zip";
|
|
sha256 = "1x9zskjn6fp9343w9314104128ik4lbk98pg6zfhl1v35107m1jx";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/daurnimator/lua-psl";
|
|
license = lib.licenses.mit;
|
|
description = "Bindings to libpsl, a C library that handles the Public Suffix List (PSL)";
|
|
longDescription = ''
|
|
Bindings to libpsl, a C library that handles the Public Suffix List (PSL).
|
|
|
|
The PSL is a list of domains where there may be sub-domains outside of the administrator's control.
|
|
e.g. the administrator of '.com' does not manage 'github.com'.
|
|
|
|
This list has found use in many internet technologies including:
|
|
|
|
- preventing cross-domain cookie leakage
|
|
- allowance of issuing wildcard TLS certificates
|
|
|
|
More information can be found at https://publicsuffix.org/'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
rapidjson = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
cmake,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "rapidjson";
|
|
version = "0.7.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/rapidjson-0.7.2-1.rockspec";
|
|
sha256 = "1g3gw1rr54jvylq7afzkqdpid3h7nlmk76hmfva8xzhcdvbcl88h";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "xpol";
|
|
repo = "lua-rapidjson";
|
|
tag = "v0.7.2";
|
|
hash = "sha256-WdfGIgbwlMMItsasN+ZITd/iqSeHC0EVeYoUcolb1MU=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/xpol/lua-rapidjson";
|
|
license = lib.licenses.mit;
|
|
description = "Json module based on the very fast RapidJSON.";
|
|
longDescription = "A json module for Lua 5.1/5.2/5.3 and LuaJIT based on the very fast RapidJSON.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
rest-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
fidget-nvim,
|
|
luaOlder,
|
|
mimetypes,
|
|
nvim-nio,
|
|
tree-sitter-http,
|
|
xml2lua,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "rest.nvim";
|
|
version = "3.13.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/rest.nvim-3.13.0-1.rockspec";
|
|
sha256 = "1ig9589pb0y59jvlw97nxgcmij9kcjbc7l1aag99m40v823kncil";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/rest-nvim/rest.nvim/archive/v3.13.0.zip";
|
|
sha256 = "18mmif73l13hbzhfvnvdky78jlv2j059cqyvxkb6bcqwcyqx7jaj";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [
|
|
fidget-nvim
|
|
mimetypes
|
|
nvim-nio
|
|
tree-sitter-http
|
|
xml2lua
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rest-nvim/rest.nvim";
|
|
maintainers = with lib.maintainers; [ teto ];
|
|
license = lib.licenses.gpl3Only;
|
|
description = "A very fast, powerful, extensible and asynchronous Neovim HTTP client written in Lua.";
|
|
longDescription = ''
|
|
A very fast, powerful, extensible and asynchronous Neovim HTTP client written in Lua.
|
|
rest.nvim by default makes use of its own `curl` wrapper to make requests and a tree-sitter parser to parse http files.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
rocks-config-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
lua,
|
|
rocks-nvim,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "rocks-config.nvim";
|
|
version = "3.2.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/rocks-config.nvim-3.2.0-1.rockspec";
|
|
sha256 = "07sznkw2qkbgibqg4sjpmrirvig17adhww7wmgb2h3kny7vaipxq";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/lumen-oss/rocks-config.nvim/archive/v3.2.0.zip";
|
|
sha256 = "1w688m50g2q742yq9dp7w6g7rcp71pq6mybz2hw8g9af9q95js81";
|
|
};
|
|
|
|
disabled = lua.luaversion != "5.1";
|
|
propagatedBuildInputs = [ rocks-nvim ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lumen-oss/rocks-config.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.gpl3Only;
|
|
description = "Allow rocks.nvim to help configure your plugins.";
|
|
longDescription = ''
|
|
rocks-config.nvim is a rocks.nvim utility module for helping to configure
|
|
your Neovim setup.
|
|
Features:
|
|
- Execute a specific Lua file per plugin
|
|
- Automatically invoke the setup() function for every installed plugin
|
|
- Statically configure a plugin using TOML syntax directly from within your rocks.toml'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
rocks-dev-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
lua,
|
|
nvim-nio,
|
|
rocks-nvim,
|
|
rtp-nvim,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "rocks-dev.nvim";
|
|
version = "1.8.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/rocks-dev.nvim-1.8.1-1.rockspec";
|
|
sha256 = "1rbyjxla58vy6qsbdgyi5y9rr73nswcshhkl4qmlnq4hg5nz1kkj";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-neorocks/rocks-dev.nvim/archive/v1.8.1.zip";
|
|
sha256 = "0zsy4pqh4rnw9awvw9wlq4v2hhksfh716qhh43bhsnr30d0bfi5x";
|
|
};
|
|
|
|
disabled = lua.luaversion != "5.1";
|
|
propagatedBuildInputs = [
|
|
nvim-nio
|
|
rocks-nvim
|
|
rtp-nvim
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-neorocks/rocks-dev.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.gpl3Only;
|
|
description = "A swiss-army knife for testing and developing rocks.nvim modules.";
|
|
longDescription = ''
|
|
rocks-dev.nvim is a rocks.nvim utility module, serving as a swiss army knife
|
|
for developing and testing new rocks.nvim extensions.
|
|
Features:
|
|
- Install plugins from the local filesystem'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
rocks-git-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
lua,
|
|
nvim-nio,
|
|
rocks-nvim,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "rocks-git.nvim";
|
|
version = "2.5.10-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/rocks-git.nvim-2.5.10-1.rockspec";
|
|
sha256 = "0a01xh847gnpy844hdlmn8l6iwqhxj604mirqkhsqhr1l4rv715a";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/lumen-oss/rocks-git.nvim/archive/v2.5.10.zip";
|
|
sha256 = "1hh0zrpdp4nc19wli6pm8bgjf6qzzjz4ydhshm4m2d22dmnh6ngz";
|
|
};
|
|
|
|
disabled = lua.luaversion != "5.1";
|
|
propagatedBuildInputs = [
|
|
nvim-nio
|
|
rocks-nvim
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lumen-oss/rocks-git.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.gpl3Only;
|
|
description = "Use rocks.nvim to install plugins from git!";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
rocks-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
fidget-nvim,
|
|
fzy,
|
|
lua,
|
|
luarocks,
|
|
nvim-nio,
|
|
rtp-nvim,
|
|
toml-edit,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "rocks.nvim";
|
|
version = "2.49.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/rocks.nvim-2.49.0-1.rockspec";
|
|
sha256 = "1krbnmx90avna2bzxvdv5zs7iakgkcm9w0dniingbhifkrkmiazr";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/lumen-oss/rocks.nvim/archive/v2.49.0.zip";
|
|
sha256 = "13sr1alra4dlh22p6b53y6695zdv4vih3gdkvjfd7q3057ni7l20";
|
|
};
|
|
|
|
disabled = lua.luaversion != "5.1";
|
|
propagatedBuildInputs = [
|
|
fidget-nvim
|
|
fzy
|
|
luarocks
|
|
nvim-nio
|
|
rtp-nvim
|
|
toml-edit
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lumen-oss/rocks.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.gpl3Only;
|
|
description = "🌒 Neovim plugin management inspired by Cargo, powered by luarocks";
|
|
longDescription = ''
|
|
rocks.nvim is an all in one solution for installing and managing
|
|
Neovim plugins through the luarocks package manager.
|
|
It supports dependency management, build scripts,
|
|
all defined from a single rocks.toml file.
|
|
Features:
|
|
- Cargo-like rocks.toml file for declaring all your plugins.
|
|
- Name-based installation ("nvim-neorg/neorg" becomes :Rocks install neorg instead).
|
|
- Automatic dependency and build script management.
|
|
- True semver versioning!
|
|
- Minimal, non-intrusive UI.
|
|
- Async execution.
|
|
- Extensible, with a Lua API.
|
|
- Command completions for plugins on luarocks.org.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
rtp-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "rtp.nvim";
|
|
version = "1.2.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/rtp.nvim-1.2.0-1.rockspec";
|
|
sha256 = "0is9ssi3pwvshm88lnp4hkig4f0ckgl2f3a1axwci89y8lla50iv";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-neorocks/rtp.nvim/archive/v1.2.0.zip";
|
|
sha256 = "1b6hx50nr2s2mnhsx9zy54pjdq7f78mi394v2b2c9v687s45nqln";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-neorocks/rtp.nvim";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.gpl3Only;
|
|
description = "Source plugin and ftdetect directories on the Neovim runtimepath.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
rustaceanvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
lua,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "rustaceanvim";
|
|
version = "9.0.4-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/rustaceanvim-9.0.4-2.rockspec";
|
|
sha256 = "1l5jnk665cig8hgcfby4g2w8ffi5lsndx6nvc1pjjjhqz3m69c3w";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.0.4.zip";
|
|
sha256 = "1m9ryz4ivrvjmz6zmffj01xc13kral6zvkwqaivhi6gx4553ya09";
|
|
};
|
|
|
|
disabled = lua.luaversion != "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.0.4.zip";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.gpl2Only;
|
|
description = "🦀 Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
say = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "say";
|
|
version = "1.4.1-3";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/say-1.4.1-3.rockspec";
|
|
sha256 = "0iibmq5m5092y168banckgs15ngj2yjx11n40fyk7jly4pbasljq";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "lunarmodules";
|
|
repo = "say";
|
|
tag = "v1.4.1";
|
|
hash = "sha256-IjNkK1leVtYgbEjUqguVMjbdW+0BHAOCE0pazrVuF50=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://lunarmodules.github.io/say";
|
|
license = lib.licenses.mit;
|
|
description = "Lua string hashing/indexing library";
|
|
longDescription = ''
|
|
Useful for internationalization.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
serpent = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "serpent";
|
|
version = "0.30-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/serpent-0.30-2.rockspec";
|
|
sha256 = "0v83lr9ars1n0djbh7np8jjqdhhaw0pdy2nkcqzqrhv27rzv494n";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "pkulchenko";
|
|
repo = "serpent";
|
|
tag = "0.30";
|
|
hash = "sha256-aCP/Lk11wdnqXzntgNlyZz1LkLgZApcvDiA//LLzAGE=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/pkulchenko/serpent";
|
|
maintainers = with lib.maintainers; [ lockejan ];
|
|
license = lib.licenses.mit;
|
|
description = "Lua serializer and pretty printer";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
sofa = callPackage (
|
|
{
|
|
argparse,
|
|
buildLuarocksPackage,
|
|
compat53,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
luatext,
|
|
lyaml,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "sofa";
|
|
version = "0.8.0-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/sofa-0.8.0-0.rockspec";
|
|
sha256 = "09mjnygy8xpcp892mfqmcirjjndndvynl7bs7j4vp4r4svh17b05";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "f4z3r";
|
|
repo = "sofa";
|
|
tag = "v0.8.0";
|
|
hash = "sha256-MWGp0kbLaXQV3ElSgPTFoVuWk4+ujktG0xh20kQPex4=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
propagatedBuildInputs = [
|
|
argparse
|
|
compat53
|
|
luatext
|
|
lyaml
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/f4z3r/sofa";
|
|
maintainers = with lib.maintainers; [ f4z3r ];
|
|
license = lib.licenses.mit;
|
|
description = "A command execution engine powered by rofi.";
|
|
longDescription = ''
|
|
A tool to organise and execute your commands, so convenient you can
|
|
run it from your sofa.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
sqlite = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luv,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "sqlite";
|
|
version = "v1.2.2-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/sqlite-v1.2.2-0.rockspec";
|
|
sha256 = "0jxsl9lpxsbzc6s5bwmh27mglkqz1299lz68vfxayvailwl3xbxm";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "tami5";
|
|
repo = "sqlite.lua";
|
|
tag = "v1.2.2";
|
|
hash = "sha256-NUjZkFawhUD0oI3pDh/XmVwtcYyPqa+TtVbl3k13cTI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ luv ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/tami5/sqlite.lua";
|
|
license = lib.licenses.mit;
|
|
description = "SQLite/LuaJIT binding and a highly opinionated wrapper for storing, retrieving, caching, and persisting [SQLite] databases";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
std-_debug = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "std._debug";
|
|
version = "1.0.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/std._debug-1.0.1-1.rockspec";
|
|
sha256 = "0mr9hgzfr9v37da9rfys2wjq48hi3lv27i3g38433dlgbxipsbc4";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "http://github.com/lua-stdlib/_debug/archive/v1.0.1.zip";
|
|
sha256 = "19vfpv389q79vgxwhhr09l6l6hf6h2yjp09zvnp0l07ar4v660pv";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "http://lua-stdlib.github.io/_debug";
|
|
license.fullName = "MIT/X11";
|
|
description = "Debug Hints Library";
|
|
longDescription = ''
|
|
Manage an overall debug state, and associated hint substates.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
std-normalize = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
std-_debug,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "std.normalize";
|
|
version = "2.0.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/std.normalize-2.0.3-1.rockspec";
|
|
sha256 = "1l83ikiaw4dch2r69cxpl93b9d4wf54vbjb6fcggnkxxgm0amj3a";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "http://github.com/lua-stdlib/normalize/archive/v2.0.3.zip";
|
|
sha256 = "1gyywglxd2y7ck3hk8ap73w0x7hf9irpg6vgs8yc6k9k4c5g3fgi";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
propagatedBuildInputs = [ std-_debug ];
|
|
|
|
meta = {
|
|
homepage = "https://lua-stdlib.github.io/normalize";
|
|
license.fullName = "MIT/X11";
|
|
description = "Normalized Lua Functions";
|
|
longDescription = ''
|
|
This module can inject deterministic versions of core Lua
|
|
functions that do not behave identically across all supported Lua
|
|
implementations into your module's lexical environment. Each
|
|
function is as thin and fast a version as is possible in each Lua
|
|
implementation, evaluating to the Lua C implementation with no
|
|
overhead when semantics allow.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
stdlib = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "stdlib";
|
|
version = "41.2.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/stdlib-41.2.2-1.rockspec";
|
|
sha256 = "0rscb4cm8s8bb8fk8rknc269y7bjqpslspsaxgs91i8bvabja6f6";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "http://github.com/lua-stdlib/lua-stdlib/archive/release-v41.2.2.zip";
|
|
sha256 = "0ry6k0wh4vyar1z68s0qmqzkdkfn9lcznsl8av7x78qz6l16wfw4";
|
|
};
|
|
|
|
disabled = luaOlder "5.1" || luaAtLeast "5.5";
|
|
|
|
meta = {
|
|
homepage = "http://lua-stdlib.github.io/lua-stdlib";
|
|
license.fullName = "MIT/X11";
|
|
description = "General Lua Libraries";
|
|
longDescription = "stdlib is a library of modules for common programming tasks, including list, table and functional operations, objects, pickling, pretty-printing and command-line option parsing.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
teal-language-server = callPackage (
|
|
{
|
|
argparse,
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
inspect,
|
|
ltreesitter,
|
|
lua-cjson,
|
|
luafilesystem,
|
|
lusc_luv,
|
|
luv,
|
|
tl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "teal-language-server";
|
|
version = "0.1.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/teal-language-server-0.1.3-1.rockspec";
|
|
sha256 = "1mqg294rgzcfbfam0qdab3z93j7gsx250hs9f271337gqki34848";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "teal-language";
|
|
repo = "teal-language-server";
|
|
tag = "0.1.3";
|
|
hash = "sha256-XuHm6AbcBmv0fyQjlJlBMWqJlGYoveW7BEEN+axMRhw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
argparse
|
|
inspect
|
|
ltreesitter
|
|
lua-cjson
|
|
luafilesystem
|
|
lusc_luv
|
|
luv
|
|
tl
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/teal-language/teal-language-server";
|
|
license = lib.licenses.mit;
|
|
description = "A language server for the Teal language";
|
|
longDescription = "A language server for the Teal language";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
telescope-manix = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
telescope-nvim,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "telescope-manix";
|
|
version = "1.0.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/telescope-manix-1.0.3-1.rockspec";
|
|
sha256 = "0avqlglmki244q3ffnlc358z3pn36ibcqysxrxw7h6qy1zcwm8sr";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/mrcjkb/telescope-manix/archive/1.0.3.zip";
|
|
sha256 = "186rbdddpv8q0zcz18lnkarp0grdzxp80189n4zj2mqyzqnw0svj";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [ telescope-nvim ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mrcjkb/telescope-manix";
|
|
license = lib.licenses.gpl2Only;
|
|
description = "A telescope.nvim extension for Manix - A fast documentation searcher for Nix";
|
|
longDescription = ''
|
|
Manix is a fast documentation searcher for nix.
|
|
This plugin provides a telescope.nvim extension for manix.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
telescope-nvim = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lua,
|
|
plenary-nvim,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "telescope.nvim";
|
|
version = "scm-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/telescope.nvim-scm-1.rockspec";
|
|
sha256 = "11dy6rkgkhc7zdrrvn361rwyf702yvvkhd0wz52pr757z534fk8s";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "nvim-telescope";
|
|
repo = "telescope.nvim";
|
|
rev = "7d324792b7943e4aa16ad007212e6acc6f9fe335";
|
|
hash = "sha256-+e/ijnuw0Zrj+zcfO2iRusukD4WHrgVC5reOTNk/04o=";
|
|
};
|
|
|
|
disabled = lua.luaversion != "5.1";
|
|
propagatedBuildInputs = [ plenary-nvim ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-telescope/telescope.nvim";
|
|
license = lib.licenses.mit;
|
|
description = "Find, Filter, Preview, Pick. All lua, all the time.";
|
|
longDescription = ''
|
|
A highly extendable fuzzy finder over lists.
|
|
Built on the latest awesome features from neovim core.
|
|
Telescope is centered around modularity, allowing for easy customization.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
tiktoken_core = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
luarocks-build-rust-mlua,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "tiktoken_core";
|
|
version = "0.2.5-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/tiktoken_core-0.2.5-1.rockspec";
|
|
sha256 = "17bii1zxxkff0wwsgap4ni1k6ypbrbq5vfs7l34m0n78imx7c2l1";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "gptlang";
|
|
repo = "lua-tiktoken";
|
|
tag = "v0.2.5";
|
|
hash = "sha256-V3dpFS590QkJQRIAeEgxakvoOGrilolWHutKn9zlOsg=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
nativeBuildInputs = [ luarocks-build-rust-mlua ];
|
|
propagatedBuildInputs = [ luarocks-build-rust-mlua ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/gptlang/lua-tiktoken";
|
|
maintainers = with lib.maintainers; [ natsukium ];
|
|
license = lib.licenses.mit;
|
|
description = "An experimental port of OpenAI's Tokenizer to lua";
|
|
longDescription = ''
|
|
The Lua module written in Rust that provides Tiktoken support for Lua.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
tl = callPackage (
|
|
{
|
|
argparse,
|
|
buildLuarocksPackage,
|
|
compat53,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "tl";
|
|
version = "0.24.8-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/tl-0.24.8-1.rockspec";
|
|
sha256 = "1m60ydmp6mn6iczg2an20ivvgn5rrz6sn0mhpnld9img3khvj7sf";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "teal-language";
|
|
repo = "tl";
|
|
tag = "v0.24.8";
|
|
hash = "sha256-bjk/e+FuW0pSaVkRXIiYWhaNGU08Mgyvb7U7lc+8k2w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
argparse
|
|
compat53
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/teal-language/tl";
|
|
maintainers = with lib.maintainers; [ mephistophiles ];
|
|
license = lib.licenses.mit;
|
|
description = "Teal, a typed dialect of Lua";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
toml-edit = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
luarocks-build-rust-mlua,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "toml-edit";
|
|
version = "0.7.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/toml-edit-0.7.0-1.rockspec";
|
|
sha256 = "174kjw3j6p1q5wxd34929wlm4hsv5s7ma44nccy3l0b52g453afg";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/lumen-oss/toml-edit.lua/archive/v0.7.0.zip";
|
|
sha256 = "03wg6mwmj802a5iv4fklz0zwd9slpw9hjzwj5068gf2lihkkwjzh";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
nativeBuildInputs = [ luarocks-build-rust-mlua ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lumen-oss/toml-edit.lua";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "TOML Parser + Formatting and Comment-Preserving Editor";
|
|
longDescription = ''
|
|
`toml-edit` is a library to parse and edit `.toml` files as if they were lua tables, all while preserving formatting and comments.
|
|
Based on rust's `toml-edit`.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
tomlua = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "tomlua";
|
|
version = "1.2.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/tomlua-1.2.3-1.rockspec";
|
|
sha256 = "0aqagzxnz58nzwx7h3igycvcraxs1h7hyl47d7sbb01kcclp5jr6";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/BirdeeHub/tomlua/archive/v1.2.3.zip";
|
|
sha256 = "04mg0m3qkr89la733rpzd8xrjq8ysrmjm7v8fid1r80cp1kbg9vf";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/BirdeeHub/tomlua";
|
|
maintainers = with lib.maintainers; [ birdee ];
|
|
license = lib.licenses.mit;
|
|
description = "Speedy toml parsing for lua, implemented in C";
|
|
longDescription = ''
|
|
Speedy toml parsing for lua, implemented in C
|
|
for use in hot-path or startup-time parsing of toml files.'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
tree-sitter-cli = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luarocks-build-tree-sitter-cli,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "tree-sitter-cli";
|
|
version = "0.26.8-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/tree-sitter-cli-0.26.8-1.rockspec";
|
|
sha256 = "01gkqv1nlp8sjlljb7hkj2rq41dc9dfdbamzsg80n6855ynhj8nx";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "FourierTransformer";
|
|
repo = "tree-sitter-cli";
|
|
rev = "20947767690a1e81141c8ae4618cee80280861de";
|
|
hash = "sha256-Dqhf7qfDyddaxuenPDpZsAuY3e5X9eXNISUslI5KDs4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ luarocks-build-tree-sitter-cli ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/FourierTransformer/tree-sitter-cli";
|
|
license = lib.licenses.mit;
|
|
description = "Install tree-sitter CLI binaries";
|
|
longDescription = "An option to install the tree-sitter CLI via LuaRocks";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
tree-sitter-http = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
luarocks-build-treesitter-parser,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "tree-sitter-http";
|
|
version = "0.0.33-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/tree-sitter-http-0.0.33-1.rockspec";
|
|
sha256 = "1x6avlk3bdz406ywmxpq0sdi31fpfrbpqlbdz1ygh9gpknah5617";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/rest-nvim/tree-sitter-http/archive/d2e4e4c7d03f70e0465d436f2b5f67497cd544ca.zip";
|
|
sha256 = "1wjycyvrahbpamdi6x74l8q1q8jrnk0y8nrwdwqdc7lm8hqjb5s2";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
nativeBuildInputs = [ luarocks-build-treesitter-parser ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rest-nvim/tree-sitter-http";
|
|
license.fullName = "UNKNOWN";
|
|
description = "tree-sitter parser for http";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
tree-sitter-norg = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luarocks-build-treesitter-parser-cpp,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "tree-sitter-norg";
|
|
version = "0.2.6-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/tree-sitter-norg-0.2.6-1.rockspec";
|
|
sha256 = "1s0wj59v4zjgimws742ybzy7nhnnkz8nas4y5k96c2z5z54ynxmq";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-neorg/tree-sitter-norg/archive/v0.2.6.zip";
|
|
sha256 = "077rds0rq10wjywpj4hmmq9dd6qp6sfwbdjyh587laldrfl7jy6g";
|
|
};
|
|
|
|
nativeBuildInputs = [ luarocks-build-treesitter-parser-cpp ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-neorg/tree-sitter-norg";
|
|
maintainers = with lib.maintainers; [ mrcjkb ];
|
|
license = lib.licenses.mit;
|
|
description = "The official tree-sitter parser for Norg documents.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
tree-sitter-norg-meta = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luarocks-build-treesitter-parser,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "tree-sitter-norg-meta";
|
|
version = "0.1.0-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/tree-sitter-norg-meta-0.1.0-1.rockspec";
|
|
sha256 = "0vngnyvdad6n36r37sc96asl7h5mph691a0638523mffbg8zdfvr";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-neorg/tree-sitter-norg-meta/archive/v0.1.0.zip";
|
|
sha256 = "1vz74wc5yy5fykl9c3b16k6fsvskxp93acsy81p337jzg709v97j";
|
|
};
|
|
|
|
nativeBuildInputs = [ luarocks-build-treesitter-parser ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-neorg/tree-sitter-norg-meta";
|
|
license = lib.licenses.mit;
|
|
description = "Treesitter parser for Norg's `@document.meta` blocks.";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
tree-sitter-orgmode = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luarocks-build-treesitter-parser,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "tree-sitter-orgmode";
|
|
version = "2.0.4-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/tree-sitter-orgmode-2.0.4-1.rockspec";
|
|
sha256 = "0f8h1f5r7n32qplkk6w48ngj700105wn9xm7jqlvm26d6qpiihg9";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/nvim-orgmode/tree-sitter-org/archive/2.0.4.zip";
|
|
sha256 = "1c0j9h1nxgh0r8h9l9xd75hqqbsjy9x01gkg520fqnwcq45jd8pg";
|
|
};
|
|
|
|
nativeBuildInputs = [ luarocks-build-treesitter-parser ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nvim-orgmode/tree-sitter-org";
|
|
license = lib.licenses.mit;
|
|
description = "A fork of tree-sitter-org, for use with the orgmode Neovim plugin";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
tree-sitter-teal = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
luarocks-build-treesitter-parser,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "tree-sitter-teal";
|
|
version = "0.0.35-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/tree-sitter-teal-0.0.35-1.rockspec";
|
|
sha256 = "06g2i3y3gmyz17v9gxwswa9db544nyhd5mx4zq3lihrshbbf6r10";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/euclidianAce/tree-sitter-teal/archive/05d276e737055e6f77a21335b7573c9d3c091e2f.zip";
|
|
sha256 = "1g1zk47a8jcwac0j60mlfv56mhlhbf6f77vjkx4vsfbrryprcfi4";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
nativeBuildInputs = [ luarocks-build-treesitter-parser ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/euclidianAce/tree-sitter-teal";
|
|
license.fullName = "UNKNOWN";
|
|
description = "tree-sitter parser for teal";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
utf8 = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "utf8";
|
|
version = "1.3-0";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/utf8-1.3-0.rockspec";
|
|
sha256 = "1szsrwb15yyvrqwyqrr7g5ivihc0kl4pc7qq439q235f3x8jv2jp";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "dannote";
|
|
repo = "luautf8";
|
|
rev = "f36cc914ae9015cd3045987abadd83bbcfae98f0";
|
|
hash = "sha256-xLWqglAzqcxY+R8GOC+D3uzL2+9ZriEx8Kj41LkI5vU=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://github.com/starwing/luautf8";
|
|
license = lib.licenses.mit;
|
|
description = "A UTF-8 support module for Lua";
|
|
longDescription = ''
|
|
This module adds UTF-8 support to Lua. It's compatible with Lua "string" module.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
vicious = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
fetchzip,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "vicious";
|
|
version = "2.7.1-3";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/vicious-2.7.1-4.rockspec";
|
|
sha256 = "1yvc9mbalsyrqysxkc1lf92ki5gzizn79y2azyavmgjwljif6lfi";
|
|
}).outPath;
|
|
src = fetchzip {
|
|
url = "https://github.com/vicious-widgets/vicious/archive/refs/tags/v2.7.1.zip";
|
|
sha256 = "0bfj3bc1gmbwwvpwkmqp658iwrwdifc78hzwwy1qpn7rbmarg2qv";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://vicious.rtfd.io";
|
|
license = lib.licenses.gpl2Plus;
|
|
description = "Modular widget library for the \"awesome\" window manager";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
vstruct = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "vstruct";
|
|
version = "2.1.1-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/vstruct-2.1.1-1.rockspec";
|
|
sha256 = "111ff5207hspda9fpj9dqdd699rax0df3abdnfbmdbdy3j07dd04";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "ToxicFrog";
|
|
repo = "vstruct";
|
|
tag = "v2.1.1";
|
|
hash = "sha256-p9yRJ3Kr6WQ4vBSTOVLoX6peNCJW6b6kgXCySg7aiWo=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ToxicFrog/vstruct";
|
|
description = "Lua library to manipulate binary data";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
vusted = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
busted,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luasystem,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "vusted";
|
|
version = "2.5.3-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/vusted-2.5.3-1.rockspec";
|
|
sha256 = "1n0fpr3kw0dp9qiik8k9nh3jbckl4zs7kv7mjfffs9kms85jrq3d";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "notomo";
|
|
repo = "vusted";
|
|
tag = "v2.5.3";
|
|
hash = "sha256-b07aSgDgSNpALs5en8ZXLEd/ThLEWX/dTME8Rg1K15I=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
busted
|
|
luasystem
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/notomo/vusted";
|
|
license = lib.licenses.mit;
|
|
description = "`busted` wrapper for testing neovim plugin";
|
|
};
|
|
}
|
|
) { };
|
|
|
|
xml2lua = callPackage (
|
|
{
|
|
buildLuarocksPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "xml2lua";
|
|
version = "1.6-2";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/xml2lua-1.6-2.rockspec";
|
|
sha256 = "1fh57kv95a18q4869hmr4fbzbnlmq5z83mkkixvwzg3szf9kvfcn";
|
|
}).outPath;
|
|
src = fetchFromGitHub {
|
|
owner = "manoelcampos";
|
|
repo = "xml2lua";
|
|
tag = "v1.6-2";
|
|
hash = "sha256-4il5mmRLtuyCJ2Nm1tKv2hXk7rmiq7Fppx9LMbjkne0=";
|
|
};
|
|
|
|
disabled = luaOlder "5.1";
|
|
|
|
meta = {
|
|
homepage = "http://manoelcampos.github.io/xml2lua/";
|
|
maintainers = with lib.maintainers; [ teto ];
|
|
license = lib.licenses.mit;
|
|
description = "An XML Parser written entirely in Lua that works for Lua 5.1+";
|
|
longDescription = ''
|
|
Enables parsing a XML string into a Lua Table and
|
|
converting a Lua Table to an XML string.
|
|
'';
|
|
};
|
|
}
|
|
) { };
|
|
|
|
}
|
|
# GENERATED - do not edit this file
|