diff mbox series

[bug#69803,rust-team,29/37] gnu: Add rust-egui-winit-0.26.

Message ID 20240314211638.6190-29-herman@rimm.ee
State New
Headers show
Series [bug#69803,rust-team,01/37] gnu: Add rust-rename-item-0.1. | expand

Commit Message

Herman Rimm March 14, 2024, 9:16 p.m. UTC
* gnu/packages/crates-io.scm (rust-egui-winit-0.26): Add variable.

Change-Id: If262abbf593893983f2b3e0d8d101b8eb94d696a
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0100995071..d51b9a8795 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20762,6 +20762,39 @@  (define-public rust-egui-0.26
 on both web and native.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-egui-winit-0.26
+  (package
+    (name "rust-egui-winit")
+    (version "0.26.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "egui-winit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18h4n3ldp6f7xdn71x7948q8ra3fnx327ss50m4d8w4zv3w48kda"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-accesskit-winit" ,rust-accesskit-winit-0.16)
+        ("rust-arboard" ,rust-arboard-3)
+        ("rust-document-features" ,rust-document-features-0.2)
+        ("rust-egui" ,rust-egui-0.26)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-puffin" ,rust-puffin-0.19)
+        ("rust-raw-window-handle" ,rust-raw-window-handle-0.6)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.7)
+        ("rust-web-time" ,rust-web-time-0.2)
+        ("rust-webbrowser" ,rust-webbrowser-0.8)
+        ("rust-winit" ,rust-winit-0.29))))
+    (home-page
+      "https://github.com/emilk/egui/tree/master/crates/egui-winit")
+    (synopsis "Bindings for using egui with winit")
+    (description
+      "This package provides bindings for using egui with winit.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-either-1
   (package
     (name "rust-either")