Gaetan Lepage 2024-06-28 07:38:14 +02:00
parent cf8674e467
commit e53f85726f
2 changed files with 373 additions and 246 deletions

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";