aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/lua-modules
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/lua-modules')
-rw-r--r--pkgs/development/lua-modules/generated-packages.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix
index 2a70baf8d3ce..d1e72b41cdd5 100644
--- a/pkgs/development/lua-modules/generated-packages.nix
+++ b/pkgs/development/lua-modules/generated-packages.nix
@@ -402,6 +402,31 @@ lgi = buildLuarocksPackage {
};
};
};
+linenoise = buildLuarocksPackage {
+ pname = "linenoise";
+ version = "0.9-1";
+
+ knownRockspec = (fetchurl {
+ url = mirror://luarocks/linenoise-0.9-1.rockspec;
+ sha256 = "0wic8g0d066pj9k51farsvcdbnhry2hphvng68w9k4lh0zh45yg4";
+ }).outPath;
+
+ src = fetchurl {
+ url = https://github.com/hoelzro/lua-linenoise/archive/0.9.tar.gz;
+ sha256 = "177h6gbq89arwiwxah9943i8hl5gvd9wivnd1nhmdl7d8x0dn76c";
+ };
+
+ disabled = (luaOlder "5.1");
+ propagatedBuildInputs = [ lua ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/hoelzro/lua-linenoise";
+ description = "A binding for the linenoise command line library";
+ license = {
+ fullName = "MIT/X11";
+ };
+ };
+};
ljsyscall = buildLuarocksPackage {
pname = "ljsyscall";
version = "0.12-1";