Merge pull request #252440 from figsoda/emmet
This commit is contained in:
commit
a5e4163b4d
2 changed files with 39 additions and 0 deletions
37
pkgs/development/tools/language-servers/emmet-ls/default.nix
Normal file
37
pkgs/development/tools/language-servers/emmet-ls/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "emmet-ls";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aca";
|
||||
repo = "emmet-ls";
|
||||
rev = version;
|
||||
hash = "sha256-TmsJpVLF9FZf/6uOM9LZBKC6S3bMPjA3QMiRMPaY9Dg=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-Boaxkad7S6H+eTW5AHwBa/zj/f1oAGGSsmW1QrzuFWc=";
|
||||
|
||||
patches = [
|
||||
# update package-lock.json as it is outdated
|
||||
(fetchpatch {
|
||||
name = "fix-lock-file-to-match-package-json.patch";
|
||||
url = "https://github.com/aca/emmet-ls/commit/111111a2c2113f751fa12a716ccfbeae61c32079.patch";
|
||||
hash = "sha256-/3ZbOBxScnfhL1F66cnIoD2flVeYTJ2sLxNHQ9Yrgjw=";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Emmet support based on LSP";
|
||||
homepage = "https://github.com/aca/emmet-ls";
|
||||
changelog = "https://github.com/aca/emmet-ls/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "emmet-ls";
|
||||
};
|
||||
}
|
|
@ -18507,6 +18507,8 @@ with pkgs;
|
|||
|
||||
dot-language-server = callPackage ../development/tools/language-servers/dot-language-server { };
|
||||
|
||||
emmet-ls = callPackage ../development/tools/language-servers/emmet-ls { };
|
||||
|
||||
fortls = python3.pkgs.callPackage ../development/tools/language-servers/fortls { };
|
||||
|
||||
fortran-language-server = python3.pkgs.callPackage ../development/tools/language-servers/fortran-language-server { };
|
||||
|
|
Loading…
Reference in a new issue