Merge pull request #265019 from figsoda/typst-lsp

typst-lsp: 0.10.1 -> 0.11.0
This commit is contained in:
Pol Dellaiera
2023-11-03 06:05:12 +01:00
committed by GitHub
3 changed files with 684 additions and 430 deletions
@@ -2735,8 +2735,8 @@ let
publisher = "nvarner";
# Please update the corresponding binary (typst-lsp) when updating
# this extension.
version = "0.10.1";
sha256 = "sha256-+LOw9JPpL5eLNxmP4kyPo9S/w8ZxfPGSaY1oR8THmvI=";
version = "0.11.0";
sha256 = "sha256-fs+CBg3FwzTn608dm9EvfF2UrI2Sa5hsm0OK/WQyy6o=";
};
nativeBuildInputs = [ jq moreutils ];
File diff suppressed because it is too large Load Diff
@@ -9,31 +9,35 @@ rustPlatform.buildRustPackage rec {
pname = "typst-lsp";
# Please update the corresponding vscode extension when updating
# this derivation.
version = "0.10.1";
version = "0.11.0";
src = fetchFromGitHub {
owner = "nvarner";
repo = "typst-lsp";
rev = "v${version}";
hash = "sha256-ZQLxZzWVGwFtU68ASlzBDMz8RHrA0h925u6UDk7vPe4=";
hash = "sha256-L0d+fDCLxU/XHC99VlIcZdiO3RohtWfoRnUPGIHodcc=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"typst-0.8.0" = "sha256-q2b/PoNwpzarJbIPzokYgZRD2/Oe/XB40C4VXdwL/NA=";
"typst-0.9.0" = "sha256-LwRB/AQE8TZZyHEQ7kKB10itzEgYjg4R/k+YFqmutDc=";
"typst-syntax-0.7.0" = "sha256-yrtOmlFAKOqAmhCP7n0HQCOQpU3DWyms5foCdUb9QTg=";
"typstfmt_lib-0.2.5" = "sha256-+iQOS+WPCWevUFurLfuC5mhuRdJ/1ZsekFoFDzZviag=";
"typstfmt_lib-0.2.6" = "sha256-UUVbnxIj7kQVpZvSbbB11i6wAvdTnXVk5cNSNoGBeRM=";
};
};
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
checkFlags = [
# requires internet access
"--skip=workspace::package::external::remote_repo::test::full_download"
] ++ lib.optionals stdenv.isDarwin [
# both tests fail on darwin with 'Attempted to create a NULL object.'
"--skip=workspace::fs::local::test::read"
"--skip=workspace::package::external::manager::test::local_package"
];
# workspace::package::external::manager::test::local_package tries to access the data directory