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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fa95ad17ec..9f565198fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37550,6 +37550,48 @@ (define-public rust-matchers-0.0
      `(#:cargo-inputs
        (("rust-regex-automata" ,rust-regex-automata-0.1))))))
 
+(define-public rust-matrix-sdk-common-0.7
+  (package
+    (name "rust-matrix-sdk-common")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "matrix-sdk-common" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17wwy8fzgw58ph26sv3h0v5sq69ga9jjbzic8aicdxmnd9i5ldmv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-async-trait" ,rust-async-trait-0.1)
+        ("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-instant" ,rust-instant-0.1)
+        ("rust-ruma" ,rust-ruma-0.9)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+        ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+        ("rust-web-sys" ,rust-web-sys-0.3))
+       #:cargo-development-inputs
+       (("rust-assert-matches" ,rust-assert-matches-1)
+        ("rust-js-sys" ,rust-js-sys-0.3)
+        ("rust-matrix-sdk-test" ,rust-matrix-sdk-test-0.7)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+    (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+    (synopsis "Common types and imports used in @code{matrix-sdk}")
+    (description
+     "This package provides a collection of common types and imports
+used in the @code{matrix-sdk} crates.")
+    (license license:asl2.0)))
+
 (define-public rust-matrix-sdk-test-0.7
   (package
     (name "rust-matrix-sdk-test")
-- 
2.41.0