5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
34 lines
882 B
Nix
34 lines
882 B
Nix
{ lib
|
|
, buildNpmPackage
|
|
, fetchurl
|
|
}:
|
|
let
|
|
version = "0.16.13";
|
|
in buildNpmPackage {
|
|
pname = "svelte-language-server";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "https://registry.npmjs.org/svelte-language-server/-/svelte-language-server-${version}.tgz";
|
|
hash = "sha256-BtKeYAFDxaGPvN3d/2Kt+ViNukfKV92c6K0W2qdQHjU=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-YG6gxXDfgaHevwO62EdhWTXXZq/plC7Mx9RKZNDyLqo=";
|
|
|
|
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";
|
|
maintainers = [ ];
|
|
};
|
|
}
|