aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAleksandr Vityazev <avityazew@gmail.com>2023-10-07 03:02:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-22 15:43:34 +0300
commit8f2d1307fc997c1d4e878225a1bada1fa31069bc (patch)
treea8604ba667b9d81b6dc3d3d94890a4eaa9fe52f6 /gnu
parent608df1c98bcb60d337ad0079a9f7dcf46c228713 (diff)
downloadguix-8f2d1307fc997c1d4e878225a1bada1fa31069bc.tar.gz
guix-8f2d1307fc997c1d4e878225a1bada1fa31069bc.zip
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
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")