[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/68: gnu: Add rust-ed25519-dalek-2.
From: |
guix-commits |
Subject: |
17/68: gnu: Add rust-ed25519-dalek-2. |
Date: |
Wed, 20 Mar 2024 11:24:26 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 30d2247c3ab9f52df4a9f911e025c3c5f10f869e
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:08:56 2024 +0100
gnu: Add rust-ed25519-dalek-2.
* gnu/packages/crates-io.scm (rust-ed25519-dalek-2): Add variable.
(rust-ed25519-dalek-1): Inherit from rust-ed25519-dalek-2.
Change-Id: I423a0c695b3ec4e70975077b5fe7f14130f70c94
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-crypto.scm | 58 +++++++++++++++++++++++++++++++++++++-----
1 file changed, 51 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 8282e72298..d7683ed720 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -2276,8 +2276,57 @@ including HSMs or Cloud KMS services.")
implementation.")
(license license:expat)))
+(define-public rust-ed25519-dalek-2
+ (package
+ (name "rust-ed25519-dalek")
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ed25519-dalek" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w88cafwglg9hjizldbmlza0ns3hls81zk1bcih3m5m3h67algaa"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ ;; Some tests aren't shipped in the crate.
+ "--skip=vectors::against_reference_implementation"
+ "--skip=check_validation_criteria"
+ "--skip=find_validation_criteria")
+ #:cargo-inputs (("rust-curve25519-dalek" ,rust-curve25519-dalek-4)
+ ("rust-ed25519" ,rust-ed25519-2)
+ ("rust-merlin" ,rust-merlin-3)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-signature" ,rust-signature-2)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-blake2" ,rust-blake2-0.10)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-curve25519-dalek" ,rust-curve25519-dalek-4)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-hex-literal" ,rust-hex-literal-0.4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-sha3" ,rust-sha3-0.10)
+ ("rust-toml" ,rust-toml-0.7)
+ ("rust-x25519-dalek" ,rust-x25519-dalek-2))))
+ (home-page "https:///doc.dalek.rs/ed25519_dalek")
+ (synopsis "Ed25519 EdDSA key generations, signing, and verification")
+ (description
+ "This package provides fast and efficient ed25519 @code{EdDSA} key
+generations, signing, and verification in pure Rust.")
+ (license license:bsd-3)))
+
(define-public rust-ed25519-dalek-1
(package
+ (inherit rust-ed25519-dalek-2)
(name "rust-ed25519-dalek")
(version "1.0.1")
(source
@@ -2299,13 +2348,8 @@ implementation.")
("rust-serde" ,rust-serde-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-sha2" ,rust-sha2-0.9)
- ("rust-zeroize" ,rust-zeroize-1))))
- (home-page "https://dalek.rs")
- (synopsis "Ed25519 EdDSA key generations, signing, and verification")
- (description
- "This package provides fast and efficient ed25519 EdDSA key generations,
-signing, and verification in pure Rust.")
- (license license:bsd-3)))
+ ("rust-zeroize" ,rust-zeroize-1))))))
+
(define-public rust-elliptic-curve-0.13
(package
- branch rust-team updated (32c0cf9145 -> edcc8778fe), guix-commits, 2024/03/20
- 03/68: gnu: rust-base64-0.21: Update to 0.21.7., guix-commits, 2024/03/20
- 06/68: gnu: monolith: Update to 2.8.1., guix-commits, 2024/03/20
- 01/68: gnu: Add rust-cargo-toml-0.19., guix-commits, 2024/03/20
- 02/68: gnu: cargo-machete: Update to 0.6.1., guix-commits, 2024/03/20
- 05/68: gnu: rust-cssparser-macros-0.6: Update to 0.6.1., guix-commits, 2024/03/20
- 07/68: gnu: Add rust-mio-aio-0.8., guix-commits, 2024/03/20
- 10/68: gnu: Add rust-curve25519-dalek-derive-0.1., guix-commits, 2024/03/20
- 12/68: gnu: Add rust-fiat-crypto-0.2., guix-commits, 2024/03/20
- 08/68: gnu: rust-tokio-1: Update to 1.36.0., guix-commits, 2024/03/20
- 17/68: gnu: Add rust-ed25519-dalek-2.,
guix-commits <=
- 09/68: gnu: agate: Update to 3.3.5., guix-commits, 2024/03/20
- 15/68: gnu: Add rust-ring-compat-0.8., guix-commits, 2024/03/20
- 16/68: gnu: Add rust-x25519-dalek-2., guix-commits, 2024/03/20
- 04/68: gnu: Add rust-cssparser-0.33., guix-commits, 2024/03/20
- 11/68: gnu: Move rust-fiat-crypto-0.1., guix-commits, 2024/03/20
- 14/68: gnu: Add rust-curve25519-dalek-4., guix-commits, 2024/03/20
- 18/68: gnu: Add rust-ed25519-2., guix-commits, 2024/03/20
- 13/68: gnu: Add rust-platforms-3., guix-commits, 2024/03/20
- 19/68: gnu: Add rust-strobe-rs-0.8., guix-commits, 2024/03/20
- 20/68: gnu: Add rust-strobe-rs-0.5., guix-commits, 2024/03/20