summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 17:56:35 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:37:59 +0300
commit3944e6dce0fc4325bda703b5745fa6abe7569e0a (patch)
tree391c983713e9cf2794aebcdbe2b1b7f3cc70d019 /gnu
parentd5019a375478f4f2486c51d2c0279cf73e8ad02c (diff)
gnu: Add rust-x25519-dalek-ng-1.
* gnu/packages/crates-io.scm (rust-x25519-dalek-ng-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9155346450..e141af235e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74880,6 +74880,34 @@ Diffie-Hellman key exchange, with curve operations provided by
@code{curve25519-dalek}.")
(license license:bsd-3)))
+(define-public rust-x25519-dalek-ng-1
+ (package
+ (name "rust-x25519-dalek-ng")
+ (version "1.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "x25519-dalek-ng" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "09n35vgrryjy0m6ascfaykc8s0i517rzgj64qdq2jrlri7g78w5z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-curve25519-dalek-ng" ,rust-curve25519-dalek-ng-4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("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.3))))
+ (home-page "https://dalek.rs/")
+ (synopsis "Fork of x25519-dalek")
+ (description "This package provides a fork x25519-dalek, with an updated
+rand_core.")
+ (license license:bsd-3)))
+
(define-public rust-x509-parser-0.12
(package
(name "rust-x509-parser")