From af6bdae8315653af3a10d2aac08bc5324aab91fd Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 23 Oct 2019 20:00:45 +0900 Subject: [PATCH 1/2] luaPackages.lualogging: init at 1.3.0-1 Dependency of luadoc --- maintainers/scripts/luarocks-packages.csv | 1 + .../lua-modules/generated-packages.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index a13bd22916a8..957efeb6c0a6 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -45,6 +45,7 @@ luaevent,,,,, luaexpat,,,1.3.0-1,,arobyn flosse luaffi,,http://luarocks.org/dev,,, luafilesystem,,,1.7.0-2,,flosse vcunat +lualogging,,,,, luaossl,,,,lua5_1,vcunat luaposix,,,,,vyp lblasc luasec,,,,,flosse diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index 5adc23979393..6401bc1be64a 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -964,6 +964,24 @@ luafilesystem = buildLuarocksPackage { }; }; }; +lualogging = buildLuarocksPackage { + pname = "lualogging"; + version = "1.3.0-1"; + + src = fetchurl { + url = mirror://luarocks/lualogging-1.3.0-1.src.rock; + sha256 = "13fm1vlig3zmbfkmlq1vk3xfqhlvv5xf24b0p4k4d08395y858vc"; + }; + propagatedBuildInputs = [ luasocket ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/Neopallium/lualogging"; + description = "A simple API to use logging features"; + license = { + fullName = "MIT/X11"; + }; + }; +}; luaossl = buildLuarocksPackage { pname = "luaossl"; version = "20190731-0"; From 15818981fe7000b42e4ff87f1e26ddd981d86db7 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 23 Oct 2019 20:03:57 +0900 Subject: [PATCH 2/2] luaPackages.luadoc: init at 3.0.1-1 Used in vim plugins like nvim-terminal-lua to generate html docs. --- maintainers/scripts/luarocks-packages.csv | 1 + .../lua-modules/generated-packages.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index 957efeb6c0a6..802baa86d2e3 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -41,6 +41,7 @@ luadbi,,,,, luadbi-mysql,,,,, luadbi-postgresql,,,,, luadbi-sqlite3,,,,, +luadoc,,,,, luaevent,,,,, luaexpat,,,1.3.0-1,,arobyn flosse luaffi,,http://luarocks.org/dev,,, diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index 6401bc1be64a..756eef18f4c1 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -886,6 +886,24 @@ luadbi-sqlite3 = buildLuarocksPackage { }; }; }; +luadoc = buildLuarocksPackage { + pname = "luadoc"; + version = "3.0.1-1"; + + src = fetchurl { + url = mirror://luarocks/luadoc-3.0.1-1.src.rock; + sha256 = "112zqjbzkrhx3nvavrxx3vhpv2ix85pznzzbpa8fq4piyv5r781i"; + }; + propagatedBuildInputs = [ lualogging luafilesystem ]; + + meta = with stdenv.lib; { + homepage = "http://luadoc.luaforge.net/"; + description = "LuaDoc is a documentation tool for Lua source code"; + license = { + fullName = "MIT/X11"; + }; + }; +}; luaevent = buildLuarocksPackage { pname = "luaevent"; version = "0.4.6-1";