summaryrefslogtreecommitdiffstats
path: root/pkgs/development/lua-modules
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-01-24 20:58:58 +0100
committerMatthieu Coudron <mattator@gmail.com>2020-01-25 19:39:28 +0100
commita032a3ad90f7794977c10a95141e424b8211ecd9 (patch)
tree4ffc130cd35ce91d457210201d11a9b356a1e6c7 /pkgs/development/lua-modules
parent460224d4cd350e6a77dcbc6dc233d7ffb933b2c3 (diff)
luaPackages.luarepl: init at 0.9-1
Diffstat (limited to 'pkgs/development/lua-modules')
-rw-r--r--pkgs/development/lua-modules/generated-packages.nix27
1 files changed, 24 insertions, 3 deletions
diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix
index 3e01b2f97577..eaa0f41aadbe 100644
--- a/pkgs/development/lua-modules/generated-packages.nix
+++ b/pkgs/development/lua-modules/generated-packages.nix
@@ -1083,9 +1083,30 @@ luaposix = buildLuarocksPackage {
homepage = "https://github.com/luaposix/luaposix/";
description = "Lua bindings for POSIX";
maintainers = with maintainers; [ vyp lblasc ];
- license = {
- fullName = "MIT/X11";
- };
+ license.fullName = "MIT/X11";
+ };
+};
+luarepl = buildLuarocksPackage {
+ pname = "luarepl";
+ version = "0.9-1";
+
+ knownRockspec = (fetchurl {
+ url = mirror://luarocks/luarepl-0.9-1.rockspec;
+ sha256 = "1409lanxv4s8kq5rrh46dvld77ip33qzfn3vac3i9zpzbmgb5i8z";
+ }).outPath;
+
+ src = fetchurl {
+ url = https://github.com/hoelzro/lua-repl/archive/0.9.tar.gz;
+ sha256 = "04xka7b84d9mrz3gyf8ywhw08xp65v8jrnzs8ry8k9540aqs721w";
+ };
+
+ disabled = (luaOlder "5.1");
+ propagatedBuildInputs = [ lua ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/hoelzro/lua-repl";
+ description = "A reusable REPL component for Lua, written in Lua";
+ license.fullName = "MIT/X11";
};
};
luasec = buildLuarocksPackage {