summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-07-13 17:19:35 +0000
committerEfraim Flashner <efraim@flashner.co.il>2021-07-15 10:27:44 +0300
commitbfefe256a30ca3c8a84d6df216291b39bc4424e9 (patch)
treeff5fd9e9daa4a6069aff1c2fbeff7bdca8ebec88
parente3ff4a5bffa0023619c2d1373e320f9a2dfe5e57 (diff)
gnu: Add rust-dbus-0.6.
* gnu/packages/crates-io.scm (rust-dbus-0.6): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e8d7498643..a596c858ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12334,6 +12334,35 @@ GF(2^n). This trait is implemented for 64, 128 and 256 bit block
sizes. Big-endian order is used. WARNING: Block must be aligned!")
(license (list license:expat license:asl2.0))))
+(define-public rust-dbus-0.6
+ (package
+ (name "rust-dbus")
+ (version "0.6.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dbus" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "068qyxvaam34sjmhjgxz6iikklvylxly7gp6n00yksqydzrz1da8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;it needs display and sockets and launches daemons
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-libdbus-sys" ,rust-libdbus-sys-0.2))
+ #:cargo-development-inputs
+ (("rust-tempdir" ,rust-tempdir-0.3))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("dbus" ,dbus)))
+ (home-page "https://github.com/diwic/dbus-rs")
+ (synopsis "Rust bindings to D-Bus")
+ (description "This package provies Rust bindings to D-Bus.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-deadpool-0.7
(package
(name "rust-deadpool")