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

Message ID 8594394ec2901f9d339a56f01607b7465d4c3a9d.1743337576.git.gabrielsantosdesouza@disroot.org
State New
Headers
Series gnu: Add matugen. |

Commit Message

Gabriel Santos March 30, 2025, 12:26 p.m. UTC
  * 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(+)


base-commit: 87d7b2c2290b27472a35b8abc91057a8680ad7e9
  

Patch

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 <divya@subvertising.org>
 ;;; Copyright © 2025 Karl Hallsby <karl@hallsby.com>
 ;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com>
+;;; Copyright © 2025 Gabriel Santos <gabrielsantosdesouza@disroot.org>
 ;;;
 ;;; 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")