diff mbox series

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

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

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1cf23d1dd6..1211484f14 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20639,6 +20639,31 @@  (define-public rust-ecb-0.1
     (description "Electronic Codebook (ECB) block cipher mode of operation")
     (license license:expat)))
 
+(define-public rust-ecolor-0.26
+  (package
+    (name "rust-ecolor")
+    (version "0.26.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ecolor" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kpgqk2ybc1dbqm5m0qic2plm09fhzb48q7wpz6siqch305yikq3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-cint" ,rust-cint-0.3)
+        ("rust-color-hex" ,rust-color-hex-0.2)
+        ("rust-document-features" ,rust-document-features-0.2)
+        ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/emilk/egui")
+    (synopsis "Color structs and color conversion utilities")
+    (description
+     "This package provides color structs and color conversion utilities.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-edit-distance-2
   (package
     (name "rust-edit-distance")