Subject: [PATCH 034/156] gnu: Add rust-csscolorparser-0.6.

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

* gnu/packages/crates-io.scm (rust-csscolorparser-0.6): New variable.

Change-Id: I5cfa99e419aafef4641a92e5d67880bc485829d7
---
 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 66f96a0f3f6..bb2629efa74 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17607,6 +17607,30 @@ (define-public rust-cssparser-0.25
         ("rust-encoding-rs" ,rust-encoding-rs-0.8)
         ("rust-serde-json" ,rust-serde-json-1))))))
 
+(define-public rust-csscolorparser-0.6
+  (package
+    (name "rust-csscolorparser")
+    (version "0.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "csscolorparser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gxh11hajx96mf5sd0az6mfsxdryfqvcfcphny3yfbfscqq7sapb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cint" ,rust-cint-0.3)
+                       ("rust-lab" ,rust-lab-0.11)
+                       ("rust-phf" ,rust-phf-0.11)
+                       ("rust-rgb" ,rust-rgb-0.8)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/mazznoer/csscolorparser-rs")
+    (synopsis "CSS color parser library")
+    (description "CSS color parser library")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-cssparser-macros-0.6
   (package
     (name "rust-cssparser-macros")
-- 
2.41.0