diff mbox series

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

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

Change-Id: Id64e9d50b7e6e490200e3ab255574328ed68d324
---
 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 b976e99085..c88e535fcc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20938,6 +20938,30 @@  (define-public rust-email-0.0.20
      "This crate provides an implementation of RFC 5322 email messages.")
     (license license:expat)))
 
+(define-public rust-emath-0.26
+  (package
+    (name "rust-emath")
+    (version "0.26.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "emath" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02dgx8946bcy254rs8ijhx9k3n5xklfvagnzdiw8yi40rwg305k9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-document-features" ,rust-document-features-0.2)
+        ("rust-mint" ,rust-mint-0.5)
+        ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/emilk/egui/tree/master/crates/emath")
+    (synopsis "Minimal 2D math library for GUI work")
+    (description
+      "This package provides a minimal 2D math library for GUI work.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-emojis-0.5
   (package
     (name "rust-emojis")