Subject: [PATCH rust-team v3 29/78] gnu: Add rust-fontdb-0.21.

From: Andrew Wong <[email-masked]>
Date: Sun, 2 Mar 2025 16:30:00 -0500

* gnu/packages/crates-io.scm (rust-fontdb-0.21): New variable.

Change-Id: I6e2f55cd40447d35a695e519b8e8c2aeb3d5205c
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e5a269383a..8bfc5de48b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27554,6 +27554,32 @@ (define-public rust-fontconfig-parser-0.5
     (description "This package provides fontconfig file parser in pure Rust.")
     (license license:expat)))
 
+(define-public rust-fontdb-0.21
+  (package
+    (name "rust-fontdb")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fontdb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ywa563zfmq501pfhp7qn1zlfj9kyxkmg92prlwf8swn1p19zgip"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-fontconfig-parser" ,rust-fontconfig-parser-0.5)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-memmap2" ,rust-memmap2-0.9)
+                       ("rust-slotmap" ,rust-slotmap-1)
+                       ("rust-tinyvec" ,rust-tinyvec-1)
+                       ("rust-ttf-parser" ,rust-ttf-parser-0.24))))
+    (home-page "https://github.com/RazrFalcon/fontdb")
+    (synopsis "simple, in-memory font database with CSS-like queries.")
+    (description
+     "This package provides a simple, in-memory font database with CSS-like queries.")
+    (license license:expat)))
+
 (define-public rust-force-send-sync-1
   (package
     (name "rust-force-send-sync")
-- 
2.48.1