[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 159/228] gnu: Add rust-curve25519-dalek-4.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 159/228] gnu: Add rust-curve25519-dalek-4. |
Date: |
Sun, 18 Feb 2024 22:08:49 +0100 |
* gnu/packages/crates-crypto.scm (rust-curve25519-dalek-4): Add
variable.
(rust-curve25519-dalek-3): Inherit from rust-curve25519-dalek-4.
Change-Id: I997b83ead6f5ad368af932b4f4bfa9d231c5d06e
---
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 2af59fb983..4581bedd33 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1708,8 +1708,49 @@ (define-public rust-ctr-0.6
`(#: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
@@ -1719,7 +1760,6 @@ (define-public rust-curve25519-dalek-3
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
@@ -1735,13 +1775,7 @@ (define-public rust-curve25519-dalek-3
("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
--
2.41.0
- [bug#69257] [PATCH 054/228] gnu: Add rust-http-body-1., (continued)
- [bug#69257] [PATCH 054/228] gnu: Add rust-http-body-1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 027/228] gnu: Add rust-rclite-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 227/228] gnu: Add rust-matrix-sdk-ui-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 180/228] gnu: Add rust-matrix-pickle-derive-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 058/228] gnu: Add rust-hyper-util-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 021/228] gnu: Place rust-rpassword-6 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 221/228] gnu: Add rust-uniffi-udl-0.25., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 035/228] gnu: Add rust-mas-jose-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 173/228] gnu: Add rust-ruma-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 024/228] gnu: Place rust-rtoolbox-0.0.1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 159/228] gnu: Add rust-curve25519-dalek-4.,
Herman Rimm <=
- [bug#69257] [PATCH 076/228] gnu: Add rust-msvc-demangler-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 045/228] gnu: Add rust-gat-std-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 032/228] gnu: Add rust-eyeball-im-util-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 140/228] gnu: Add rust-ruma-macros-0.12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 189/228] gnu: Add rust-bs58-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 098/228] gnu: Add rust-grpcio-sys-0.12., Herman Rimm, 2024/02/18
- [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