diff mbox series

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

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

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5ef4f76fe5..92a525000e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20848,6 +20848,30 @@  (define-public rust-egui-glow-0.26
 glow library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-egui-plot-0.26
+  (package
+    (name "rust-egui-plot")
+    (version "0.26.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "egui_plot" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0n6z8gmjjrfv1yqndnvd958n1l9hjwcwjsp20vqxfk99mnqzqfw0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-document-features" ,rust-document-features-0.2)
+        ("rust-egui" ,rust-egui-0.26)
+        ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/emilk/egui")
+    (synopsis "Immediate mode plotting for the egui GUI library")
+    (description
+      "This package provides immediate mode plotting for the egui GUI
+library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-egui-winit-0.26
   (package
     (name "rust-egui-winit")