Merge pull request #223720 from GaetanLepage/typst-lsp

typst-lsp: init at 0.3.0
This commit is contained in:
figsoda 2023-03-29 09:37:27 -04:00 committed by GitHub
commit 10361ddab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1967 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,33 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "typst-lsp";
version = "0.3.0";
src = fetchFromGitHub {
owner = "nvarner";
repo = pname;
rev = "v${version}";
hash = "sha256-WLfGrYrhOXesdlyDwUb2iUgTAHW1ASolT/JjGKq60OU=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"lipsum-0.8.2" = "sha256-deIbpn4YM7/NeuJ5Co48ivJmxwrcsbLl6c3cP3JZxAQ=";
"typst-0.0.0" = "sha256-0fTGbXdpzPadABWqdReQNZf2N7OMZ8cs9U5fmhfN6m4=";
};
};
cargoHash = "sha256-ISkw0lhUKJG8nWUHcR93sLUFt5dDEyK7EORcOXEmVbE=";
meta = with lib; {
description = "A brand-new language server for Typst";
homepage = "https://github.com/nvarner/typst-lsp";
license = with licenses; [ mit ];
maintainers = with maintainers; [ GaetanLepage ];
};
}

View File

@ -17287,6 +17287,8 @@ with pkgs;
svls = callPackage ../development/tools/language-servers/svls { };
typst-lsp = callPackage ../development/tools/language-servers/typst-lsp { };
vala-language-server = callPackage ../development/tools/language-servers/vala-language-server { };
verible = callPackage ../development/tools/language-servers/verible { };