gnu: Add rust-ed25519-zebra-1.

* gnu/packages/crates-crypto.scm (rust-ed25519-zebra-1): New variable.

Change-Id: I01bb23dfe7f5a8772e7141915fe5b1b6500b303e
This commit is contained in:
Efraim Flashner 2025-01-03 12:03:03 +02:00
parent eead1537d3
commit dbb9bbe654
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

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