mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
typst-lsp: update to 0.9.0.
This commit is contained in:
parent
5660bdfa80
commit
4bbe673b42
2 changed files with 50 additions and 2 deletions
42
srcpkgs/typst-lsp/patches/revert-reqwest-target.patch
Normal file
42
srcpkgs/typst-lsp/patches/revert-reqwest-target.patch
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
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"
|
|
@ -1,14 +1,20 @@
|
||||||
# Template file for 'typst-lsp'
|
# Template file for 'typst-lsp'
|
||||||
pkgname=typst-lsp
|
pkgname=typst-lsp
|
||||||
version=0.7.2
|
version=0.9.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="openssl-devel"
|
||||||
short_desc="Language server for Typst"
|
short_desc="Language server for Typst"
|
||||||
maintainer="classabbyamp <void@placeviolette.net>"
|
maintainer="classabbyamp <void@placeviolette.net>"
|
||||||
license="Apache-2.0, MIT"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/nvarner/typst-lsp"
|
homepage="https://github.com/nvarner/typst-lsp"
|
||||||
distfiles="https://github.com/nvarner/typst-lsp/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/nvarner/typst-lsp/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=45023dc67276b87856ce5189ae904f408162521dde390d302ca01a928765ca08
|
checksum=fbebdff828c9f4be6899e4e8884f9d46ac5f5b5de17fda45df7dbb4d79b51f30
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
cargo generate-lockfile
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE-MIT.txt
|
vlicense LICENSE-MIT.txt
|
||||||
|
|
Loading…
Add table
Reference in a new issue