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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dc0c2b6df7..21cdb049f0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37980,6 +37980,55 @@ (define-public rust-matrix-sdk-crypto-0.7
     (description "This package provides a matrix encryption library.")
     (license license:asl2.0)))
 
+(define-public rust-matrix-sdk-indexeddb-0.7
+  (package
+    (name "rust-matrix-sdk-indexeddb")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "matrix-sdk-indexeddb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12x5si7148a7a3rgbfjimghz81m6gym54pa0izrjzvflql2q0f5d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-async-trait" ,rust-async-trait-0.1)
+        ("rust-base64" ,rust-base64-0.21)
+        ("rust-getrandom" ,rust-getrandom-0.2)
+        ("rust-gloo-utils" ,rust-gloo-utils-0.2)
+        ("rust-indexed-db-futures" ,rust-indexed-db-futures-0.4)
+        ("rust-js-sys" ,rust-js-sys-0.3)
+        ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+        ("rust-matrix-sdk-crypto" ,rust-matrix-sdk-crypto-0.7)
+        ("rust-matrix-sdk-store-encryption"
+         ,rust-matrix-sdk-store-encryption-0.7)
+        ("rust-ruma" ,rust-ruma-0.9)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-wasm-bindgen" ,rust-serde-wasm-bindgen-0.6)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+        ("rust-web-sys" ,rust-web-sys-0.3))
+       #:cargo-development-inputs
+       (("rust-assert-matches" ,rust-assert-matches-1)
+        ("rust-assert-matches2" ,rust-assert-matches2-0.1)
+        ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+        ("rust-matrix-sdk-common" ,rust-matrix-sdk-common-0.7)
+        ("rust-matrix-sdk-crypto" ,rust-matrix-sdk-crypto-0.7)
+        ("rust-matrix-sdk-test" ,rust-matrix-sdk-test-0.7)
+        ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+        ("rust-uuid" ,rust-uuid-1)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+    (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+    (synopsis "Web's IndexedDB Storage backend for matrix-sdk")
+    (description "Web's @code{IndexedDB} Storage backend for matrix-sdk")
+    (license license:asl2.0)))
+
 (define-public rust-matrix-sdk-qrcode-0.7
   (package
     (name "rust-matrix-sdk-qrcode")
-- 
2.41.0