From 2cc9e095bcdd7ab4fbe39152f4c833b7292dfaeb Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 4 Apr 2023 20:00:36 -0400 Subject: [PATCH 1/2] typst: update to 0.1.0. --- srcpkgs/typst/patches/cargo-workspace.patch | 22 --------------------- srcpkgs/typst/template | 9 ++++++--- 2 files changed, 6 insertions(+), 25 deletions(-) delete mode 100644 srcpkgs/typst/patches/cargo-workspace.patch diff --git a/srcpkgs/typst/patches/cargo-workspace.patch b/srcpkgs/typst/patches/cargo-workspace.patch deleted file mode 100644 index e84cc18b2d2a..000000000000 --- a/srcpkgs/typst/patches/cargo-workspace.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 613c644f0479b2aae6be96fa389352883a2321c3 Mon Sep 17 00:00:00 2001 -From: figsoda -Date: Sat, 1 Apr 2023 08:22:47 -0400 -Subject: [PATCH] Default workspace members to cli (#484) - ---- - Cargo.toml | 1 + - flake.nix | 3 --- - 2 files changed, 1 insertion(+), 3 deletions(-) - -diff --git a/Cargo.toml b/Cargo.toml -index 3db8b3b9c..3fe010947 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -6,6 +6,7 @@ edition = "2021" - - [workspace] - members = ["cli", "docs", "library", "macros", "tests"] -+default-members = ["cli"] - - [lib] - doctest = false diff --git a/srcpkgs/typst/template b/srcpkgs/typst/template index 421b8ecc6bdd..836807a0eefd 100644 --- a/srcpkgs/typst/template +++ b/srcpkgs/typst/template @@ -1,6 +1,7 @@ # Template file for 'typst' pkgname=typst -version=23.03.28 +reverts="23.03.28_1" +version=0.1.0 revision=1 build_style=cargo make_install_args="--path cli" @@ -9,5 +10,7 @@ maintainer="classabbyamp " license="Apache-2.0" homepage="https://typst.app" changelog="https://typst.app/docs/changelog/" -distfiles="https://github.com/typst/typst/archive/refs/tags/v${version//./-}.tar.gz" -checksum=494b0438940a21370d31d44e090e1a6b1b3acabc8b9c4c181455f86441d5cab7 +distfiles="https://github.com/typst/typst/archive/refs/tags/v${version}.tar.gz" +checksum=9da7543266c7776aed56c36b9fab95fdb7241674b426cfba287a21f4cf07c172 + +export TYPST_VERSION="$version" From faf3d22b5907c79c9646d970a1f3683fbeb2f3b8 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 6 Apr 2023 14:17:38 -0400 Subject: [PATCH 2/2] typst-lsp: update to 0.3.2. --- srcpkgs/typst-lsp/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/typst-lsp/template b/srcpkgs/typst-lsp/template index 04ffa56467e5..60fe47d4d0f0 100644 --- a/srcpkgs/typst-lsp/template +++ b/srcpkgs/typst-lsp/template @@ -1,6 +1,6 @@ # Template file for 'typst-lsp' pkgname=typst-lsp -version=0.3.1 +version=0.3.2 revision=1 build_style=cargo short_desc="Language server for Typst" @@ -8,7 +8,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=27530f8e2e68954faefa0859151de52951d986ef2a5e0f67b6e76e568d285549 +checksum=9bb55c8a0421da98c99ef80e60b6014b2e6b7cf8b3b107d6db710ccf3aab96aa post_install() { vlicense LICENSE-MIT.txt