Subject: [bug#68312] [PATCH 150/156] gnu: Add rust-wezterm-color-types-0.2.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:54:07 +0100

* gnu/packages/crates-io.scm (rust-wezterm-color-types-0.2): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e95012f5fd..6c770529d23 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85484,6 +85484,30 @@ (define-public rust-wepoll-sys-stjepang-1
 using @code{bindgen}.")
     (license license:mpl2.0)))
 
+(define-public rust-wezterm-color-types-0.2
+  (package
+    (name "rust-wezterm-color-types")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wezterm-color-types" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0xvphmrqgg69v9l879xj5lq010z13f5ixi854ykmny6j7m47lvjc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-csscolorparser" ,rust-csscolorparser-0.6)
+                       ("rust-deltae" ,rust-deltae-0.3)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-wezterm-dynamic" ,rust-wezterm-dynamic-0.1))))
+    (home-page "https://github.com/wez/wezterm")
+    (synopsis "Types for working with colors")
+    (description "Types for working with colors")
+    (license license:expat)))
+
 (define-public rust-which-5
   (package
     (name "rust-which")
-- 
2.41.0