guix-commits
[Top][All Lists]
Advanced

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

430/436: gnu: Add rust-dbus-tokio-0.7.


From: guix-commits
Subject: 430/436: gnu: Add rust-dbus-tokio-0.7.
Date: Sun, 5 Nov 2023 05:30:18 -0500 (EST)

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

commit 3b3ad174198abe2cd9934be3921ab9af58b23cf9
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 30 21:06:13 2023 +0000

    gnu: Add rust-dbus-tokio-0.7.
    
    * gnu/packages/crates-io.scm (rust-dbus-tokio-0.7): New variable.
    
    Change-Id: Ic473ae3b693cf3715f3c924c2cbae70c312215d8
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 77a7f65dd4..ceaf901033 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20365,6 +20365,35 @@ sizes.  Big-endian order is used.  WARNING: Block must 
be aligned!")
     (description "Framework for writing D-Bus method handlers in Rust.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-dbus-tokio-0.7
+  (package
+    (name "rust-dbus-tokio")
+    (version "0.7.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dbus-tokio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10112g227iasjiid7y9wrvnmxypfrczcymj2k5yjvcjk1i5ag88j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;tests require X11 $DISPLAY
+       #:cargo-inputs (("rust-dbus" ,rust-dbus-0.9)
+                       ("rust-dbus-crossroads" ,rust-dbus-crossroads-0.5)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-tokio" ,rust-tokio-1))
+       #:cargo-development-inputs (("rust-dbus-tree" ,rust-dbus-tree-0.9)
+                                   ("rust-futures" ,rust-futures-0.3)
+                                   ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs (list pkg-config))
+    (inputs (list dbus))
+    (home-page "https://github.com/diwic/dbus-rs";)
+    (synopsis "Access to D-Bus when using Rust's @code{Tokio} async framework")
+    (description
+     "Access to D-Bus when using Rust's @code{Tokio} async framework.")
+    (license license:expat)))
+
 (define-public rust-dbus-tree-0.9
   (package
     (name "rust-dbus-tree")



reply via email to

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