chezmoi: 2.56.0 -> 2.57.0 (#372077)
[NixPkgs.git] / pkgs / by-name / vu / vue-language-server / package.nix
bloba2d7ae4c71e0e949dcd34a0dc988b99fce6bb3de
2   lib,
3   buildNpmPackage,
4   fetchurl,
5 }:
7 buildNpmPackage rec {
8   pname = "vue-language-server";
9   version = "2.2.0";
11   src = fetchurl {
12     url = "https://registry.npmjs.org/@vue/language-server/-/language-server-${version}.tgz";
13     hash = "sha256-foWKEhK8YE4ZsbejJUKKPNR+G7ZrJWIPEk/1PVe6YRo=";
14   };
16   npmDepsHash = "sha256-4wpVJt6C4Yt53NWWq3MZLtzX+Spf3by4bM6hjmF2y6A=";
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   };