Subject: [PATCH rust-team v2 049/117] gnu: Add rust-ruma-client-0.12.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:55:15 +0200

* gnu/packages/crates-io.scm (rust-ruma-client-0.12): Add variable.

Change-Id: I841a940faf4964a5c1c4975f51a8c70c7a1f2b3d
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2934bb46cf..1c64ac0f1a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64429,6 +64429,46 @@ (define-public rust-ruma-appservice-api-0.9
 application service API.")
     (license license:expat)))
 
+(define-public rust-ruma-client-0.12
+  (package
+    (name "rust-ruma-client")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-client" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "136dbzns8bs9xwr97gpnrz7cblwhpfrr85mnrclb34gm0snq2p3g"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--release" "--all-targets")
+       #:cargo-inputs (("rust-assign" ,rust-assign-1)
+                       ("rust-async-stream" ,rust-async-stream-0.3)
+                       ("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-futures-lite" ,rust-futures-lite-1)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-hyper" ,rust-hyper-0.14)
+                       ("rust-hyper-rustls" ,rust-hyper-rustls-0.24)
+                       ("rust-hyper-tls" ,rust-hyper-tls-0.5)
+                       ("rust-isahc" ,rust-isahc-1)
+                       ("rust-reqwest" ,rust-reqwest-0.11)
+                       ("rust-ruma-client-api" ,rust-ruma-client-api-0.17)
+                       ("rust-ruma-common" ,rust-ruma-common-0.12)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-html-form" ,rust-serde-html-form-0.2)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-tracing" ,rust-tracing-0.1))
+       #:cargo-development-inputs
+       (("rust-ruma-client-api" ,rust-ruma-client-api-0.17)
+        ("rust-tokio-stream" ,rust-tokio-stream-0.1))))
+    (home-page "https://www.ruma.io/")
+    (synopsis "Matrix client library")
+    (description "This package provides a Matrix client library.")
+    (license license:expat)))
+
 (define-public rust-ruma-client-api-0.17
   (package
     (name "rust-ruma-client-api")
-- 
2.41.0