Subject: [PATCH rust-team v2 024/117] gnu: Add rust-mas-oidc-client-0.7.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5bdcf94204..7c37fef4bc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41021,6 +41021,63 @@ (define-public rust-mas-keystore-0.7
 Authentication Service.")
     (license license:asl2.0)))
 
+(define-public rust-mas-oidc-client-0.7
+  (package
+    (name "rust-mas-oidc-client")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mas-oidc-client" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0wg5w937sv1ljcfvarmvm8j5mzgi6ss2f7n61rs5ql8g4jsgjf1i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags `("--release" "--lib" "--bins") ; missing files
+       #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-form-urlencoded" ,rust-form-urlencoded-1)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-headers" ,rust-headers-0.3)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-http-body" ,rust-http-body-0.4)
+                       ("rust-hyper" ,rust-hyper-0.14)
+                       ("rust-hyper-rustls" ,rust-hyper-rustls-0.24)
+                       ("rust-language-tags" ,rust-language-tags-0.3)
+                       ("rust-mas-http" ,rust-mas-http-0.7)
+                       ("rust-mas-iana" ,rust-mas-iana-0.7)
+                       ("rust-mas-jose" ,rust-mas-jose-0.7)
+                       ("rust-mas-keystore" ,rust-mas-keystore-0.7)
+                       ("rust-mime" ,rust-mime-0.3)
+                       ("rust-oauth2-types" ,rust-oauth2-types-0.7)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+                       ("rust-serde-with" ,rust-serde-with-3)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tower" ,rust-tower-0.4)
+                       ("rust-tower-http" ,rust-tower-http-0.4)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-assert-matches" ,rust-assert-matches-1)
+        ("rust-bitflags" ,rust-bitflags-2)
+        ("rust-mas-keystore" ,rust-mas-keystore-0.7)
+        ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+        ("rust-wiremock" ,rust-wiremock-0.5))))
+    (home-page "https://matrix-org.github.io/matrix-authentication-service/")
+    (synopsis "OpenID Connect library for Matrix Authentication Service")
+    (description
+     "This package provides a @code{OpenID} Connect client library used
+by the Matrix Authentication Service.")
+    (license license:asl2.0)))
+
 (define-public rust-match-cfg-0.1
   (package
     (name "rust-match-cfg")
-- 
2.41.0