Subject: [bug#69257] [PATCH 212/228] gnu: Add rust-matrix-sdk-sqlite-0.7.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5c15a641b2..c927b13e78 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38129,6 +38129,51 @@ (define-public rust-matrix-sdk-qrcode-0.7
 interactive verifications in Matrix land.")
     (license license:asl2.0)))
 
+(define-public rust-matrix-sdk-sqlite-0.7
+  (package
+    (name "rust-matrix-sdk-sqlite")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "matrix-sdk-sqlite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1p0ivgb7p9l3v1fxhhw798mxb5k18qkvlhmj2qsxkv57byy3dg90"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-async-trait" ,rust-async-trait-0.1)
+        ("rust-deadpool-sqlite" ,rust-deadpool-sqlite-0.7)
+        ("rust-itertools" ,rust-itertools-0.12)
+        ("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-rmp-serde" ,rust-rmp-serde-1)
+        ("rust-ruma" ,rust-ruma-0.9)
+        ("rust-rusqlite" ,rust-rusqlite-0.30)
+        ("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-vodozemac" ,rust-vodozemac-0.5))
+       #:cargo-development-inputs
+       (("rust-assert-matches" ,rust-assert-matches-1)
+        ("rust-glob" ,rust-glob-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-test" ,rust-matrix-sdk-test-0.7)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+    (synopsis "Sqlite storage backend for matrix-sdk")
+    (description
+     "This package provides an sqlite storage backend for matrix-sdk.")
+    (license license:asl2.0)))
+
 (define-public rust-matrix-sdk-store-encryption-0.7
   (package
     (name "rust-matrix-sdk-store-encryption")
-- 
2.41.0