diff options
author | Efraim Flashner <[email protected]> | 2025-01-03 12:03:03 +0200 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2025-01-06 12:22:44 +0200 |
commit | dbb9bbe654ee4e55acc3bf269ed49528c302fbdd (patch) | |
tree | 3cbbb9d3735c438d3ca37653dc23e0aa3fa67e8a | |
parent | eead1537d3d52a5f089c08e3395f82faca13fc1e (diff) |
gnu: Add rust-ed25519-zebra-1.
* gnu/packages/crates-crypto.scm (rust-ed25519-zebra-1): New variable.
Change-Id: I01bb23dfe7f5a8772e7141915fe5b1b6500b303e
-rw-r--r-- | gnu/packages/crates-crypto.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index b14bdcca01..c4ae8163be 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -2501,6 +2501,29 @@ generations, signing, and verification in pure Rust.") "This package provides Zcash-flavored Ed25519 for use in Zebra.") (license (list license:expat license:asl2.0)))) +(define-public rust-ed25519-zebra-1 + (package + (inherit rust-ed25519-zebra-2) + (name "rust-ed25519-zebra") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ed25519-zebra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zyi37p8p1qqbbkd27w52zvx5cj9b56rvc17jiw9d71j3gziynn8")))) + (arguments + `(#:cargo-inputs (("rust-curve25519-dalek" ,rust-curve25519-dalek-3) + ("rust-hex" ,rust-hex-0.4) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-rand" ,rust-rand-0.7)))))) + (define-public rust-elliptic-curve-0.13 (package (name "rust-elliptic-curve") |