From 2fc71c7404c556c720f214a3dfc872b624bff617 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 5 Jun 2019 00:01:42 +0900 Subject: [PATCH 1/3] luaPackages.digestif: init at scm-1 --- maintainers/scripts/luarocks-packages.csv | 1 + .../lua-modules/generated-packages.nix | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index 0d6dcf13e79..cda369a1348 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -3,6 +3,7 @@ ansicolors,,,, argparse,,,, basexx,,,, binaryheap,,,, +digestif,,http://luarocks.org/dev,,lua5_3 dkjson,,,, fifo,,,, http,,,, diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index 5d27d7360f3..c85e5f31d2a 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -92,6 +92,35 @@ binaryheap = buildLuarocksPackage { }; }; }; +digestif = buildLuarocksPackage { + pname = "digestif"; + version = "scm-1"; + + knownRockspec = (fetchurl { + url = http://luarocks.org/dev/digestif-scm-1.rockspec; + sha256 = "18rixbni4hmrmh3qj3vpjbsphzdvchswajphc9ysm52ccpyzh687"; + }).outPath; + + src = fetchgit ( removeAttrs (builtins.fromJSON ''{ + "url": "git://github.com/astoff/digestif", + "rev": "19442554ae18607707f09e6663d65bb8bb4ebb58", + "date": "2019-06-01T15:41:36+02:00", + "sha256": "1sglkgx2s1xc725h9b97jhfbi3scs32si83xss5m3n0xidwmlbzb", + "fetchSubmodules": true +} + '') ["date"]) ; + + disabled = (luaOlder "5.3"); + propagatedBuildInputs = [ lua lpeg dkjson ]; + + meta = { + homepage = "https://github.com/astoff/digestif/"; + description = "Code analyzer for TeX."; + license = { + fullName = "MIT"; + }; + }; +}; dkjson = buildLuarocksPackage { pname = "dkjson"; version = "2.5-2"; From 021e04d0eb5da9ce085e279a7f9c787339a68181 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 5 Jun 2019 00:11:56 +0900 Subject: [PATCH 2/3] luaPackages.lpeglabel: init at 1.5.0 --- maintainers/scripts/luarocks-packages.csv | 1 + .../lua-modules/generated-packages.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index cda369a1348..aa8f3278681 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -11,6 +11,7 @@ inspect,,,, ldoc,,,, lgi,,,, lpeg_patterns,,,, +lpeglabel,,,, lpty,,,, lrexlib-gnu,,,, lrexlib-posix,,,, diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index c85e5f31d2a..65df0a3ed94 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -257,6 +257,25 @@ lpeg_patterns = buildLuarocksPackage { }; }; }; +lpeglabel = buildLuarocksPackage { + pname = "lpeglabel"; + version = "1.5.0-1"; + + src = fetchurl { + url = https://luarocks.org/lpeglabel-1.5.0-1.src.rock; + sha256 = "068mwvwwn5n69pdm04qnk354391w9mk34jsczxql0xi5qgmz6w8j"; + }; + disabled = (luaOlder "5.1"); + propagatedBuildInputs = [ lua ]; + + meta = { + homepage = "https://github.com/sqmedeiros/lpeglabel/"; + description = "Parsing Expression Grammars For Lua with Labeled Failures"; + license = { + fullName = "MIT/X11"; + }; + }; +}; lpty = buildLuarocksPackage { pname = "lpty"; version = "1.2.2-1"; From 1b2e667ad6859fc7251029f9f93fde86fd755f0b Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 5 Jun 2019 00:12:15 +0900 Subject: [PATCH 3/3] luaPackages.lua-lsp: init at scm-2 --- maintainers/scripts/luarocks-packages.csv | 1 + .../lua-modules/generated-packages.nix | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index aa8f3278681..0c52faef1bf 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -19,6 +19,7 @@ ltermbox,,,, lua-cmsgpack,,,, lua_cliargs,,,, lua-iconv,,,, +lua-lsp,,http://luarocks.org/dev,, lua-messagepack,,,, lua-term,,,, lua-toml,,,, diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index 65df0a3ed94..e7557930f11 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -419,6 +419,35 @@ lua-iconv = buildLuarocksPackage { }; }; }; +lua-lsp = buildLuarocksPackage { + pname = "lua-lsp"; + version = "scm-2"; + + knownRockspec = (fetchurl { + url = http://luarocks.org/dev/lua-lsp-scm-2.rockspec; + sha256 = "0qk3i6j0km4d1fs61fxhkmnbxmgpq24nygr8wknl6hbj2kya25rb"; + }).outPath; + + src = fetchgit ( removeAttrs (builtins.fromJSON ''{ + "url": "git://github.com/Alloyed/lua-lsp", + "rev": "0de511803ed616214333210a2d003cf05a64dc18", + "date": "2018-09-08T10:11:54-04:00", + "sha256": "15dnsyh5664vi7qn73y2r114rhs5l9lfi84pwqkq5cafkiiy49qa", + "fetchSubmodules": true +} + '') ["date"]) ; + + disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); + propagatedBuildInputs = [ lua dkjson lpeglabel inspect ]; + + meta = { + homepage = "https://github.com/Alloyed/lua-lsp"; + description = "No summary"; + license = { + fullName = "MIT"; + }; + }; +}; lua-messagepack = buildLuarocksPackage { pname = "lua-messagepack"; version = "0.5.1-2";