diff mbox series

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

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

Change-Id: Icdbcd60cb0d46cec3101c3ec681bee2daa56d53f
---
 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 3652a2428e..0100995071 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20729,6 +20729,39 @@  (define-public rust-ego-tree-0.6
     (description "Ego Tree provides a vec-backed ID-tree.")
     (license license:isc)))
 
+(define-public rust-egui-0.26
+  (package
+    (name "rust-egui")
+    (version "0.26.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "egui" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1l4pa86xck0afi07nq3jxb7qd6r4alwyzbvldgy1bdm569a5j3qq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; src/../assets/ferris.png: No such file or directory
+       #:cargo-inputs
+       (("rust-accesskit" ,rust-accesskit-0.12)
+        ("rust-ahash" ,rust-ahash-0.8)
+        ("rust-backtrace" ,rust-backtrace-0.3)
+        ("rust-document-features" ,rust-document-features-0.2)
+        ("rust-epaint" ,rust-epaint-0.26)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-nohash-hasher" ,rust-nohash-hasher-0.2)
+        ("rust-puffin" ,rust-puffin-0.19)
+        ("rust-ron" ,rust-ron-0.8)
+        ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/emilk/egui")
+    (synopsis
+     "Immediate mode GUI that runs on both web and native")
+    (description
+     "This package provides an easy-to-use immediate mode GUI that runs
+on both web and native.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-either-1
   (package
     (name "rust-either")