biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / language-servers / emmet-ls / default.nix
blob5950dc5438555f7c02dcac38e1895cd86ad7e5b5
1 { lib
2 , buildNpmPackage
3 , fetchFromGitHub
4 , fetchpatch
5 }:
7 buildNpmPackage rec {
8   pname = "emmet-ls";
9   version = "0.4.1";
11   src = fetchFromGitHub {
12     owner = "aca";
13     repo = "emmet-ls";
14     rev = version;
15     hash = "sha256-TmsJpVLF9FZf/6uOM9LZBKC6S3bMPjA3QMiRMPaY9Dg=";
16   };
18   npmDepsHash = "sha256-Boaxkad7S6H+eTW5AHwBa/zj/f1oAGGSsmW1QrzuFWc=";
20   patches = [
21     # update package-lock.json as it is outdated
22     (fetchpatch {
23       name = "fix-lock-file-to-match-package-json.patch";
24       url = "https://github.com/aca/emmet-ls/commit/111111a2c2113f751fa12a716ccfbeae61c32079.patch";
25       hash = "sha256-/3ZbOBxScnfhL1F66cnIoD2flVeYTJ2sLxNHQ9Yrgjw=";
26     })
27   ];
29   meta = with lib; {
30     description = "Emmet support based on LSP";
31     homepage = "https://github.com/aca/emmet-ls";
32     changelog = "https://github.com/aca/emmet-ls/releases/tag/${version}";
33     license = licenses.mit;
34     maintainers = with maintainers; [ figsoda ];
35     mainProgram = "emmet-ls";
36   };