2024-07-01 15:47:52 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildNpmPackage,
|
|
|
|
fetchurl,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "vue-language-server";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2.0.26";
|
2024-07-01 15:47:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://registry.npmjs.org/@vue/language-server/-/language-server-${version}.tgz";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-SKEc7ft0FxafU7vuN5MQY97gdLG65fMpMIhV2aGosRs=";
|
2024-07-01 15:47:52 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
npmDepsHash = "sha256-kx3axLCVD0obVDE0RE6EM+ZnHU5mjMA+lF8H9dR0X2I=";
|
2024-07-01 15:47:52 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
ln -s ${./package-lock.json} package-lock.json
|
|
|
|
'';
|
|
|
|
|
|
|
|
dontNpmBuild = true;
|
|
|
|
|
|
|
|
passthru.updateScript = ./update.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Official Vue.js language server";
|
|
|
|
homepage = "https://github.com/vuejs/language-tools#readme";
|
|
|
|
changelog = "https://github.com/vuejs/language-tools/releases/tag/v${version}";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ friedow ];
|
|
|
|
mainProgram = "vue-language-server";
|
|
|
|
};
|
|
|
|
}
|