pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / vu / vue-language-server / package.nix
blobc45906517a0d9c7203b7f1ca704c60d8a2211e7a
2   lib,
3   buildNpmPackage,
4   fetchurl,
5 }:
7 buildNpmPackage rec {
8   pname = "vue-language-server";
9   version = "2.1.6";
11   src = fetchurl {
12     url = "https://registry.npmjs.org/@vue/language-server/-/language-server-${version}.tgz";
13     hash = "sha256-/bwfssKZRwVLojAC5cQsXsb9qXxzBshFwdezRPr65AY=";
14   };
16   npmDepsHash = "sha256-8Aq+b6yafFhhpjy4MB+CMgEwetUickRkjWTobsUoGmY=";
18   postPatch = ''
19     ln -s ${./package-lock.json} package-lock.json
20   '';
22   dontNpmBuild = true;
24   passthru.updateScript = ./update.sh;
26   meta = {
27     description = "Official Vue.js language server";
28     homepage = "https://github.com/vuejs/language-tools#readme";
29     changelog = "https://github.com/vuejs/language-tools/releases/tag/v${version}";
30     license = lib.licenses.mit;
31     maintainers = with lib.maintainers; [ friedow ];
32     mainProgram = "vue-language-server";
33   };