Commit Message
Herman Rimm
April 28, 2024, 6:54 p.m. UTC
* gnu/packages/crates-web.scm (rust-mas-http-0.7): Add variable. Change-Id: I5dc01e2ac234829b56803832dd23afce0d68b7e5 --- gnu/packages/crates-web.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 582bfd05db..d68e4eeab3 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -4143,6 +4143,51 @@ (define-public rust-jsonwebtoken-7 (description "Create and decode JWTs in a strongly typed way.") (license license:expat))) +(define-public rust-mas-http-0.7 + (package + (name "rust-mas-http") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mas-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "063q1gkbzv1ky3kixiffdyxylz8cbgh1b582z1rmxh1b39r4hsfs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-axum" ,rust-axum-0.6) + ("rust-bytes" ,rust-bytes-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-mas-tower" ,rust-mas-tower-0.7) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-opentelemetry" ,rust-opentelemetry-0.21) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("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-tracing-opentelemetry" ,rust-tracing-opentelemetry-0.22) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://matrix-org.github.io/matrix-authentication-service/") + (synopsis "HTTP utilities for the Matrix Authentication Service") + (description "This package provides HTTP utilities for the Matrix +Authentication Service.") + (license license:asl2.0))) + (define-public rust-mas-tower-0.7 (package (name "rust-mas-tower")