2024-06-05 15:53:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildNpmPackage
|
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
let
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.17.0";
|
2024-06-05 15:53:02 +00:00
|
|
|
in buildNpmPackage {
|
|
|
|
pname = "svelte-language-server";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://registry.npmjs.org/svelte-language-server/-/svelte-language-server-${version}.tgz";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-3JcpdpvxkOAIMAMsZx5UF1Sp+O6zC3jwYJGRdoZNbQg=";
|
2024-06-05 15:53:02 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
npmDepsHash = "sha256-poUbH9U/zN9LiuCCI1FCz+MnoYt8De64pMLSbtmoN30=";
|
2024-06-05 15:53:02 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
ln -s ${./package-lock.json} package-lock.json
|
|
|
|
'';
|
|
|
|
|
|
|
|
dontNpmBuild = true;
|
|
|
|
|
|
|
|
passthru.updateScript = ./update.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Language server (implementing the language server protocol) for Svelte";
|
|
|
|
downloadPage = "https://www.npmjs.com/package/svelte-language-server";
|
|
|
|
homepage = "https://github.com/sveltejs/language-tools";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
mainProgram = "svelteserver";
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2024-06-05 15:53:02 +00:00
|
|
|
};
|
|
|
|
}
|