@@ -419,6 +419,35 @@ lua-iconv = buildLuarocksPackage {
419419 };
420420 };
421421};
422+lua-lsp = buildLuarocksPackage {
423+ pname = "lua-lsp";
424+ version = "scm-2";
425+
426+ knownRockspec = (fetchurl {
427+ url = http://luarocks.org/dev/lua-lsp-scm-2.rockspec;
428+ sha256 = "0qk3i6j0km4d1fs61fxhkmnbxmgpq24nygr8wknl6hbj2kya25rb";
429+ }).outPath;
430+
431+ src = fetchgit ( removeAttrs (builtins.fromJSON ''{
432+ "url": "git://github.com/Alloyed/lua-lsp",
433+ "rev": "0de511803ed616214333210a2d003cf05a64dc18",
434+ "date": "2018-09-08T10:11:54-04:00",
435+ "sha256": "15dnsyh5664vi7qn73y2r114rhs5l9lfi84pwqkq5cafkiiy49qa",
436+ "fetchSubmodules": true
437+}
438+ '') ["date"]) ;
439+
440+ disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
441+ propagatedBuildInputs = [ lua dkjson lpeglabel inspect ];
442+
443+ meta = {
444+ homepage = "https://github.com/Alloyed/lua-lsp";
445+ description = "No summary";
446+ license = {
447+ fullName = "MIT";
448+ };
449+ };
450+};
422451lua-messagepack = buildLuarocksPackage {
423452 pname = "lua-messagepack";
424453 version = "0.5.1-2";