guix-patches
[Top][All Lists]
Advanced

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

[bug#68312] [PATCH 112/156] gnu: Add rust-rusty-paseto-0.6.


From: Wilko Meyer
Subject: [bug#68312] [PATCH 112/156] gnu: Add rust-rusty-paseto-0.6.
Date: Mon, 8 Jan 2024 02:53:29 +0100

* gnu/packages/crates-io.scm (rust-rusty-paseto-0.6): New variable.

Change-Id: Id5f1d49eaad94d31fc5616e3cbf96f1d07a694dc
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6353e8ee06d..f1a407e943d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63259,6 +63259,47 @@ (define-public rust-rusty-paserk-0.3
      "Platform Agnostic Serializable Keys (PASERK) is an extension on PASETO 
for key
 management")
     (license license:expat)))
+
+(define-public rust-rusty-paseto-0.6
+  (package
+    (name "rust-rusty-paseto")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rusty_paseto" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05myhzsw0pf2fs8a513a1pngpmxvfabwd7v2q0vcr8cvz7n6xpvc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-aes" ,rust-aes-0.7)
+                       ("rust-base64" ,rust-base64-0.13)
+                       ("rust-blake2" ,rust-blake2-0.9)
+                       ("rust-chacha20" ,rust-chacha20-0.8)
+                       ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.9)
+                       ("rust-ed25519-dalek" ,rust-ed25519-dalek-2)
+                       ("rust-erased-serde" ,rust-erased-serde-0.3)
+                       ("rust-hex" ,rust-hex-0.4)
+                       ("rust-hmac" ,rust-hmac-0.12)
+                       ("rust-iso8601" ,rust-iso8601-0.4)
+                       ("rust-p384" ,rust-p384-0.11)
+                       ("rust-ring" ,rust-ring-0.16)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-sha2" ,rust-sha2-0.10)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-zeroize" ,rust-zeroize-1))))
+    (home-page "https://github.com/rrrodzilla/rusty_paseto";)
+    (synopsis
+     "A type-driven, ergonomic alternative to JWT for secure stateless PASETO 
tokens.")
+    (description
+     "This package provides a type-driven, ergonomic alternative to JWT for 
secure
+stateless PASETO tokens.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rusty-fork-0.3
   (package
     (name "rust-rusty-fork")
-- 
2.41.0






reply via email to

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