sumneko-lua-language-server: 2.5.1 -> 2.5.6

This commit is contained in:
Jacob Foard 2021-12-27 12:02:25 -05:00
parent 0b55af0dec
commit eebd6cd94c
No known key found for this signature in database
GPG key ID: 9126325CFA9EC7D5

View file

@ -4,13 +4,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sumneko-lua-language-server"; pname = "sumneko-lua-language-server";
version = "2.5.1"; version = "2.5.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sumneko"; owner = "sumneko";
repo = "lua-language-server"; repo = "lua-language-server";
rev = version; rev = version;
sha256 = "sha256-3iWD0kXbF8Rad7fQ36ppD5q8V8COacLrT+vasCkygDc="; sha256 = "sha256-dSj3wNbQghiGfqe7dNDbWnbXYLSiG+0mYv2yFmGsAc8=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -55,15 +55,15 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
install -Dt "$out"/share/lua-language-server/bin/${target} bin/${target}/lua-language-server install -Dt "$out"/share/lua-language-server/bin bin/lua-language-server
install -m644 -t "$out"/share/lua-language-server/bin/${target} bin/${target}/*.* install -m644 -t "$out"/share/lua-language-server/bin bin/*.*
install -m644 -t "$out"/share/lua-language-server {debugger,main}.lua install -m644 -t "$out"/share/lua-language-server {debugger,main}.lua
cp -r locale meta script "$out"/share/lua-language-server cp -r locale meta script "$out"/share/lua-language-server
# necessary for --version to work: # necessary for --version to work:
install -m644 -t "$out"/share/lua-language-server changelog.md install -m644 -t "$out"/share/lua-language-server changelog.md
makeWrapper "$out"/share/lua-language-server/bin/${target}/lua-language-server \ makeWrapper "$out"/share/lua-language-server/bin/lua-language-server \
$out/bin/lua-language-server \ $out/bin/lua-language-server \
--add-flags "-E $out/share/lua-language-server/main.lua \ --add-flags "-E $out/share/lua-language-server/main.lua \
--logpath='~/.cache/sumneko_lua/log' \ --logpath='~/.cache/sumneko_lua/log' \