Subject: [PATCH rust-team 27/37] gnu: Add rust-epaint-0.26.

From: Herman Rimm <[email-masked]>
Date: Thu, 14 Mar 2024 22:16:28 +0100

* gnu/packages/crates-io.scm (rust-epaint-0.26): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1211484f14..3652a2428e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22180,6 +22180,42 @@ (define-public rust-envy-0.4
 deserialized from environment variables.")
      (license license:expat)))
 
+(define-public rust-epaint-0.26
+  (package
+    (name "rust-epaint")
+    (version "0.26.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "epaint" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bs7davjnss4v93hbm1i13g0qwqz52hy9sg6r2q5hzyx2zvgvfbp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ab-glyph" ,rust-ab-glyph-0.2)
+        ("rust-ahash" ,rust-ahash-0.8)
+        ("rust-backtrace" ,rust-backtrace-0.3)
+        ("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-document-features" ,rust-document-features-0.2)
+        ("rust-ecolor" ,rust-ecolor-0.26)
+        ("rust-emath" ,rust-emath-0.26)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-nohash-hasher" ,rust-nohash-hasher-0.2)
+        ("rust-parking-lot" ,rust-parking-lot-0.12)
+        ("rust-puffin" ,rust-puffin-0.19)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.5))))
+    (home-page "https://github.com/emilk/egui/tree/master/crates/epaint")
+    (synopsis "Minimal 2D graphics library for GUI work")
+    (description
+     "This package provides a minimal 2D graphics library for GUI work.")
+    ;; Fonts are licensed under SIL OFL 1.1 and Ubuntu Font License 1.0.
+    (license (list license:expat license:asl2.0 license:silofl1.1))))
+
 (define-public rust-erased-serde-0.4
   (package
     (name "rust-erased-serde")
-- 
2.41.0