2024-11-15 14:31:17 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildNpmPackage,
|
|
|
|
fetchFromGitHub,
|
2023-09-16 18:28:23 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "emmet-language-server";
|
2024-11-15 14:31:17 +00:00
|
|
|
version = "2.6.0";
|
2023-09-16 18:28:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "olrtg";
|
|
|
|
repo = "emmet-language-server";
|
|
|
|
rev = "v${version}";
|
2024-11-15 14:31:17 +00:00
|
|
|
hash = "sha256-R20twrmfLz9FP87qkjgz1R/n+Nhzwn22l9t/2fyuVeM=";
|
2023-09-16 18:28:23 +00:00
|
|
|
};
|
|
|
|
|
2024-11-15 14:31:17 +00:00
|
|
|
npmDepsHash = "sha256-yv+5/wBif75AaAsbJrwLNtlui9SHws2mu3jYOR1Z55M=";
|
2023-09-16 18:28:23 +00:00
|
|
|
|
|
|
|
# Upstream doesn't have a lockfile
|
|
|
|
postPatch = ''
|
|
|
|
cp ${./package-lock.json} ./package-lock.json
|
|
|
|
'';
|
|
|
|
|
2024-11-15 14:31:17 +00:00
|
|
|
meta = {
|
2023-09-16 18:28:23 +00:00
|
|
|
description = "Language server for emmet.io";
|
|
|
|
homepage = "https://github.com/olrtg/emmet-language-server";
|
|
|
|
changelog = "https://github.com/olrtg/emmet-language-server/releases/tag/v${version}";
|
2024-11-15 14:31:17 +00:00
|
|
|
license = lib.licenses.mit;
|
2024-11-30 01:17:55 +00:00
|
|
|
maintainers = [ ];
|
2023-09-16 18:28:23 +00:00
|
|
|
mainProgram = "emmet-language-server";
|
|
|
|
};
|
|
|
|
}
|