Subject: [bug#69257] [PATCH rust-team v2 061/117] gnu: Add rust-matrix-sdk-qrcode-0.7.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:55:27 +0200

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad26459060..cd73f20fa6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41381,6 +41381,33 @@ (define-public rust-matrix-sdk-common-0.7
 used in the @code{matrix-sdk} crates.")
     (license license:asl2.0)))
 
+(define-public rust-matrix-sdk-qrcode-0.7
+  (package
+    (name "rust-matrix-sdk-qrcode")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "matrix-sdk-qrcode" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gjcvwy6ri5c2z960zmfzvdbdvkcblcysf1svy6l9rqa0zmn5ccb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-qrcode" ,rust-qrcode-0.13)
+                       ("rust-ruma-common" ,rust-ruma-common-0.12)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-vodozemac" ,rust-vodozemac-0.5))
+       #:cargo-development-inputs (("rust-image" ,rust-image-0.24)
+                                   ("rust-qrcode" ,rust-qrcode-0.13))))
+    (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+    (synopsis "Encode and decode QR codes for Matrix verifications")
+    (description
+     "This package provides a library to encode and decode QR codes for
+interactive verifications in Matrix land.")
+    (license license:asl2.0)))
+
 (define-public rust-matrix-sdk-test-0.7
   (package
     (name "rust-matrix-sdk-test")
-- 
2.41.0