diff mbox series

[bug#67515,46/91] gnu: Add rust-coolor-0.5.0.

Message ID DU2P193MB2132B6AC772A8FE21D11C4A3F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:12 p.m. UTC
* gnu/packages/crates-io.scm (rust-coolor-0.5.0): New variable.

Change-Id: I99d7d496c3d6dc29a0574d1a57df14fdae9e01e8
---
 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c246ebedd..4de170feef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15646,6 +15646,23 @@  (define-public rust-coolor-0.5
     (description "conversion between color formats")
     (license license:expat)))
 
+(define-public rust-coolor-0.5.0
+  (package
+    (inherit rust-coolor-0.5)
+    (name "rust-coolor")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "coolor" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bdaqnbpgnr19ma0wi0bkf9smz938ffq0753c662znd0bj07lkdg"))))
+    (arguments
+     `(#:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.23))
+       #:cargo-development-inputs (("rust-crossterm" ,rust-crossterm-0.23)
+                                   ("rust-rand" ,rust-rand-0.8))))))
+
 (define-public rust-copyless-0.1
   (package
     (name "rust-copyless")