Subject: [PATCH v4 46/47] gnu: Add rust-letter-avatar-for-fractal.

From: Leo Prikler <[email-masked]>
Date: Thu, 11 Mar 2021 23:07:55 +0100

* gnu/packages/crates-gtk.scm (rust-letter-avatar-for-fractal): New variable.
---
 gnu/packages/crates-gtk.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index f1dc93e96c..7e24d4c445 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1687,6 +1687,30 @@ converts raw links to http links and strips unwanted tags.")
 renders username initials.")
     (license license:gpl3+)))
 
+(define-public rust-letter-avatar-for-fractal
+  (package
+    (inherit rust-letter-avatar-1)
+    (name "rust-letter-avatar")
+    (version "1.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "letter-avatar" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "00hnlyckr25h5hvisk90vf88diww6cds140s8cpfhjx4p33kxnm8"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-cairo-rs" ,rust-cairo-rs-0.8)
+         ("rust-pango" ,rust-pango-0.8)
+         ("rust-pangocairo" ,rust-pangocairo-0.9)
+         ("rust-unicode-segmentation"
+          ,rust-unicode-segmentation-1))))
+    (properties '((hidden? . #t)))))
+
 (define-public rust-libhandy-sys-0.5
   (package
     (name "rust-libhandy-sys")
-- 
2.30.1