diff mbox series

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

Message ID 20240314211638.6190-31-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-glow-0.26): Add variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d51b9a8795..489cde6da2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20762,6 +20762,42 @@  (define-public rust-egui-0.26
 on both web and native.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-egui-glow-0.26
+  (package
+    (name "rust-egui-glow")
+    (version "0.26.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "egui_glow" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00gsa7jvknziyfp4kggxxayjarvyclf09v5z7m4mjk4bfbl3p3m0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-document-features" ,rust-document-features-0.2)
+        ("rust-egui" ,rust-egui-0.26)
+        ("rust-egui-winit" ,rust-egui-winit-0.26)
+        ("rust-glow" ,rust-glow-0.13)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-memoffset" ,rust-memoffset-0.9)
+        ("rust-puffin" ,rust-puffin-0.19)
+        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+        ("rust-web-sys" ,rust-web-sys-0.3)
+        ("rust-winit" ,rust-winit-0.29))
+       #:cargo-development-inputs
+       (("rust-glutin" ,rust-glutin-0.31)
+        ("rust-glutin-winit" ,rust-glutin-winit-0.4)
+        ("rust-raw-window-handle" ,rust-raw-window-handle-0.5))))
+    (home-page "https://github.com/emilk/egui/tree/master/crates/egui_glow")
+    (synopsis "Bindings for using egui natively using the glow library")
+    (description
+      "This package provides bindings for using egui natively with the
+glow library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-egui-winit-0.26
   (package
     (name "rust-egui-winit")