[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/68: gnu: Add rust-curve25519-dalek-4.
From: |
guix-commits |
Subject: |
14/68: gnu: Add rust-curve25519-dalek-4. |
Date: |
Wed, 20 Mar 2024 11:24:26 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 24008de42dbd3e56da5dfc8b91847a17b60ac48a
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:08:49 2024 +0100
gnu: Add rust-curve25519-dalek-4.
* gnu/packages/crates-crypto.scm (rust-curve25519-dalek-4): Add
variable.
(rust-curve25519-dalek-3): Inherit from rust-curve25519-dalek-4.
Change-Id: I997b83ead6f5ad368af932b4f4bfa9d231c5d06e
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-crypto.scm | 50 +++++++++++++++++++++++++++++++++++-------
1 file changed, 42 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 7d35a755d0..8a824821f1 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1816,8 +1816,49 @@ re-exported cipher crate.")
`(#:skip-build? #t
#:cargo-inputs (("rust-cipher" ,rust-cipher-0.2))))))
+(define-public rust-curve25519-dalek-4
+ (package
+ (name "rust-curve25519-dalek")
+ (version "4.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "curve25519-dalek" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0j7kqchcgycs4a11gvlda93h9w2jr05nn4hjpfyh2kn94a4pnrqa"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-curve25519-dalek-derive" ,rust-curve25519-dalek-derive-0.1)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-ff" ,rust-ff-0.13)
+ ("rust-fiat-crypto" ,rust-fiat-crypto-0.2)
+ ("rust-group" ,rust-group-0.13)
+ ("rust-platforms" ,rust-platforms-3)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-sha2" ,rust-sha2-0.10))))
+ (home-page "https://doc.dalek.rs/curve25519_dalek")
+ (synopsis "Group operations on ristretto255 and Curve25519")
+ (description
+ "This package provides a pure-Rust implementation of group operations
+on ristretto255 and Curve25519.")
+ (license license:bsd-3)))
+
(define-public rust-curve25519-dalek-3
(package
+ (inherit rust-curve25519-dalek-4)
(name "rust-curve25519-dalek")
(version "3.2.0")
(source
@@ -1827,7 +1868,6 @@ re-exported cipher crate.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
@@ -1843,13 +1883,7 @@ re-exported cipher crate.")
("rust-criterion" ,rust-criterion-0.3)
("rust-hex" ,rust-hex-0.4)
("rust-rand" ,rust-rand-0.7)
- ("rust-sha2" ,rust-sha2-0.9))))
- (home-page "https://dalek.rs/curve25519-dalek")
- (synopsis "Group operations on ristretto255 and Curve25519")
- (description
- "This package provides a pure-Rust implementation of group operations on
-ristretto255 and Curve25519.")
- (license license:bsd-3)))
+ ("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-curve25519-dalek-derive-0.1
(package
- 07/68: gnu: Add rust-mio-aio-0.8., (continued)
- 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, 2024/03/20
- 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 <=
- 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
- 21/68: gnu: Add rust-merlin-3., guix-commits, 2024/03/20
- 22/68: gnu: rust-integer-encoding-3: Update to 3.0.4., guix-commits, 2024/03/20
- 25/68: gnu: Add rust-ordered-multimap-0.4., guix-commits, 2024/03/20
- 26/68: gnu: Add rust-rust-ini-0.18., guix-commits, 2024/03/20
- 33/68: gnu: Add rust-ordered-float-4., guix-commits, 2024/03/20
- 38/68: gnu: rust-ordered-float-1: Update to 1.1.1., guix-commits, 2024/03/20