diff mbox series

[bug#69803,rust-team,08/37] gnu: Add rust-atspi-connection-0.3.

Message ID 20240314211638.6190-8-herman@rimm.ee
State New
Headers show
Series [bug#69803,rust-team,01/37] gnu: Add rust-rename-item-0.1. | expand

Commit Message

Herman Rimm March 14, 2024, 9:16 p.m. UTC
* gnu/packages/crates-io.scm (rust-atspi-connection-0.3): Add variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3bf254572..9719940ec2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5228,6 +5228,41 @@  (define-public rust-atspi-common-0.3
 Linux accessibility events.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-atspi-connection-0.3
+  (package
+    (name "rust-atspi-connection")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atspi-connection" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fdrfsgjg3d84mkk6nk3knqz0ygryfdmsn1d7c74qvgqf1ymxim0"))
+       (modules '((guix build utils)))
+       ;; doctests: No such file or directory.
+       (snippet '(substitute* "src/lib.rs"
+                              (("```rust\n")
+                               "```rust,no_run\n")))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-atspi-common" ,rust-atspi-common-0.3)
+        ("rust-atspi-proxies" ,rust-atspi-proxies-0.3)
+        ("rust-futures-lite" ,rust-futures-lite-1)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-zbus" ,rust-zbus-3))
+       #:cargo-development-inputs
+       (("rust-enumflags2" ,rust-enumflags2-0.7)
+        ("rust-tokio-test" ,rust-tokio-test-0.4))))
+    (home-page "https://github.com/odilia-app/atspi/")
+    (synopsis
+     "Connecting, querying, sending and receiving over AT-SPI.")
+    (description
+     "This package provides a method of connecting, querying, sending
+and receiving over AT-SPI.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-atspi-proxies-0.3
   (package
     (name "rust-atspi-proxies")