aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-crypto.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 14:58:04 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:45:57 +0300
commit75080615ff4a9d3147fdd8493b4757317160a94d (patch)
tree04a5c92f0e09466aa3c9e2077c0157784c6879ae /gnu/packages/crates-crypto.scm
parent8138e78ab73773ef3774ea2b77e6910b2b32256e (diff)
downloadguix-75080615ff4a9d3147fdd8493b4757317160a94d.tar.gz
guix-75080615ff4a9d3147fdd8493b4757317160a94d.zip
gnu: Add rust-z85-3.
* gnu/packages/crates-crypto.scm (rust-z85-3): New variable. Change-Id: I6e07d9bcd827cfa664830802a1af641d78b3ad28
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r--gnu/packages/crates-crypto.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 64244a0f2f..8af564acfd 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -6453,3 +6453,25 @@ Diffie-Hellman key exchange, with curve operations provided by
(description "This package provides a fork x25519-dalek, with an updated
rand_core.")
(license license:bsd-3)))
+
+(define-public rust-z85-3
+ (package
+ (name "rust-z85")
+ (version "3.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "z85" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1z10407jwvjfzpzaxwxgqsm9vcbyldzzh2qz2b0ijy2h3fprsn9a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs (("rust-proptest" ,rust-proptest-1))))
+ (home-page "https://github.com/decafbad/z85")
+ (synopsis
+ "Rust implementation of ZeroMQ's Z85 encoding mechanism with padding")
+ (description
+ "This package provides a Rust implementation of @code{ZeroMQ's} Z85
+encoding mechanism with padding.")
+ (license (list license:expat license:asl2.0))))