diff mbox series

[bug#74232,rust-team,23/25] gnu: Add rust-zbus-xml-4.

Message ID e4688c0d00f14d26f7cd849f169a5ce1d02c24b6.1730925791.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74232,rust-team,01/25] gnu: rust-portable-atomic-util: Update to 0.2.3. | expand

Commit Message

Giacomo Leidi Nov. 6, 2024, 8:43 p.m. UTC
* gnu/packages/crates-io.scm (rust-zbus-xml-4): New variable.

Change-Id: I58236f5135f1b457839846e5d0f9fbbd8892a895
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3d2856f275..6639ab701b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -94923,6 +94923,31 @@  (define-public rust-zbus-polkit-1
     (description "@code{PolicyKit} binding.")
     (license license:expat)))
 
+(define-public rust-zbus-xml-4
+  (package
+    (name "rust-zbus-xml")
+    (version "4.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zbus_xml" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cx2yg4p0vkrgn5ccz6ds2wqzcy9wrwyjv5xnjmzcm5ra92kfgxb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-quick-xml" ,rust-quick-xml-0.30)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-static-assertions" ,rust-static-assertions-1)
+                       ("rust-zbus-names" ,rust-zbus-names-3)
+                       ("rust-zvariant" ,rust-zvariant-4))
+       #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3))))
+    (home-page "https://github.com/dbus2/zbus/")
+    (synopsis "API to handle D-Bus introspection XML")
+    (description
+     "This package provides API to handle D-Bus introspection XML.")
+    (license license:expat)))
+
 (define-public rust-zerocopy-0.7
   (package
     (name "rust-zerocopy")