diff mbox series

[bug#69803,rust-team,05/37] gnu: Add rust-webdriver-0.46.

Message ID 20240314211638.6190-5-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-web.scm (rust-webdriver-0.46): Add variable.

Change-Id: Iec56f3d4aeba97037bea0164fa27eb991f3b4016
---
 gnu/packages/crates-web.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 752364ddb7..665e3747eb 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -5677,6 +5677,43 @@  (define-public rust-web-view-0.7
 applications.")
     (license license:expat)))
 
+(define-public rust-webdriver-0.46
+  (package
+    (name "rust-webdriver")
+    (version "0.46.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "webdriver" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gy98p6b09n6hv590v2yf8vxqxv1sdiyd4fvxzamlzaqr1rcnwwr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-base64" ,rust-base64-0.13)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-cookie" ,rust-cookie-0.16)
+        ("rust-http" ,rust-http-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-time" ,rust-time-0.3)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+        ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+        ("rust-url" ,rust-url-2)
+        ("rust-warp" ,rust-warp-0.3))))
+    (home-page
+     "https://hg.mozilla.org/mozilla-central/file/tip/testing/webdriver")
+    (synopsis
+     "Wire protocol implementation for the W3C WebDriver specification")
+    (description
+     "This package provides a library implementing the wire protocol for
+the W3C @code{WebDriver} specification.")
+    (license license:mpl2.0)))
+
 (define-public rust-webpki-0.22
   (package
     (name "rust-webpki")