From 90fd0f242ac10121215808bf91ed1f15cd761ec3 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 14 Aug 2023 03:00:30 -0400 Subject: [PATCH] typst-lsp: update to 0.9.1. --- .../patches/revert-reqwest-target.patch | 42 ------------------- srcpkgs/typst-lsp/template | 5 ++- 2 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 srcpkgs/typst-lsp/patches/revert-reqwest-target.patch diff --git a/srcpkgs/typst-lsp/patches/revert-reqwest-target.patch b/srcpkgs/typst-lsp/patches/revert-reqwest-target.patch deleted file mode 100644 index 2eeb8fab6d5..00000000000 --- a/srcpkgs/typst-lsp/patches/revert-reqwest-target.patch +++ /dev/null @@ -1,42 +0,0 @@ -reverts 1e368ed9759671c5f4658dc37b186a1f9bdc9ff8 -see https://github.com/nvarner/typst-lsp/issues/234 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -34,6 +34,7 @@ - ], optional = true } - parking_lot = "0.12.1" - regex = "1.8.1" -+reqwest = { version = "0.11.18", features = ["stream"] } - same-file = "1.0" - serde = { version = "1.0", features = ["derive"] } - serde_json = "1.0.94" -@@ -60,29 +61,5 @@ - typst-library = { git = "https://github.com/typst/typst.git", tag = "v0.7.0" } - walkdir = "2.3" - --[target.'cfg(not(any(all(target_arch = "aarch64", target_os = "linux"), all(target_arch = "x86_64", target_os = "linux", target_env = "musl"), all(target_arch = "arm", target_os = "linux", target_env = "gnu"))))'.dependencies] --reqwest = { version = "0.11.18", default-features = false, features = [ -- "stream", -- "default-tls", --] } -- --[target.aarch64-unknown-linux-gnu.dependencies] --reqwest = { version = "0.11.18", default-features = false, features = [ -- "stream", -- "rustls-tls", --] } -- --[target.x86_64-unknown-linux-musl.dependencies] --reqwest = { version = "0.11.18", default-features = false, features = [ -- "stream", -- "rustls-tls", --] } -- --[target.arm-unknown-linux-gnueabihf.dependencies] --reqwest = { version = "0.11.18", default-features = false, features = [ -- "stream", -- "rustls-tls", --] } -- - [dev-dependencies] - temp-dir = "0.1.11" diff --git a/srcpkgs/typst-lsp/template b/srcpkgs/typst-lsp/template index 3c412cd0c6a..90dd5bfd8fc 100644 --- a/srcpkgs/typst-lsp/template +++ b/srcpkgs/typst-lsp/template @@ -1,8 +1,9 @@ # Template file for 'typst-lsp' pkgname=typst-lsp -version=0.9.0 +version=0.9.1 revision=1 build_style=cargo +configure_args="--no-default-features --features remote-packages,native-tls" hostmakedepends="pkg-config" makedepends="openssl-devel" short_desc="Language server for Typst" @@ -10,7 +11,7 @@ maintainer="classabbyamp " license="Apache-2.0, MIT" homepage="https://github.com/nvarner/typst-lsp" distfiles="https://github.com/nvarner/typst-lsp/archive/refs/tags/v${version}.tar.gz" -checksum=fbebdff828c9f4be6899e4e8884f9d46ac5f5b5de17fda45df7dbb4d79b51f30 +checksum=a7e3e814713060521548663a676ad24eb097c54fb405fbc6d63da79731d5169d post_patch() { cargo generate-lockfile