Subject: [bug#77382] [PATCH rust-team 01/18] gnu: Add rust-colorsys-0.6.

From: Gabriel Santos <[email-masked]>
Date: Sun, 30 Mar 2025 09:26:16 -0300

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5934e47299..744861b339 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2025 Divya Ranjan Pattanaik <[email-masked]>
 ;;; Copyright © 2025 Karl Hallsby <[email-masked]>
 ;;; Copyright © 2025 Andrew Wong <[email-masked]>
+;;; Copyright © 2025 Gabriel Santos <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -14498,6 +14499,26 @@ (define-public rust-colored-1
        #:cargo-development-inputs (("rust-ansi-term" ,rust-ansi-term-0.12)
                                    ("rust-rspec" ,rust-rspec-1.0.0-beta.3))))))
 
+(define-public rust-colorsys-0.6
+  (package
+    (name "rust-colorsys")
+    (version "0.6.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "colorsys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1g8vwcv89n2dzi9bmbzqlj9cl9a89jz49668grbcncv4cjx1l9jl"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/emgyrz/colorsys.rs")
+    (synopsis
+     "Module for color conversion and mutation.")
+    (description
+     "This package provides a module for color conversion and mutation.
+Works with RGB(A), HSL(A), CMYK color models and with ANSI color codes.")
+    (license license:expat)))
+
 (define-public rust-colorz-1
   (package
     (name "rust-colorz")

base-commit: 87d7b2c2290b27472a35b8abc91057a8680ad7e9
-- 
2.49.0