[bug#75677,rust-team,v2,55/81] gnu: rust-coolor-0.9: New variable.

Message ID 20250308033446.2101481-56-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:34 a.m. UTC
  * gnu/packages/crates-io.scm (rust-coolor-0.9): New variable.
---
 gnu/packages/crates-io.scm | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4870a764b8..c0094a9a9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16084,10 +16084,27 @@  (define-public rust-coolor-1
     (description "Conversion between color formats.")
     (license license:expat)))
 
-(define-public rust-coolor-0.8
+(define-public rust-coolor-0.9
   (package
     (inherit rust-coolor-1)
     (name "rust-coolor")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "coolor" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0yz2glmcnjlllchbgj96kkyj3d69jijqrzz1xsmidfbz4ivkks9p"))))
+    (arguments
+     `(#:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.27))
+       #:cargo-development-inputs (("rust-crossterm" ,rust-crossterm-0.27)
+                                   ("rust-rand" ,rust-rand-0.8))))))
+
+(define-public rust-coolor-0.8
+  (package
+    (inherit rust-coolor-0.9)
+    (name "rust-coolor")
     (version "0.8.0")
     (source
      (origin