Subject: [PATCH 213/228] gnu: Add rust-matrix-sdk-0.7.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:12:23 +0100

* gnu/packages/crates-io.scm (rust-matrix-sdk-0.7): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c927b13e78..930e657ce3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37898,6 +37898,93 @@ (define-public rust-matrix-pickle-derive-0.1
      "This package provides Derive support for @code{matrix-pickle}.")
     (license license:expat)))
 
+(define-public rust-matrix-sdk-0.7
+  (package
+    (name "rust-matrix-sdk")
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "matrix-sdk" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1v22ssxamvkigwx35a5igw60k8z9cy59h7k864d6ccwbzkjqfrik"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-anymap2" ,rust-anymap2-0.13)
+        ("rust-aquamarine" ,rust-aquamarine-0.5)
+        ("rust-as-variant" ,rust-as-variant-1)
+        ("rust-async-channel" ,rust-async-channel-2)
+        ("rust-async-stream" ,rust-async-stream-0.3)
+        ("rust-async-trait" ,rust-async-trait-0.1)
+        ("rust-backoff" ,rust-backoff-0.4)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-bytesize" ,rust-bytesize-1)
+        ("rust-cfg-vis" ,rust-cfg-vis-0.3)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-event-listener" ,rust-event-listener-4)
+        ("rust-eyeball" ,rust-eyeball-0.8)
+        ("rust-eyeball-im" ,rust-eyeball-im-0.4)
+        ("rust-eyeball-im-util" ,rust-eyeball-im-util-0.5)
+        ("rust-eyre" ,rust-eyre-0.6)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-gloo-timers" ,rust-gloo-timers-0.3)
+        ("rust-http" ,rust-http-0.2)
+        ("rust-hyper" ,rust-hyper-0.14)
+        ("rust-image" ,rust-image-0.24)
+        ("rust-imbl" ,rust-imbl-2)
+        ("rust-indexmap" ,rust-indexmap-2)
+        ("rust-language-tags" ,rust-language-tags-0.3)
+        ("rust-mas-oidc-client" ,rust-mas-oidc-client-0.7)
+        ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+        ("rust-matrix-sdk-common" ,rust-matrix-sdk-common-0.7)
+        ("rust-matrix-sdk-indexeddb" ,rust-matrix-sdk-indexeddb-0.7)
+        ("rust-matrix-sdk-sqlite" ,rust-matrix-sdk-sqlite-0.7)
+        ("rust-mime" ,rust-mime-0.3)
+        ("rust-mime2ext" ,rust-mime2ext-0.1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-ruma" ,rust-ruma-0.9)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-html-form" ,rust-serde-html-form-0.2)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-sha2" ,rust-sha2-0.10)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+        ("rust-tokio-util" ,rust-tokio-util-0.7)
+        ("rust-tower" ,rust-tower-0.4)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-url" ,rust-url-2)
+        ("rust-urlencoding" ,rust-urlencoding-2)
+        ("rust-uuid" ,rust-uuid-1)
+        ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-assert-json-diff" ,rust-assert-json-diff-2)
+        ("rust-assert-matches" ,rust-assert-matches-1)
+        ("rust-assert-matches2" ,rust-assert-matches2-0.1)
+        ("rust-dirs" ,rust-dirs-5)
+        ("rust-futures-executor" ,rust-futures-executor-0.3)
+        ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+        ("rust-matrix-sdk-test" ,rust-matrix-sdk-test-0.7)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+        ("rust-stream-assert" ,rust-stream-assert-0.1)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+        ("rust-wiremock" ,rust-wiremock-0.5))))
+    (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+    (synopsis "High level Matrix client-server library")
+    (description
+     "This package provides a high level Matrix client-server library.")
+    (license license:asl2.0)))
+
 (define-public rust-matrix-sdk-base-0.7
   (package
     (name "rust-matrix-sdk-base")
-- 
2.41.0