mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: Add rust-crossfont-0.8.
* gnu/packages/crates-io.scm (rust-crossfont-0.8): New variable. (rust-crossfont-0.7): Inherit from rust-crossfont-0.8. Change-Id: Ideafbed6b30736eaef842841f9a7f7fade1909e9
This commit is contained in:
parent
b0efc178a5
commit
e8dc7b5e89
1 changed files with 42 additions and 12 deletions
|
@ -18242,8 +18242,49 @@ (define-public rust-crossbeam-utils-0.6
|
|||
#:cargo-development-inputs
|
||||
(("rust-rand" ,rust-rand-0.6))))))
|
||||
|
||||
(define-public rust-crossfont-0.8
|
||||
(package
|
||||
(name "rust-crossfont")
|
||||
(version "0.8.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "crossfont" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1g490ap42qm1258222azy70mmd6b16dk8lza0142bjgk438jhkn4"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-cocoa" ,rust-cocoa-0.25)
|
||||
("rust-core-foundation" ,rust-core-foundation-0.9)
|
||||
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
|
||||
("rust-core-graphics" ,rust-core-graphics-0.23)
|
||||
("rust-core-text" ,rust-core-text-20)
|
||||
("rust-dwrote" ,rust-dwrote-0.11)
|
||||
("rust-foreign-types" ,rust-foreign-types-0.5)
|
||||
("rust-freetype-rs" ,rust-freetype-rs-0.36)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
("rust-objc" ,rust-objc-0.2)
|
||||
("rust-once-cell" ,rust-once-cell-1)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3)
|
||||
("rust-winapi" ,rust-winapi-0.3)
|
||||
("rust-yeslogic-fontconfig-sys" ,rust-yeslogic-fontconfig-sys-5))))
|
||||
(inputs
|
||||
(list expat fontconfig freetype))
|
||||
(native-inputs
|
||||
(list pkg-config))
|
||||
(home-page "https://github.com/alacritty/crossfont")
|
||||
(synopsis "Native font loading and rasterization")
|
||||
(description
|
||||
"Crossfont is a cross-platform Rust library for loading fonts and
|
||||
rasterizing glyphs, using native font engines whenever possible.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public rust-crossfont-0.7
|
||||
(package
|
||||
(inherit rust-crossfont-0.8)
|
||||
(name "rust-crossfont")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
|
@ -18253,7 +18294,6 @@ (define-public rust-crossfont-0.7
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0g09b9rq51v3xdnswmvwpgv3yp2b75lqvx3mv1l864fddqq6b778"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-cocoa" ,rust-cocoa-0.25)
|
||||
("rust-core-foundation" ,rust-core-foundation-0.9)
|
||||
|
@ -18269,17 +18309,7 @@ (define-public rust-crossfont-0.7
|
|||
("rust-once-cell" ,rust-once-cell-1)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3)
|
||||
("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5)
|
||||
("rust-winapi" ,rust-winapi-0.3))))
|
||||
(inputs
|
||||
(list expat fontconfig freetype))
|
||||
(native-inputs
|
||||
(list pkg-config))
|
||||
(home-page "https://github.com/alacritty/crossfont")
|
||||
(synopsis "Native font loading and rasterization")
|
||||
(description
|
||||
"Crossfont is a cross-platform Rust library for loading fonts and
|
||||
rasterizing glyphs, using native font engines whenever possible.")
|
||||
(license license:asl2.0)))
|
||||
("rust-winapi" ,rust-winapi-0.3))))))
|
||||
|
||||
(define-public rust-crossfont-0.5
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue