Subject: [bug#69257] [PATCH 191/228] gnu: Add rust-matrix-sdk-store-encrpytion-0.7.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 28915dc841..b775d9a8b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37753,6 +37753,39 @@ (define-public rust-matrix-sdk-qrcode-0.7
 interactive verifications in Matrix land.")
     (license license:asl2.0)))
 
+(define-public rust-matrix-sdk-store-encryption-0.7
+  (package
+    (name "rust-matrix-sdk-store-encryption")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "matrix-sdk-store-encryption" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0756z9ippsfpcazki5w9r3g9gxkm8wdg0vdlgb2s90prx5i32zka"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-blake3" ,rust-blake3-1)
+                       ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.10)
+                       ("rust-displaydoc" ,rust-displaydoc-0.2)
+                       ("rust-getrandom" ,rust-getrandom-0.2)
+                       ("rust-hmac" ,rust-hmac-0.12)
+                       ("rust-pbkdf2" ,rust-pbkdf2-0.12)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rmp-serde" ,rust-rmp-serde-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-sha2" ,rust-sha2-0.10)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1))))
+    (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+    (synopsis "Helpers for encrypted storage keys for the Matrix SDK")
+    (description "This package provides helpers for encrypted storage
+keys for the Matrix SDK.")
+    (license license:asl2.0)))
+
 (define-public rust-matrix-sdk-test-0.7
   (package
     (name "rust-matrix-sdk-test")
-- 
2.41.0