Subject: [bug#69803] [PATCH rust-team 06/37] gnu: Add rust-fantoccini-0.19.

From: Herman Rimm <[email-masked]>
Date: Thu, 14 Mar 2024 22:16:07 +0100

* gnu/packages/crates-web.scm (rust-fantoccini-0.19): Add variable.

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

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 665e3747eb..12004a2f90 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1855,6 +1855,43 @@ (define-public rust-chunked-transfer-0.3
         (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9"))))
     (arguments `())))
 
+(define-public rust-fantoccini-0.19
+  (package
+    (name "rust-fantoccini")
+    (version "0.19.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fantoccini" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0r3g7i6v1hxmf2d2zwz0ra6ycp3zjdpv80jqpabba56p8pigpw35"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-base64" ,rust-base64-0.13)
+                       ("rust-cookie" ,rust-cookie-0.16)
+                       ("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-hyper" ,rust-hyper-0.14)
+                       ("rust-hyper-rustls" ,rust-hyper-rustls-0.23)
+                       ("rust-hyper-tls" ,rust-hyper-tls-0.5)
+                       ("rust-mime" ,rust-mime-0.3)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-url" ,rust-url-2)
+                       ("rust-webdriver" ,rust-webdriver-0.46))))
+    (home-page "https://github.com/jonhoo/fantoccini")
+    (synopsis
+     "High-level API for interacting with web pages through WebDriver")
+    (description
+     "This package provides a high-level API for programmatically
+interacting with web pages through @code{WebDriver}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gemini-fetch-0.2
   (package
     (name "rust-gemini-fetch")
-- 
2.41.0