vscode-extensions.myriad-dreamin.tinymist: init at 0.11.1

This commit is contained in:
Pol Dellaiera 2024-03-29 09:43:37 +01:00
parent 106b852a30
commit 41df62c66c
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
1 changed files with 32 additions and 0 deletions

View File

@ -20,6 +20,7 @@
, millet
, craftos-pc
, shfmt
, tinymist
, typst-lsp
, typst-preview
, autoPatchelfHook
@ -3169,6 +3170,37 @@ let
};
};
myriad-dreamin.tinymist = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "tinymist";
publisher = "myriad-dreamin";
# Please update the corresponding binary (tinymist) when updating
# this extension.
version = "0.11.1";
sha256 = "sha256-jyZBnT8UW94TVnZKZna1cJa/UIj+DwYwlAbU4pnaf04=";
};
nativeBuildInputs = [ jq moreutils ];
buildInputs = [
tinymist
];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."tinymist.serverPath".default = "${lib.getExe tinymist}"' package.json | sponge package.json
'';
meta = {
changelog = "https://marketplace.visualstudio.com/items/myriad-dreamin.tinymist/changelog";
description = "A VSCode extension for providing a language server for Typst";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=nvarner.typst-lsp";
homepage = "https://github.com/myriad-dreamin/tinymist";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.drupol ];
};
};
naumovs.color-highlight = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "color-highlight";