diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-21 15:13:14 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:57 +0200 |
commit | c09edce36e253ef6347bfdbc1f8f38d2c99a1626 (patch) | |
tree | c750e5ea9062cb70be2f5ec76a49a5176b7db189 /gnu/packages/crates-crypto.scm | |
parent | 062ca2f7c7fed0f00b23b7f85db17e0f167ba5f5 (diff) | |
download | guix-c09edce36e253ef6347bfdbc1f8f38d2c99a1626.tar guix-c09edce36e253ef6347bfdbc1f8f38d2c99a1626.tar.gz |
gnu: rust-elliptic-curve: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-elliptic-curve-0.13,
rust-elliptic-curve-0.12): Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.
Change-Id: Ib3feb565f17d1655022eb99b5cd8718d743d1e98
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r-- | gnu/packages/crates-crypto.scm | 79 |
1 files changed, 79 insertions, 0 deletions
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 @@ ristretto255 and Curve25519.") (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)))))) |