aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 12:01:34 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:07 +0300
commit8a30f06727772a25f4a7678077d62fa33c5af1bc (patch)
treea454a5408ac264ff9d59e0eedf366fac7b9b71aa /gnu/packages/crates-web.scm
parent18035de848209785a45004efdbf8c22b723ba56b (diff)
downloadguix-8a30f06727772a25f4a7678077d62fa33c5af1bc.tar.gz
guix-8a30f06727772a25f4a7678077d62fa33c5af1bc.zip
gnu: Add rust-jsonwebtoken-7.
* gnu/packages/crates-web.scm (rust-jsonwebtoken-7): New variable. Change-Id: I238fa68e13e877f6b95aa0a3cc08337b07999688
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 868b2ec60f..1366ebc0dc 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4043,6 +4043,31 @@ that integrates with Rust idioms.")
("rust-test-case" ,rust-test-case-1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2))))))
+(define-public rust-jsonwebtoken-7
+ (package
+ (name "rust-jsonwebtoken")
+ (version "7.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jsonwebtoken" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ciz205wcjcn7n6i871zz5xlbzk863b0ybgiqi7li9ipwhawraxg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-base64" ,rust-base64-0.12)
+ ("rust-pem" ,rust-pem-0.8)
+ ("rust-ring" ,rust-ring-0.16)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-simple-asn1" ,rust-simple-asn1-0.4))
+ #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4))))
+ (home-page "https://github.com/Keats/jsonwebtoken")
+ (synopsis "Create and decode JWTs in a strongly typed way")
+ (description "Create and decode JWTs in a strongly typed way.")
+ (license license:expat)))
+
(define-public rust-multipart-0.18
(package
(name "rust-multipart")