Gaétan Lepage 2024-10-06 18:28:27 +02:00 committed by GitHub
parent 85813b7cfe
commit 394f5d51e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 26 additions and 25 deletions

View File

@ -11,7 +11,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
name = "tinymist";
publisher = "myriad-dreamin";
inherit (tinymist) version;
hash = "sha256-XkpoSf2UO3OoEMMpXBMkY1peQPR/4QoQ4LrY81IsHT0=";
hash = "sha256-PcCZkY1+ks9J5JaDJLVgiJuXgRxIvUZHI00gatjeVbA=";
};
nativeBuildInputs = [

View File

@ -3679,7 +3679,7 @@ dependencies = [
[[package]]
name = "sync-lsp"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"anyhow",
"clap",
@ -3819,7 +3819,7 @@ dependencies = [
[[package]]
name = "tests"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"insta",
"lsp-server",
@ -3916,7 +3916,7 @@ dependencies = [
[[package]]
name = "tinymist"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"anyhow",
"async-trait",
@ -3956,7 +3956,7 @@ dependencies = [
"serde_json",
"serde_yaml",
"sync-lsp",
"tinymist-assets 0.11.22 (registry+https://github.com/rust-lang/crates.io-index)",
"tinymist-assets 0.11.28 (registry+https://github.com/rust-lang/crates.io-index)",
"tinymist-query",
"tinymist-render",
"tinymist-world",
@ -3982,7 +3982,7 @@ dependencies = [
[[package]]
name = "tinymist-analysis"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"base64 0.22.1",
"comemo 0.4.0",
@ -3999,17 +3999,17 @@ dependencies = [
[[package]]
name = "tinymist-assets"
version = "0.11.22"
version = "0.11.28"
[[package]]
name = "tinymist-assets"
version = "0.11.22"
version = "0.11.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "133e31d88d00f03791f99009c4102a14b2b1a7474e8179ca7e2e42806c7134ef"
checksum = "a08ac1383bf5177ca572a0f88fb2175373ebe591d0c1bde0b85d6e0fa25d2f6b"
[[package]]
name = "tinymist-query"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"anyhow",
"base64 0.22.1",
@ -4060,7 +4060,7 @@ dependencies = [
[[package]]
name = "tinymist-render"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"base64 0.22.1",
"log",
@ -4071,7 +4071,7 @@ dependencies = [
[[package]]
name = "tinymist-world"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"anyhow",
"chrono",
@ -4086,7 +4086,7 @@ dependencies = [
"serde",
"serde_json",
"tar",
"tinymist-assets 0.11.22 (registry+https://github.com/rust-lang/crates.io-index)",
"tinymist-assets 0.11.28 (registry+https://github.com/rust-lang/crates.io-index)",
"typst-assets",
]
@ -4348,7 +4348,7 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
[[package]]
name = "typlite"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"base64 0.22.1",
"comemo 0.4.0",
@ -4492,7 +4492,7 @@ dependencies = [
[[package]]
name = "typst-preview"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"clap",
"comemo 0.4.0",
@ -4505,7 +4505,7 @@ dependencies = [
"reflexo-vec2svg",
"serde",
"serde_json",
"tinymist-assets 0.11.22 (registry+https://github.com/rust-lang/crates.io-index)",
"tinymist-assets 0.11.28 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio",
"typst",
"typst-assets",
@ -4533,7 +4533,7 @@ dependencies = [
[[package]]
name = "typst-shim"
version = "0.11.22"
version = "0.11.28"
dependencies = [
"cfg-if",
"typst",

View File

@ -8,9 +8,8 @@
zlib,
stdenv,
darwin,
versionCheckHook,
nix-update-script,
testers,
tinymist,
vscode-extensions,
}:
@ -18,13 +17,13 @@ rustPlatform.buildRustPackage rec {
pname = "tinymist";
# Please update the corresponding vscode extension when updating
# this derivation.
version = "0.11.22";
version = "0.11.28";
src = fetchFromGitHub {
owner = "Myriad-Dreamin";
repo = "tinymist";
rev = "refs/tags/v${version}";
hash = "sha256-CQt6ptVwx86rYmXSgQ962fJupRQidLRFXU6yYkWasR0=";
hash = "sha256-Wiuf53HlTMJeYJG815e9PgOtJBRxYRPllus7mmxdvM4=";
};
cargoLock = {
@ -64,14 +63,16 @@ rustPlatform.buildRustPackage rec {
"--skip=docs::tests::touying"
];
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "-V" ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
tests = {
vscode-extension = vscode-extensions.myriad-dreamin.tinymist;
version = testers.testVersion {
command = "${meta.mainProgram} -V";
package = tinymist;
};
};
};