[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 164/228] gnu: Add rust-x25519-dalek-2.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 164/228] gnu: Add rust-x25519-dalek-2. |
Date: |
Sun, 18 Feb 2024 22:08:54 +0100 |
* gnu/packages/crates-crypto.scm (rust-x25519-dalek-2): Add variable.
(rust-x25519-dalek-1): Inherit from rust-x25519-dalek-2.
Change-Id: Iff7bd2ed16e99849d57ba6eacde4d361f5976674
---
gnu/packages/crates-crypto.scm | 46 ++++++++++++++++++++++++----------
1 file changed, 33 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index e2fa124f62..0c45722177 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -6029,8 +6029,37 @@ (define-public rust-universal-hash-0.3
(("rust-generic-array" ,rust-generic-array-0.12)
("rust-subtle" ,rust-subtle-2))))))
+(define-public rust-x25519-dalek-2
+ (package
+ (name "rust-x25519-dalek")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x25519-dalek" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xyjgqpsa0q6pprakdp58q1hy45rf8wnqqscgzx0gyw13hr6ir67"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-curve25519-dalek" ,rust-curve25519-dalek-4)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-rand-core" ,rust-rand-core-0.6))))
+ (home-page "https://doc.dalek.rs/x25519_dalek")
+ (synopsis "X25519 elliptic curve Diffie-Hellman key exchange")
+ (description
+ "This crate provides a Rust implementation of x25519 elliptic curve
+Diffie-Hellman key exchange, with curve operations provided by
+@code{curve25519-dalek}.")
+ (license license:bsd-3)))
+
(define-public rust-x25519-dalek-1
(package
+ (inherit rust-x25519-dalek-2)
(name "rust-x25519-dalek")
(version "1.2.0")
(source
@@ -6041,25 +6070,16 @@ (define-public rust-x25519-dalek-1
(sha256
(base32 "0xz0m1pczss9r25d1r52420dl2picdypbcn5ycmlwssp9awvd4i3"))
(modules '((guix build utils)))
- (snippet
- '(begin
- (substitute* "Cargo.toml"
- (("version = \"=1.3\"") "version = \"^1.3\""))))))
- (build-system cargo-build-system)
+ (snippet '(substitute* "Cargo.toml"
+ (("version = \"=1.3\"")
+ "version = \"^1.3\"")))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-curve25519-dalek" ,rust-curve25519-dalek-3)
("rust-rand-core" ,rust-rand-core-0.5)
("rust-serde" ,rust-serde-1)
- ("rust-zeroize" ,rust-zeroize-1))))
- (home-page "https://dalek.rs/")
- (synopsis "X25519 elliptic curve Diffie-Hellman key exchange")
- (description
- "This crate provides a pure-Rust implementation of x25519 elliptic curve
-Diffie-Hellman key exchange, with curve operations provided by
-@code{curve25519-dalek}.")
- (license license:bsd-3)))
+ ("rust-zeroize" ,rust-zeroize-1))))))
(define-public rust-x25519-dalek-ng-1
(package
--
2.41.0
- [bug#69257] [PATCH 138/228] gnu: Add rust-js-int-0.2., (continued)
- [bug#69257] [PATCH 138/228] gnu: Add rust-js-int-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 062/228] gnu: Add rust-opentelemetry-0.21., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 068/228] gnu: Add rust-dary-heap-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 066/228] gnu: Add rust-opentelemetry-http-0.10., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 176/228] gnu: Add rust-tls-codec-derive-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 124/228] gnu: Add rust-wiremock-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 133/228] gnu: Add rust-const-panic-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 075/228] gnu: Add rust-symbolic-common-12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 031/228] gnu: Add rust-eyeball-im-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 056/228] gnu: Add rust-h2-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 164/228] gnu: Add rust-x25519-dalek-2.,
Herman Rimm <=
- [bug#69257] [PATCH 216/228] gnu: Add rust-uniffi-core-0.25., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 181/228] gnu: Add rust-matrix-pickle-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 155/228] gnu: Add rust-curve25519-dalek-derive-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 178/228] gnu: Add rust-x509-cert-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 144/228] gnu: Add rust-assign-1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 174/228] gnu: Add rust-matrix-sdk-test-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 064/228] gnu: rust-sluice-0.5: Update to 0.5.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 199/228] gnu: Add rust-fancy-constructor-1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 019/228] gnu: Place rust-rpds-1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 177/228] gnu: Add rust-tls-codec-0.4., Herman Rimm, 2024/02/18