Subject: [PATCH 49/55] gnu: Add rust-palette-derive-0.7.

From: Jaeme Sifat <[email-masked]>
Date: Tue, 19 Dec 2023 22:55:11 -0500

* gnu/packages/crates-graphics.scm (rust-palette-derive-0.7): New variable.

Change-Id: I0d4341fc5140ab62fccfee6b5e68d37ba4788f92
---
 gnu/packages/crates-graphics.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index aa5ef73759..135cae9cc0 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1848,6 +1848,31 @@ (define-public rust-osmesa-sys-0.1
     (description "This package provides OSMesa library bindings for Rust.")
     (license license:cc0)))
 
+(define-public rust-palette-derive-0.7
+  (package
+    (name "rust-palette-derive")
+    (version "0.7.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "palette_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02ps239sxcr5v294qf89d87sv7fdm9pr2cziwj2l6ggzql703nxp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-find-crate" ,rust-find-crate-0.6)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/Ogeon/palette")
+    (synopsis
+     "Automatically implement traits from the @code{palette} crate")
+    (description
+     "This package allows automatically implements traits from the
+@code{palette} crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-piston-float-1
   (package
     (name "rust-piston-float")
-- 
2.41.0