unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "VÖRÖSKŐI András" <voroskoi@gmail.com>
To: 70461@debbugs.gnu.org
Cc: "VÖRÖSKŐI András" <voroskoi@gmail.com>,
	"Efraim Flashner" <efraim@flashner.co.il>
Subject: [bug#70461] [PATCH 04/10] gnu: Add rust-p521-0.13.3.
Date: Thu, 18 Apr 2024 22:28:29 +0200	[thread overview]
Message-ID: <1b5eea1433e19d7b0d2ee86cbc8a61933e2bb3ee.1713472115.git.voroskoi@gmail.com> (raw)
In-Reply-To: <d426923c8b4f9b119cebd2f0fb4d9044bfee1efb.1713472115.git.voroskoi@gmail.com>

* gnu/packages/crates-crypto.scm (rust-p521): New variable.

Change-Id: I7dfd717125f0bfb05456659a50afe6b4ba758717
---
 gnu/packages/crates-crypto.scm | 35 ++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 8f3b14a2a2..bf43b48e55 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -3355,6 +3355,41 @@ (define-public rust-p384-0.13
 signing/verification, and general purpose curve arithmetic support.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-p521-0.13
+  (package
+    (name "rust-p521")
+    (version "0.13.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "p521" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1cl5y2aypa1vxg181a0na3abndz1981pfdp2zkyml88z3wbf5j8g"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.2)
+                       ("rust-ecdsa" ,rust-ecdsa-0.16)
+                       ("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
+                       ("rust-hex-literal" ,rust-hex-literal-0.4)
+                       ("rust-primeorder" ,rust-primeorder-0.13)
+                       ("rust-rand-core" ,rust-rand-core-0.6)
+                       ("rust-serdect" ,rust-serdect-0.2)
+                       ("rust-sha2" ,rust-sha2-0.10))
+       #:cargo-development-inputs (("rust-blobby" ,rust-blobby-0.3)
+                                   ("rust-ecdsa" ,rust-ecdsa-0.16)
+                                   ("rust-hex-literal" ,rust-hex-literal-0.4)
+                                   ("rust-primeorder" ,rust-primeorder-0.13)
+                                   ("rust-proptest" ,rust-proptest-1)
+                                   ("rust-rand-core" ,rust-rand-core-0.6))))
+    (home-page
+     "https://github.com/RustCrypto/elliptic-curves/tree/master/p521")
+    (synopsis "Rust implementation of the NIST P-521")
+    (description
+     "Pure Rust implementation of the NIST P-521 (a.k.a.  secp521r1) elliptic curve as
+defined in SP 800-186")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-pbkdf2-0.12
   (package
     (name "rust-pbkdf2")
-- 
2.41.0





  parent reply	other threads:[~2024-04-18 20:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-18 20:01 [bug#70461] gitui-0.26.1 András Vöröskői
2024-04-18 20:28 ` [bug#70461] [PATCH 01/10] gnu: rust-rayon: Update to 1.10.0 VÖRÖSKŐI András
2024-04-18 20:28   ` [bug#70461] [PATCH 02/10] gnu: Add rust-bcrypt-pbkdf-0.10.0 VÖRÖSKŐI András
2024-04-18 20:28   ` [bug#70461] [PATCH 03/10] gnu: rust-primeorder: Update to 0.13.6 VÖRÖSKŐI András
2024-04-18 20:28   ` VÖRÖSKŐI András [this message]
2024-04-18 20:28   ` [bug#70461] [PATCH 05/10] gnu: Add rust-ssh-encoding-0.2.0 VÖRÖSKŐI András
2024-04-18 20:28   ` [bug#70461] [PATCH 06/10] gnu: Add rust-ssh-cipher-0.2.0 VÖRÖSKŐI András
2024-04-18 20:28   ` [bug#70461] [PATCH 07/10] gnu: Add rust-ssh-key-0.6.6 VÖRÖSKŐI András
2024-04-18 20:28   ` [bug#70461] [PATCH 08/10] gnu: Add rust-asyncgit-0.26.0 VÖRÖSKŐI András
2024-04-18 20:28   ` [bug#70461] [PATCH 09/10] gnu: Add rust-two-face-0.3.0 VÖRÖSKŐI András
2024-04-18 20:28   ` [bug#70461] [PATCH 10/10] gnu: gitui: Update to 0.26.1 VÖRÖSKŐI András
2024-05-19  3:39 ` [bug#70461] [PATCH 1/9] gnu: rust-insta: Update to 1.39.0 VÖRÖSKŐI András
2024-05-19  3:39   ` [bug#70461] [PATCH 2/9] gnu: Add rust-two-face-0.4.0 VÖRÖSKŐI András
2024-05-19  3:39   ` [bug#70461] [PATCH 3/9] gnu: Add rust-unicode-truncate-1.0.0 VÖRÖSKŐI András
2024-05-19  3:39   ` [bug#70461] [PATCH 4/9] gnu: rust-tokio: Update to 1.37.0 VÖRÖSKŐI András
2024-05-19  3:39   ` [bug#70461] [PATCH 5/9] gnu: Add rust-sdd-0.2.0 VÖRÖSKŐI András
2024-05-19  3:39   ` [bug#70461] [PATCH 6/9] gnu: Add rust-scc-2.1.1 VÖRÖSKŐI András
2024-05-19  3:39   ` [bug#70461] [PATCH 7/9] gnu: rust-serial-test: Update to 3.1.1 VÖRÖSKŐI András
2024-05-19  3:39   ` [bug#70461] [PATCH 8/9] gnu: rust-asyncgit: Update to 0.26.2 VÖRÖSKŐI András
2024-05-19  3:39   ` [bug#70461] [PATCH 9/9] gnu: gitui: " VÖRÖSKŐI András

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1b5eea1433e19d7b0d2ee86cbc8a61933e2bb3ee.1713472115.git.voroskoi@gmail.com \
    --to=voroskoi@gmail.com \
    --cc=70461@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).