Subject: [PATCH 106/228] gnu: Add rust-mas-tower-0.7.

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

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

Change-Id: I2600701581145a089a9f2fa627eaf85dd9eea934
---
 gnu/packages/crates-web.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 50ed2279d1..1904b3aa77 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3340,6 +3340,36 @@ (define-public rust-isahc-0.9
         ("rust-test-case" ,rust-test-case-1)
         ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2))))))
 
+(define-public rust-mas-tower-0.7
+  (package
+    (name "rust-mas-tower")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mas-tower" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gf55zyv2822xykc2az253a6n7nvjc129rl2nlwmax9yhjkypgpn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-http" ,rust-http-0.2)
+        ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+        ("rust-opentelemetry-http" ,rust-opentelemetry-http-0.10)
+        ("rust-opentelemetry-semantic-conventions"
+         ,rust-opentelemetry-semantic-conventions-0.13)
+        ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tower" ,rust-tower-0.4)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-tracing-opentelemetry" ,rust-tracing-opentelemetry-0.22))))
+    (home-page "https://matrix-org.github.io/matrix-authentication-service/")
+    (synopsis "Tower layers used by the Matrix Authentication Service")
+    (description "This package provides the Tower layers used by the
+Matrix Authentication Service.")
+    (license license:asl2.0)))
+
 (define-public rust-multipart-0.18
   (package
     (name "rust-multipart")
-- 
2.41.0