[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
410/471: gnu: Add rust-crossfont-0.5.
From: |
guix-commits |
Subject: |
410/471: gnu: Add rust-crossfont-0.5. |
Date: |
Wed, 3 May 2023 09:29:07 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit e765750d1f090633b3b9e3d7d4b72c3f95933065
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 12:24:06 2023 +0300
gnu: Add rust-crossfont-0.5.
* gnu/packages/crates-io.scm (rust-crossfont-0.5): New variable.
(rust-crossfont-0.3): Inherit from rust-crossfont-0.5.
---
gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++++++++--------
1 file changed, 43 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 78637cd0a5..1e81744b58 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15073,8 +15073,50 @@ message passing.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.6))))))
+(define-public rust-crossfont-0.5
+ (package
+ (name "rust-crossfont")
+ (version "0.5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "crossfont" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0icwpj9plf7bs0k34x86c58bwqyx2j3ji98aaahsncga6vfkmz91"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-build-flags '("--features" "force_system_fontconfig")
+ #:cargo-inputs
+ (("rust-cocoa" ,rust-cocoa-0.24)
+ ("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.22)
+ ("rust-core-text" ,rust-core-text-19)
+ ("rust-dwrote" ,rust-dwrote-0.11)
+ ("rust-foreign-types" ,rust-foreign-types-0.5)
+ ("rust-freetype-rs" ,rust-freetype-rs-0.26)
+ ("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-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)))
+
(define-public rust-crossfont-0.3
(package
+ (inherit rust-crossfont-0.5)
(name "rust-crossfont")
(version "0.3.1")
(source
@@ -15084,7 +15126,6 @@ message passing.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "079431wkjc18zj3038djai83z6fna0x7r1hxpxjhhi50jdz9dh5n"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -15100,13 +15141,7 @@ message passing.")
("rust-log" ,rust-log-0.4)
("rust-pkg-config" ,rust-pkg-config-0.3)
("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5)
- ("rust-winapi" ,rust-winapi-0.3))))
- (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-crossterm-0.25
(package
- 388/471: gnu: rust-wayland-protocols-0.29: Update to 0.29.5., (continued)
- 388/471: gnu: rust-wayland-protocols-0.29: Update to 0.29.5., guix-commits, 2023/05/03
- 389/471: gnu: rust-wayland-scanner-0.29: Update to 0.29.5., guix-commits, 2023/05/03
- 390/471: gnu: rust-wayland-server-0.29: Update to 0.29.5., guix-commits, 2023/05/03
- 396/471: gnu: Add rust-winit-0.28., guix-commits, 2023/05/03
- 397/471: gnu: Add rust-smithay-client-toolkit-0.16., guix-commits, 2023/05/03
- 402/471: gnu: Add rust-x11-clipboard-0.7., guix-commits, 2023/05/03
- 401/471: gnu: rust-smithay-clipboard-0.6: Update to 0.6.6., guix-commits, 2023/05/03
- 403/471: gnu: Add rust-x11rb-0.10., guix-commits, 2023/05/03
- 404/471: gnu: Add rust-x11rb-protocol-0.10., guix-commits, 2023/05/03
- 408/471: gnu: Add rust-copypasta-0.8., guix-commits, 2023/05/03
- 410/471: gnu: Add rust-crossfont-0.5.,
guix-commits <=
- 414/471: gnu: Add rust-unindent-0.2., guix-commits, 2023/05/03
- 415/471: gnu: Add rust-indoc-2., guix-commits, 2023/05/03
- 420/471: gnu: rust-serde-derive-1: Update to 1.0.160., guix-commits, 2023/05/03
- 439/471: gnu: rust-vcpkg-0.2: Update to 0.2.15., guix-commits, 2023/05/03
- 442/471: gnu: Add rust-ab-glyph-0.2., guix-commits, 2023/05/03
- 445/471: gnu: rust-libloading-0.7: Update to 0.7.4., guix-commits, 2023/05/03
- 449/471: gnu: rust-bindgen-0.64: Add missing input., guix-commits, 2023/05/03
- 455/471: gnu: rust-selectors-0.21: Fix cargo inputs., guix-commits, 2023/05/03
- 469/471: gnu: rust-gmp-mpfr-sys-1: Remove bundled libraries., guix-commits, 2023/05/03
- 301/471: gnu: rust-adblock-0.7: Add missing input., guix-commits, 2023/05/03