Merge pull request #323092 from GaetanLepage/tinymist

tinymist: 0.11.11 -> 0.11.12
This commit is contained in:
Pol Dellaiera 2024-06-28 08:05:37 +02:00 committed by GitHub
commit abaa3c27dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 374 additions and 247 deletions

View File

@ -11,7 +11,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
name = "tinymist";
publisher = "myriad-dreamin";
inherit (tinymist) version;
hash = "sha256-Oama8FkRhEY4yza77RpWHg0Aeo9WFhveucJqJvCYMJQ=";
hash = "sha256-tQjeKqNIhsf2nLdvncH1X6R9HiSTaizBtlAgrfAGtWs=";
};
nativeBuildInputs = [

File diff suppressed because it is too large Load Diff

View File

@ -7,19 +7,22 @@
, zlib
, stdenv
, darwin
, nix-update-script
, testers
, tinymist
}:
rustPlatform.buildRustPackage rec {
pname = "tinymist";
# Please update the corresponding vscode extension when updating
# this derivation.
version = "0.11.11";
version = "0.11.12";
src = fetchFromGitHub {
owner = "Myriad-Dreamin";
repo = "tinymist";
rev = "refs/tags/v${version}";
hash = "sha256-uXrV3tvv9fXoEdFH+ajHECfNy4uTvUZBkhkfzGzj3HE=";
hash = "sha256-hqTVfEKaAG18JpUZajm0XaoX6kw26aE37T/kfoNNxk8=";
};
cargoLock = {
@ -50,6 +53,14 @@ rustPlatform.buildRustPackage rec {
"--skip=e2e"
];
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
command = "${meta.mainProgram} -V";
package = tinymist;
};
};
meta = {
changelog = "https://github.com/Myriad-Dreamin/tinymist/blob/${src.rev}/CHANGELOG.md";
description = "Tinymist is an integrated language service for Typst";