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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16d81bd4d5..28915dc841 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37664,6 +37664,68 @@ (define-public rust-matrix-sdk-common-0.7
 used in the @code{matrix-sdk} crates.")
     (license license:asl2.0)))
 
+(define-public rust-matrix-sdk-crypto-0.7
+  (package
+    (name "rust-matrix-sdk-crypto")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "matrix-sdk-crypto" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02fd03zl2x1dqyp2lk2r7an9x6s9pmq94s4crmiplf5ivsiyrakj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-aes" ,rust-aes-0.8)
+                       ("rust-as-variant" ,rust-as-variant-1)
+                       ("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-bs58" ,rust-bs58-0.5)
+                       ("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-cbc" ,rust-cbc-0.1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-ctr" ,rust-ctr-0.9)
+                       ("rust-eyeball" ,rust-eyeball-0.8)
+                       ("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-hkdf" ,rust-hkdf-0.12)
+                       ("rust-hmac" ,rust-hmac-0.12)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-itertools" ,rust-itertools-0.12)
+                       ("rust-matrix-sdk-common" ,rust-matrix-sdk-common-0.7)
+                       ("rust-matrix-sdk-qrcode" ,rust-matrix-sdk-qrcode-0.7)
+                       ("rust-pbkdf2" ,rust-pbkdf2-0.12)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rmp-serde" ,rust-rmp-serde-1)
+                       ("rust-ruma" ,rust-ruma-0.9)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-sha2" ,rust-sha2-0.10)
+                       ("rust-subtle" ,rust-subtle-2)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-ulid" ,rust-ulid-1)
+                       ("rust-vodozemac" ,rust-vodozemac-0.5)
+                       ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-assert-matches" ,rust-assert-matches-1)
+        ("rust-assert-matches2" ,rust-assert-matches2-0.1)
+        ("rust-futures-executor" ,rust-futures-executor-0.3)
+        ("rust-http" ,rust-http-0.2)
+        ("rust-indoc" ,rust-indoc-2)
+        ("rust-matrix-sdk-test" ,rust-matrix-sdk-test-0.7)
+        ("rust-olm-rs" ,rust-olm-rs-2)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-stream-assert" ,rust-stream-assert-0.1)
+        ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+    (synopsis "Matrix encryption library")
+    (description "This package provides a matrix encryption library.")
+    (license license:asl2.0)))
+
 (define-public rust-matrix-sdk-qrcode-0.7
   (package
     (name "rust-matrix-sdk-qrcode")
-- 
2.41.0