[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/54: gnu: Add rust-rusttype-0.9.
From: |
guix-commits |
Subject: |
40/54: gnu: Add rust-rusttype-0.9. |
Date: |
Sun, 31 Jan 2021 03:52:25 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit ce345eddbdd63b6e92d661320b3d6a82dbafe076
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Jan 29 23:41:17 2021 +0100
gnu: Add rust-rusttype-0.9.
* gnu/packages/crates-io.scm (rust-rusttype-0.9): New variable.
(rust-rusttype-0.8): Inherit from above.
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++----------
1 file changed, 34 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3eb1511..34870e9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29928,8 +29928,41 @@ native certificate store.")
(license
(list license:asl2.0 license:isc license:expat))))
+(define-public rust-rusttype-0.9
+ (package
+ (name "rust-rusttype")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rusttype" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ngcwn7d2dybjrylga3gpxm3k3mcw3m405hcp32iignhvrx74z6w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ab-glyph-rasterizer" ,rust-ab-glyph-rasterizer-0.1)
+ ("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
+ ("rust-libm" ,rust-libm-0.2)
+ ("rust-linked-hash-map" ,rust-linked-hash-map-0.5)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-owned-ttf-parser" ,rust-owned-ttf-parser-0.6)
+ ("rust-rustc-hash" ,rust-rustc-hash-1))))
+ (home-page "https://gitlab.redox-os.org/redox-os/rusttype")
+ (synopsis "Pure Rust alternative to libraries like FreeType")
+ (description
+ "This package provides a pure Rust alternative to libraries like FreeType.
+RustType provides an API for loading, querying and rasterising TrueType fonts.
+It also provides an implementation of a dynamic GPU glyph cache for hardware
+font rendering.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rusttype-0.8
(package
+ (inherit rust-rusttype-0.9)
(name "rust-rusttype")
(version "0.8.2")
(source
@@ -29941,7 +29974,6 @@ native certificate store.")
(sha256
(base32
"12hwfg85iii7sbgsyyr23yw862dzp7f8zwn9xv5iqydm5w1i3a8l"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Artifacts for tests not included.
#:cargo-inputs
@@ -29954,15 +29986,7 @@ native certificate store.")
("rust-num-cpus" ,rust-num-cpus-1)
("rust-ordered-float" ,rust-ordered-float-1.0)
("rust-rustc-hash" ,rust-rustc-hash-1)
- ("rust-stb-truetype" ,rust-stb-truetype-0.3))))
- (home-page "https://gitlab.redox-os.org/redox-os/rusttype")
- (synopsis "Pure Rust alternative to libraries like FreeType")
- (description
- "This package provides a pure Rust alternative to libraries like FreeType.
-RustType provides an API for loading, querying and rasterising TrueType fonts.
-It also provides an implementation of a dynamic GPU glyph cache for hardware
-font rendering.")
- (license (list license:expat license:asl2.0))))
+ ("rust-stb-truetype" ,rust-stb-truetype-0.3))))))
(define-public rust-rusttype-0.7
(package
- 24/54: gnu: Add rust-core-text-19., (continued)
- 24/54: gnu: Add rust-core-text-19., guix-commits, 2021/01/31
- 34/54: gnu: Add rust-wayland-client-0.28., guix-commits, 2021/01/31
- 37/54: gnu: Add rust-ttf-parser-0.6., guix-commits, 2021/01/31
- 18/54: gnu: Add rust-servo-fontconfig-sys-5., guix-commits, 2021/01/31
- 19/54: gnu: Add rust-servo-fontconfig-0.5., guix-commits, 2021/01/31
- 29/54: gnu: Add rust-wayland-protocols-0.28., guix-commits, 2021/01/31
- 45/54: gnu: Add rust-clipboard-win-3., guix-commits, 2021/01/31
- 42/54: gnu: Add rust-smithay-client-toolkit-0.12., guix-commits, 2021/01/31
- 25/54: gnu: Add rust-crossfont-0.2., guix-commits, 2021/01/31
- 33/54: gnu: Add rust-wayland-sys-0.28., guix-commits, 2021/01/31
- 40/54: gnu: Add rust-rusttype-0.9.,
guix-commits <=
- 26/54: gnu: Add rust-x11-clipboard-0.5., guix-commits, 2021/01/31
- 27/54: gnu: Add rust-wayland-commons-0.28., guix-commits, 2021/01/31
- 30/54: gnu: Add rust-xcursor-0.3., guix-commits, 2021/01/31
- 39/54: gnu: Add rust-ab-glyph-rasterizer-0.1., guix-commits, 2021/01/31
- 48/54: gnu: Add rust-cocoa-0.24., guix-commits, 2021/01/31
- 52/54: gnu: Add rust-alacritty-terminal-0.12., guix-commits, 2021/01/31
- 36/54: gnu: Add rust-calloop-0.6., guix-commits, 2021/01/31
- 43/54: gnu: Add rust-smithay-clipboard-0.6., guix-commits, 2021/01/31
- 47/54: gnu: Add rust-core-graphics-0.22., guix-commits, 2021/01/31
- 35/54: gnu: Add rust-memmap2-0.1., guix-commits, 2021/01/31