11 stdenv.mkDerivation (finalAttrs: {
12 pname = "vim-language-server";
15 src = fetchFromGitHub {
17 repo = "vim-language-server";
18 rev = "v${finalAttrs.version}";
19 hash = "sha256-NfBKNCTvCMIJrSiTlCG+LtVoMBMdCc3rzpDb9Vp2CGM=";
22 offlineCache = fetchYarnDeps {
23 yarnLock = finalAttrs.src + "/yarn.lock";
24 hash = "sha256-mo8urQaWIHu33+r0Y7mL9mJ/aSe/5CihuIetTeDHEUQ=";
30 # Needed for executing package.json scripts
32 npmHooks.npmInstallHook
34 # https://stackoverflow.com/a/69699772/4935114
36 export NODE_OPTIONS=--openssl-legacy-provider
40 description = "VImScript language server, LSP for vim script";
41 homepage = "https://github.com/iamcco/vim-language-server";
42 license = licenses.mit;
43 maintainers = with maintainers; [ doronbehar ];
44 mainProgram = "vim-language-server";