diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index cca62c314e..8f9d0a107c 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -2596,6 +2596,32 @@ (define-public rust-ppv-lite86-0.2 for x86.") (license (list license:asl2.0 license:expat)))) +(define-public rust-primeorder-0.13 + (package + (name "rust-primeorder") + (version "0.13.1") + (source (origin + (method url-fetch) + (uri (crate-uri "primeorder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ddz0d0fzzcpdlsj6c6989va8ykf702g3zmf7dszfa0y6rski3fg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-elliptic-curve" ,rust-elliptic-curve-0.13) + ("rust-serdect" ,rust-serdect-0.2)))) + (home-page + "https://github.com/RustCrypto/elliptic-curves/tree/master/primeorder") + (synopsis + "Rust implementation of addition formulas for prime order elliptic curves") + (description + "This package contains a pure Rust implementation of complete addition +formulas for prime order elliptic curves (Renes-Costello-Batina 2015). It +provides a generic over field elements and curve equation coefficients.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rfc6979-0.4 (package (name "rust-rfc6979") diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4b991c3dd8..41d0bbdc6f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50467,32 +50467,6 @@ (define-public rust-prettytable-rs-0.8 formatted tables in terminal.") (license license:bsd-3))) -(define-public rust-primeorder-0.13 - (package - (name "rust-primeorder") - (version "0.13.1") - (source (origin - (method url-fetch) - (uri (crate-uri "primeorder" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ddz0d0fzzcpdlsj6c6989va8ykf702g3zmf7dszfa0y6rski3fg")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-elliptic-curve" ,rust-elliptic-curve-0.13) - ("rust-serdect" ,rust-serdect-0.2)))) - (home-page - "https://github.com/RustCrypto/elliptic-curves/tree/master/primeorder") - (synopsis - "Rust implementation of addition formulas for prime order elliptic curves") - (description - "This package contains a pure Rust implementation of complete addition -formulas for prime order elliptic curves (Renes-Costello-Batina 2015). It -provides a generic over field elements and curve equation coefficients.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-print-bytes-1 (package (name "rust-print-bytes")