diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 17:56:41 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:12 +0300 |
commit | db762d95a4d9046cd0ade8fc4043b87a8eaacbf5 (patch) | |
tree | ab54f22620c0cbc05a80b57d14193a35d73c887d | |
parent | 24f946b974defd49d1fc9d3b0b5649b2c7b7cef8 (diff) | |
download | guix-db762d95a4d9046cd0ade8fc4043b87a8eaacbf5.tar.gz |
gnu: Add rust-curve25519-dalek-ng-4.
* gnu/packages/crates-io.scm (rust-curve25519-dalek-ng-4): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5bd94d8ed4..3c322dc160 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16613,6 +16613,39 @@ requests.") ristretto255 and Curve25519.") (license license:bsd-3))) +(define-public rust-curve25519-dalek-ng-4 + (package + (name "rust-curve25519-dalek-ng") + (version "4.1.1") + (source (origin + (method url-fetch) + (uri (crate-uri "curve25519-dalek-ng" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j6y6dsqdfp26ifyygibsrm1a8f9f7870i4053xlczil95r9nd8w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-digest" ,rust-digest-0.9) + ("rust-packed-simd-2" ,rust-packed-simd-2-0.3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-subtle-ng" ,rust-subtle-ng-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9)))) + (home-page "https://github.com/zkcrypto/curve25519-dalek-ng") + (synopsis "Implementation of 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-custom-derive-0.1 (package (name "rust-custom-derive") |