Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
989 B
Nix
39 lines
989 B
Nix
{
|
|
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 = {
|
|
description = "Emmet support based on LSP";
|
|
homepage = "https://github.com/aca/emmet-ls";
|
|
changelog = "https://github.com/aca/emmet-ls/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ figsoda ];
|
|
mainProgram = "emmet-ls";
|
|
};
|
|
}
|