guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

65/379: gnu: Add rust-primeorder-0.13.


From: guix-commits
Subject: 65/379: gnu: Add rust-primeorder-0.13.
Date: Mon, 10 Jul 2023 05:27:59 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 0b18014eba262529f71ae14ce9caf6708b4e8089
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:30:26 2023 +0300

    gnu: Add rust-primeorder-0.13.
    
    * gnu/packages/crates-io.scm (rust-primeorder-0.13): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e82f3f07dc..986a9221bd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46203,6 +46203,32 @@ replacements, adding colorful diffs.")
 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-0.5
   (package
     (name "rust-print-bytes")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]