guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

292/330: gnu: Add rust-jsonwebtoken-7.


From: guix-commits
Subject: 292/330: gnu: Add rust-jsonwebtoken-7.
Date: Mon, 18 Mar 2024 07:16:39 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 6364ba2cc29cd0a619b3aafeecc079662c940a4b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:34 2024 +0200

    gnu: Add rust-jsonwebtoken-7.
    
    * gnu/packages/crates-web.scm (rust-jsonwebtoken-7): New variable.
    
    Change-Id: I238fa68e13e877f6b95aa0a3cc08337b07999688
---
 gnu/packages/crates-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]