Subject: [bug#73956] [PATCH rust-team 11/27] gnu: Add rust-freetype-rs-0.37.

From: Giacomo Leidi <[email-masked]>
Date: Wed, 23 Oct 2024 01:30:56 +0200

* 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 | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 921ade5e2b..29e0687779 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28273,21 +28273,21 @@ (define-public rust-freetype-0.7
     (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)
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2.6)
+                       ("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))))
@@ -28298,6 +28298,25 @@ (define-public rust-freetype-rs-0.35
     (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)
-- 
2.46.0