diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 21bd01777c..182787863d 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -1287,3 +1287,82 @@ (define-public rust-digest-0.6 (description "This package provides traits for cryptographic hash functions.") (license (list license:expat license:asl2.0)))) + +(define-public rust-elliptic-curve-0.13 + (package + (name "rust-elliptic-curve") + (version "0.13.4") + (source (origin + (method url-fetch) + (uri (crate-uri "elliptic-curve" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rqn7yq9rgfs7r0dcj4phxf9hqmw2alfxa0lciamsbkz6sm1xivm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base16ct" ,rust-base16ct-0.2) + ("rust-base64ct" ,rust-base64ct-1) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.5) + ("rust-digest" ,rust-digest-0.10) + ("rust-ff" ,rust-ff-0.13) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-group" ,rust-group-0.13) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7) + ("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sec1" ,rust-sec1-0.7) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serdect" ,rust-serdect-0.2) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sha3" ,rust-sha3-0.10)))) + (home-page + "https://github.com/RustCrypto/traits/tree/master/elliptic-curve") + (synopsis "General purpose Elliptic Curve Cryptography (ECC) support") + (description + "This package provides general purpose @dfn{Elliptic Curve Cryptography} +(ECC) support, including types and traits for representing various elliptic +curve forms, scalars, points, and public/secret keys composed thereof.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-elliptic-curve-0.12 + (package + (inherit rust-elliptic-curve-0.13) + (name "rust-elliptic-curve") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "elliptic-curve" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lwi108mh6drw5nzqzlz7ighdba5qxdg5vmwwnw1j2ihnn58ifz7")))) + (arguments + `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1) + ("rust-base64ct" ,rust-base64ct-1) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.4) + ("rust-der" ,rust-der-0.6) + ("rust-digest" ,rust-digest-0.10) + ("rust-ff" ,rust-ff-0.12) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-group" ,rust-group-0.12) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.6) + ("rust-pkcs8" ,rust-pkcs8-0.9) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sec1" ,rust-sec1-0.3) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serdect" ,rust-serdect-0.1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sha3" ,rust-sha3-0.10)))))) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1ddbd505aa..d6d61e4a73 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21538,85 +21538,6 @@ (define-public rust-elf-0.0.10 "This package provides a pure-Rust library for parsing ELF files.") (license (list license:expat license:asl2.0)))) -(define-public rust-elliptic-curve-0.13 - (package - (name "rust-elliptic-curve") - (version "0.13.4") - (source (origin - (method url-fetch) - (uri (crate-uri "elliptic-curve" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rqn7yq9rgfs7r0dcj4phxf9hqmw2alfxa0lciamsbkz6sm1xivm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-base16ct" ,rust-base16ct-0.2) - ("rust-base64ct" ,rust-base64ct-1) - ("rust-crypto-bigint" ,rust-crypto-bigint-0.5) - ("rust-digest" ,rust-digest-0.10) - ("rust-ff" ,rust-ff-0.13) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-group" ,rust-group-0.13) - ("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-hkdf" ,rust-hkdf-0.12) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7) - ("rust-pkcs8" ,rust-pkcs8-0.10) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-sec1" ,rust-sec1-0.7) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serdect" ,rust-serdect-0.2) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-sha3" ,rust-sha3-0.10)))) - (home-page - "https://github.com/RustCrypto/traits/tree/master/elliptic-curve") - (synopsis "General purpose Elliptic Curve Cryptography (ECC) support") - (description - "This package provides general purpose @dfn{Elliptic Curve Cryptography} -(ECC) support, including types and traits for representing various elliptic -curve forms, scalars, points, and public/secret keys composed thereof.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-elliptic-curve-0.12 - (package - (inherit rust-elliptic-curve-0.13) - (name "rust-elliptic-curve") - (version "0.12.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "elliptic-curve" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lwi108mh6drw5nzqzlz7ighdba5qxdg5vmwwnw1j2ihnn58ifz7")))) - (arguments - `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1) - ("rust-base64ct" ,rust-base64ct-1) - ("rust-crypto-bigint" ,rust-crypto-bigint-0.4) - ("rust-der" ,rust-der-0.6) - ("rust-digest" ,rust-digest-0.10) - ("rust-ff" ,rust-ff-0.12) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-group" ,rust-group-0.12) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-hkdf" ,rust-hkdf-0.12) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.6) - ("rust-pkcs8" ,rust-pkcs8-0.9) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-sec1" ,rust-sec1-0.3) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serdect" ,rust-serdect-0.1) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-sha3" ,rust-sha3-0.10)))))) - (define-public rust-emacs-0.18 (package (name "rust-emacs")