aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 12:01:40 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:18 +0300
commitb0ad284151230832efcaa1f0c9f45a8ce1539755 (patch)
treebe1363e049e9908303f5b9fc1b3d96b6a47dfc19 /gnu
parentfdb22709cd0c3a9639a1ef9835925bfb1f93bf9f (diff)
downloadguix-b0ad284151230832efcaa1f0c9f45a8ce1539755.tar
guix-b0ad284151230832efcaa1f0c9f45a8ce1539755.tar.gz
gnu: Add rust-async-session-3.
* gnu/packages/crates-io.scm (rust-async-session-3): New variable. Change-Id: Ia9845b557071dadc99cf8105816b146e70c6b964
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c32b64c7bc..a9747621be 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5298,6 +5298,38 @@ futures.")
(description "This package provides recursion for async functions in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-session-3
+ (package
+ (name "rust-async-session")
+ (version "3.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-session" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0c76vazdlcs2rsxq8gd8a6wnb913vxhnfx1hyfmfpqml4gjlrnh7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-async-lock" ,rust-async-lock-2)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-bincode" ,rust-bincode-1)
+ ("rust-blake3" ,rust-blake3-0.3)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-hmac" ,rust-hmac-0.11)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-sha2" ,rust-sha2-0.9))
+ #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1))))
+ (home-page "https://github.com/http-rs/async-session")
+ (synopsis "Async session support with pluggable middleware")
+ (description "Async session support with pluggable middleware.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-async-signal-0.2
(package
(name "rust-async-signal")