summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorphodina <phodina@protonmail.com>2021-09-03 23:01:03 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-17 12:24:35 +0200
commit4e2ee456341404ac9b08d5debb56885874094fce (patch)
tree87c51dcced11f469d810c410468df45445d28385 /gnu/packages
parent840c9def685d3aab37c033b118552477dcdeee82 (diff)
downloadguix-4e2ee456341404ac9b08d5debb56885874094fce.tar.gz
gnu: Add rust-dbus-tree-0.9.
* gnu/packages/crates-io.scm (rust-dbus-tree-0.9): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-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 93b4101768..d1aaa40c71 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -12888,6 +12889,31 @@ sizes.  Big-endian order is used.  WARNING: Block must be aligned!")
        #:cargo-development-inputs
        (("rust-tempdir" ,rust-tempdir-0.3))))))
 
+(define-public rust-dbus-tree-0.9
+  (package
+    (name "rust-dbus-tree")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dbus-tree" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1l2gi8073cwvv5vxlg5lafw6sppyhgm88hhpq7hak424x4kifpmi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-dbus" ,rust-dbus-0.9))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("dbus" ,dbus)))
+    (home-page "https://github.com/diwic/dbus-rs")
+    (synopsis "Framework for writing D-Bus method handlers (legacy)")
+    (description
+     "This crate is a framework for writing D-Bus method handlers (legacy).")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-deadpool-0.7
   (package
     (name "rust-deadpool")