Subject: [bug#68312] [PATCH 111/156] gnu: Add rust-rusty-parserk-0.3.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:28 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 85b8e27e4a0..6353e8ee06d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63217,6 +63217,48 @@ (define-public rust-rustversion-0.1
 rustc compiler version.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rusty-paserk-0.3
+  (package
+    (name "rust-rusty-paserk")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rusty_paserk" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1v70nbn7f5dwwngnhsqm407y61rdgrjz82nrlih2wycygzh73m2n"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-aes" ,rust-aes-0.8)
+                       ("rust-arbitrary" ,rust-arbitrary-1)
+                       ("rust-argon2" ,rust-argon2-0.5)
+                       ("rust-base64" ,rust-base64-0.13)
+                       ("rust-base64ct" ,rust-base64ct-1)
+                       ("rust-blake2" ,rust-blake2-0.10)
+                       ("rust-chacha20" ,rust-chacha20-0.9)
+                       ("rust-cipher" ,rust-cipher-0.4)
+                       ("rust-ctr" ,rust-ctr-0.9)
+                       ("rust-curve25519-dalek" ,rust-curve25519-dalek-4)
+                       ("rust-digest" ,rust-digest-0.10)
+                       ("rust-ed25519-dalek" ,rust-ed25519-dalek-2)
+                       ("rust-generic-array" ,rust-generic-array-0.14)
+                       ("rust-hmac" ,rust-hmac-0.12)
+                       ("rust-p384" ,rust-p384-0.13)
+                       ("rust-pbkdf2" ,rust-pbkdf2-0.12)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rusty-paseto" ,rust-rusty-paseto-0.6)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-sha2" ,rust-sha2-0.10)
+                       ("rust-subtle" ,rust-subtle-2))))
+    (home-page "https://github.com/conradludgate/rusty-paserk")
+    (synopsis
+     "Platform Agnostic Serializable Keys (PASERK) is an extension on PASETO for key management")
+    (description
+     "Platform Agnostic Serializable Keys (PASERK) is an extension on PASETO for key
+management")
+    (license license:expat)))
 (define-public rust-rusty-fork-0.3
   (package
     (name "rust-rusty-fork")
-- 
2.41.0