gnu: rust-tectonic-bridge-harfbuzz-0.2: Update to 0.2.8.

* gnu/packages/crates-io.scm (rust-tectonic-bridge-harfbuzz-0.2): Update
to 0.2.8.
[source]: Add snippet to remove bundled harfbuzz, default to external
harfbuzz.
[arguments]: Don't skip build.
[inputs]: Add graphite2, harfbuzz, icu4c.
[native-inputs]: Add pkg-config.

Change-Id: Ibf330ab9a1dde380af0edc9cb5857991155c55c2
This commit is contained in:
Efraim Flashner 2023-10-28 15:51:30 +03:00
parent 664c11c5e8
commit 49499fb094
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -74735,22 +74735,30 @@ (define-public rust-tectonic-bridge-graphite2-0.2
(define-public rust-tectonic-bridge-harfbuzz-0.2
(package
(name "rust-tectonic-bridge-harfbuzz")
(version "0.2.2")
(version "0.2.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "tectonic_bridge_harfbuzz" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "01f307014bndmby6prpygzkf7wxdxfrl36pvcw7s5mika7s7bw9k"))))
(base32 "18mn8yjrnh2dv7r40ipzj8qzqda09cn3c7dsl7134wv1whn42hvb"))
(snippet
#~(begin (use-modules (guix build utils))
(delete-file-recursively "harfbuzz")
(substitute* "Cargo.toml"
(("external-harfbuzz")
(string-append "default = ['external-harfbuzz']\n"
"external-harfbuzz")))))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
`(#:cargo-inputs
(("rust-cc" ,rust-cc-1)
("rust-tectonic-bridge-graphite2" ,rust-tectonic-bridge-graphite2-0.2)
("rust-tectonic-bridge-icu" ,rust-tectonic-bridge-icu-0.2)
("rust-tectonic-dep-support" ,rust-tectonic-dep-support-0.1))))
(inputs (list freetype graphite2 harfbuzz icu4c))
(native-inputs (list pkg-config))
(home-page "https://tectonic-typesetting.github.io/")
(synopsis "Expose the Harfbuzz C/C++ APIs to Rust/Cargo")
(description