guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Giacomo Leidi
Subject: [bug#73956] [PATCHv2 rust-team 11/27] gnu: Add rust-freetype-rs-0.37.
Date: Wed, 6 Nov 2024 21:41:15 +0100

* 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 b5423efc2e..73f45936b2 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]