blob: 07f305f0160a0bb5f20970d77d732ebdb9b8ee4e (
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.24";
src = fetchurl {
url = "https://registry.npmjs.org/@vue/language-server/-/language-server-${version}.tgz";
hash = "sha256-uEYDg4Sybqodb2/w2mmZqi0uWffBzSSTvttcNWt01MI=";
};
npmDepsHash = "sha256-6idBvR+Ua6uwwX4doB1X8ERqgBI5bJ6e9G13JhPUFP4=";
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";
};
}
|