guix-commits
[Top][All Lists]
Advanced

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

30/40: gnu: Add rust-zbus-macros-1.


From: guix-commits
Subject: 30/40: gnu: Add rust-zbus-macros-1.
Date: Sun, 22 Oct 2023 09:40:36 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 8f2d1307fc997c1d4e878225a1bada1fa31069bc
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:02:57 2023 +0300

    gnu: Add rust-zbus-macros-1.
    
    * gnu/packages/crates-io.scm (rust-zbus-macros-1): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7b5376064..a481d0073e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83798,6 +83798,32 @@ for locating fonts.")
     (description "This package provides proc-macros for zbus.")
     (license license:expat)))
 
+(define-public rust-zbus-macros-1
+  (package
+    (inherit rust-zbus-macros-3)
+    (name "rust-zbus-macros")
+    (version "1.9.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zbus-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19p0pdwdf52zkaknav0pj5qvgcf52xk8a4p3a4ymxybwhjkmjfgs"))))
+    (arguments
+     `(#:tests? #f      ; Tests need a running dbus instance.
+       #:cargo-inputs
+       (("rust-proc-macro-crate" ,rust-proc-macro-crate-0.1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-rustversion" ,rust-rustversion-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-trybuild" ,rust-trybuild-1)
+        ("rust-zbus" ,rust-zbus-1)
+        ("rust-zvariant" ,rust-zvariant-2))))))
+
 (define-public rust-zbus-names-2
   (package
     (name "rust-zbus-names")



reply via email to

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