Subject: [bug#69257] [PATCH 109/228] gnu: Add rust-mas-keystore-0.7.

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

* gnu/packages/crates-io.scm (rust-mas-keystore-0.7): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index edde32486a..b20eff485b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37113,6 +37113,50 @@ (define-public rust-mas-iana-0.7
 OAuth 2.0.")
     (license license:asl2.0)))
 
+(define-public rust-mas-keystore-0.7
+  (package
+    (name "rust-mas-keystore")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mas-keystore" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04kr3mbmsjnim9s373iy62qrqd236zi4ff9cyqfd41aqiw9jlp57"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5)
+                       ("rust-base64ct" ,rust-base64ct-1)
+                       ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.10)
+                       ("rust-const-oid" ,rust-const-oid-0.9)
+                       ("rust-der" ,rust-der-0.7)
+                       ("rust-ecdsa" ,rust-ecdsa-0.16)
+                       ("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
+                       ("rust-generic-array" ,rust-generic-array-0.14)
+                       ("rust-k256" ,rust-k256-0.13)
+                       ("rust-mas-iana" ,rust-mas-iana-0.7)
+                       ("rust-mas-jose" ,rust-mas-jose-0.7)
+                       ("rust-p256" ,rust-p256-0.13)
+                       ("rust-p384" ,rust-p384-0.13)
+                       ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7)
+                       ("rust-pkcs1" ,rust-pkcs1-0.7)
+                       ("rust-pkcs8" ,rust-pkcs8-0.10)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rsa" ,rust-rsa-0.9)
+                       ("rust-sec1" ,rust-sec1-0.7)
+                       ("rust-spki" ,rust-spki-0.7)
+                       ("rust-thiserror" ,rust-thiserror-1))
+       #:cargo-development-inputs
+       (("rust-insta" ,rust-insta-1)
+        ("rust-rand-chacha" ,rust-rand-chacha-0.3))))
+    (home-page "https://matrix-org.github.io/matrix-authentication-service/")
+    (synopsis "Keystore used by the Matrix Authentication Service")
+    (description
+      "This package provides a secret-key store used by the Matrix
+Authentication Service.")
+    (license license:asl2.0)))
+
 (define-public rust-matchit-0.7
   (package
     (name "rust-matchit")
-- 
2.41.0