aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/lua-modules
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-01-24 18:18:30 +0100
committerMatthieu Coudron <mattator@gmail.com>2020-01-24 21:23:08 +0100
commitbc07d117f2ce6156ddc4b383d9ec94ef714d4dda (patch)
tree8b7802c1e46e9e48b93a07065dde5b19aa94dd7b /pkgs/development/lua-modules
parent5365e3650da6127118bf26febd23dd71ca72d9e9 (diff)
luaPackages.linenoise: init at 0.9-1
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";