efraim pushed a commit to branch rust-team
in repository guix.
commit 7735c3a7f14ef66c183e3663edebc1f87c925b10
Author: Giacomo Leidi <[email protected]>
AuthorDate: Wed Nov 6 21:41:15 2024 +0100
gnu: Add rust-freetype-rs-0.37.
* gnu/packages/crates-io.scm (rust-freetype-rs-0.37): New variable.
(rust-freetype-rs-0.35): Inherit from rust-freetype-rs-0.37.
Change-Id: I4836c67456a1acf3108dae3343b7db3055d8616b
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 75c3d13d6d..9fedb0e175 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28427,21 +28427,21 @@ values to other threads.")
(description "This package provides bindings for Freetype used by Servo.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-freetype-rs-0.35
+(define-public rust-freetype-rs-0.37
(package
(name "rust-freetype-rs")
- (version "0.35.0")
+ (version "0.37.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "freetype-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1gzfb9fax3d3s691ys99nfihpzwl7hacvxnwvlxg4sph1fzd5ymi"))))
+ (base32 "05albg00302i1w4fxijb5wil7bdnn4gcknw20q2df2azj8dzilfi"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
- ("rust-freetype-sys" ,rust-freetype-sys-0.20)
+ ("rust-freetype-sys" ,rust-freetype-sys-0.21)
("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
(("rust-unicode-normalization" ,rust-unicode-normalization-0.1))))
@@ -28452,6 +28452,25 @@ values to other threads.")
(description "This package provides bindings for FreeType font library.")
(license license:expat)))
+(define-public rust-freetype-rs-0.35
+ (package
+ (inherit rust-freetype-rs-0.37)
+ (name "rust-freetype-rs")
+ (version "0.35.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "freetype-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gzfb9fax3d3s691ys99nfihpzwl7hacvxnwvlxg4sph1fzd5ymi"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-freetype-sys" ,rust-freetype-sys-0.20)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-unicode-normalization" ,rust-unicode-normalization-0.1))))))
+
(define-public rust-freetype-rs-0.32
(package
(inherit rust-freetype-rs-0.35)