guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

77/84: gnu: Add rust-palette-derive-0.6.


From: guix-commits
Subject: 77/84: gnu: Add rust-palette-derive-0.6.
Date: Mon, 8 Jan 2024 12:54:26 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit d52688d1ec79a115eec24eaa75f85718157b5326
Author: Jaeme Sifat <jaeme@runbox.com>
AuthorDate: Fri Jan 5 23:52:34 2024 -0500

    gnu: Add rust-palette-derive-0.6.
    
    * gnu/packages/crates-graphics.scm (rust-palette-derive-0.6): New variable.
    
    Change-Id: Ia6a5ab81fb74278d05fa5a78430a5b2d40062c91
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-graphics.scm | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index f52b778d18..6e7f649b31 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -13,7 +13,7 @@
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
-;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
+;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2561,6 +2561,25 @@ on correctness, flexibility and ease of use.")
 @code{palette} crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-palette-derive-0.6
+  (package
+    (inherit rust-palette-derive-0.7)
+    (name "rust-palette-derive")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "palette_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "09z4nd4sbmzqd1pqr48vrdca3v2c03dzr70cmxs7zhp7m13dzvh5"))))
+    (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-1))))))
+
 (define-public rust-pbr-1
   (package
     (name "rust-pbr")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]