gnu: typst: Update to 0.14.0.

* gnu/packages/rust-apps.scm (typst): Update to 0.14.0.
[arguments]<#:rust>: Use rust-1.88.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[typst]: Update entry.
[rust-syntect-5]: Rename to rust-syntect-5.2.
[rust-syntect-5.3]: New entry.
* gnu/packages/rust-sources.scm (rust-hypher-0.1): Update to 0.1.6.
(rust-syntect-5): Rename to rust-syntect-5.2.
[inputs]: Rename cargo-inputs rust-syntect-5 to rust-syntect-5.2.
(rust-syntect-5.3): New variable.

Change-Id: I29180b456e9c49216f16bc7227ac60820bbf2c2b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Alexis Simon 2025-10-28 11:36:11 +01:00 committed by Efraim Flashner
parent 9e18e2c8e2
commit c8e8ca5f37
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
3 changed files with 1022 additions and 337 deletions

View file

@ -2856,17 +2856,18 @@ blanks grouped by language.")
(define-public typst
(package
(name "typst")
(version "0.13.1")
(version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "typst-cli" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "10xnxf6z78hcck7647vfq9vigrvvz0a6g4ha4l4vn5zlarrxwd56"))))
(base32 "0dzl7q637mhlkd026aknjk566hzkyr6ivg7qcwxivf1img24fvb3"))))
(build-system cargo-build-system)
(arguments
(list
#:rust rust-1.88
#:install-source? #f
#:modules '((guix build cargo-build-system)
(guix build utils)

File diff suppressed because it is too large Load diff

View file

@ -25,6 +25,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system cargo)
#:use-module (guix build-system trivial)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages assembly)
#:use-module (gnu packages base)
@ -34,6 +35,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages rust)
#:use-module (gnu packages textutils))
;;;
@ -100,7 +102,7 @@ transliterating them. It supports Emoji and Chinese.")
(hidden-package
(package
(name "rust-hypher")
(version "0.1.5")
(version "0.1.6")
(source
(origin
(method git-fetch)
@ -109,7 +111,7 @@ transliterating them. It supports Emoji and Chinese.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1r01hhgxp5fmz1bgy11ilajd67lgfh7kqvd258c58c6y3w3rxpjq"))
(base32 "0mbgfq51gf98dl8b4m7q0s66njjc4hb87qmd4lf361nmwh63m9hk"))
(modules '((guix build utils)))
;; Pre-generated.
(snippet '(for-each delete-file (find-files "tries")))))
@ -546,7 +548,7 @@ extensions, such as @code{wlr-protocols} and @code{plasma-wayland-protocols}.")
(base32
"0vzs9i3sdh6f1b25vdbxwyphmxzbqixrnjlgws56fzfngy4my9dj")))))
(define-public rust-syntect-5
(define-public rust-syntect-5.2
(hidden-package
(package
(name "rust-syntect")
@ -600,7 +602,7 @@ extensions, such as @code{wlr-protocols} and @code{plasma-wayland-protocols}.")
inspired-github-color-scheme-for-rust-syntect-5
solarized-for-rust-syntect-5
spacegray-for-rust-syntect-5))
(inputs (cons oniguruma (cargo-inputs 'rust-syntect-5)))
(inputs (cons oniguruma (cargo-inputs 'rust-syntect-5.2)))
(home-page "https://github.com/trishume/syntect")
(synopsis "Library for syntax highlighting and code intelligence")
(description
@ -608,6 +610,30 @@ extensions, such as @code{wlr-protocols} and @code{plasma-wayland-protocols}.")
intelligence.")
(license license:expat))))
(define-public rust-syntect-5.3
(hidden-package
(package
(inherit rust-syntect-5.2)
(name "rust-syntect")
(version "5.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/trishume/syntect")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "095yvdd4lpzfywcg5zr7pq28fm9iarx6a85mpgdc0g6d1waydp68"))
(modules '((guix build utils)))
(snippet (origin-snippet (package-source rust-syntect-5.2)))))
(arguments
(substitute-keyword-arguments (package-arguments rust-syntect-5.2)
((#:rust _ #f)
rust-1.88)))
(inputs (cons oniguruma
(cargo-inputs 'rust-syntect-5.3))))))
(define-public rust-web-view-0.7.3.82d7cbc
(let ((commit "82d7cbce6228b1a964673cc0f22944ad808eab42")
(revision "0"))