aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphodina <phodina@protonmail.com>2021-09-03 22:58:09 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-17 12:24:35 +0200
commit840c9def685d3aab37c033b118552477dcdeee82 (patch)
treefdbe8a53656672954164062014691843f6b057dd
parent1c60c7c18394e63ab1d8c6839dc418a2bed00a19 (diff)
downloadguix-840c9def685d3aab37c033b118552477dcdeee82.tar
guix-840c9def685d3aab37c033b118552477dcdeee82.tar.gz
gnu: Add rust-dbus-0.9.
* gnu/packages/crates-io.scm (rust-dbus-0.9): New variable. (rust-dbus-0.6): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm39
1 files changed, 31 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 50f9eddddd..93b4101768 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12836,26 +12836,28 @@ 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
+(define-public rust-dbus-0.9
(package
(name "rust-dbus")
- (version "0.6.5")
+ (version "0.9.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "dbus" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "068qyxvaam34sjmhjgxz6iikklvylxly7gp6n00yksqydzrz1da8"))))
+ (base32 "1ny01n0gzfdmcy5ydn4q78pamidj4c5q9ixz7gr97dbrza6y15zm"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ;it needs display and sockets and launches daemons
+ `(#:tests? #f ;it needs display and sockets and launches daemons
#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
+ (("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-libc" ,rust-libc-0.2)
("rust-libdbus-sys" ,rust-libdbus-sys-0.2))
#:cargo-development-inputs
- (("rust-tempdir" ,rust-tempdir-0.3))))
+ (("rust-tempfile" ,rust-tempfile-3))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
@@ -12865,6 +12867,27 @@ sizes. Big-endian order is used. WARNING: Block must be aligned!")
(description "This package provies Rust bindings to D-Bus.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-dbus-0.6
+ (package
+ (inherit rust-dbus-0.9)
+ (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"))))
+ (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))))))
+
(define-public rust-deadpool-0.7
(package
(name "rust-deadpool")