biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / language-servers / emmet-language-server / default.nix
blob09e08aa6477b4c1144bffa16a7813617945ff3c0
1 { lib
2 , buildNpmPackage
3 , fetchFromGitHub
4 }:
6 buildNpmPackage rec {
7   pname = "emmet-language-server";
8   version = "2.2.0";
10   src = fetchFromGitHub {
11     owner = "olrtg";
12     repo = "emmet-language-server";
13     rev = "v${version}";
14     hash = "sha256-53FbZ0hC2s9o6yXPYAy0vqe4tLcYMHLqeBMNuNI8Nd0=";
15   };
17   npmDepsHash = "sha256-luE8iYfTsSrBVcv0sE1yYnAksE2+icx9K4yNzjUV7U4=";
19   # Upstream doesn't have a lockfile
20   postPatch = ''
21     cp ${./package-lock.json} ./package-lock.json
22   '';
24   meta = with lib; {
25     description = "A language server for emmet.io";
26     homepage = "https://github.com/olrtg/emmet-language-server";
27     changelog = "https://github.com/olrtg/emmet-language-server/releases/tag/v${version}";
28     license = licenses.mit;
29     maintainers = with maintainers; [ stnley ];
30     mainProgram = "emmet-language-server";
31   };