blob: d18ac720c6aaab5f6cca08441307da91d50f2171 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildNpmPackage,
fetchurl,
}:
buildNpmPackage rec {
pname = "vue-language-server";
version = "2.0.21";
src = fetchurl {
url = "https://registry.npmjs.org/@vue/language-server/-/language-server-${version}.tgz";
hash = "sha256-FTsLvSZr+03o8h/udMfcUGBK41/xkrNeMUuOliataH8=";
};
npmDepsHash = "sha256-wYrLN42If6gAjRok0tAdVvVoDmv5oK/vvPoT3BxtgdA=";
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";
};
}
|