guix-commits
[Top][All Lists]
Advanced

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

52/113: gnu: rust-p256-0.13: Move to (gnu packages crates-crypto).


From: guix-commits
Subject: 52/113: gnu: rust-p256-0.13: Move to (gnu packages crates-crypto).
Date: Mon, 22 Jan 2024 04:30:28 -0500 (EST)

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

commit 3a5b168b20772b05bee7d5708db0d6fefaac3edf
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 21 19:28:51 2024 +0200

    gnu: rust-p256-0.13: Move to (gnu packages crates-crypto).
    
    * gnu/packages/crates-io.scm (rust-p256-0.13): Move from here ...
    * gnu/packages/crates-crypto.scm: ... to here.
    
    Change-Id: Id5ff1fce1b76d11caa8f31587357cf28366f2d7a
---
 gnu/packages/crates-crypto.scm | 37 +++++++++++++++++++++++++++++++++++++
 gnu/packages/crates-io.scm     | 37 -------------------------------------
 2 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index e3394770a2..264b2d26a9 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -2296,6 +2296,43 @@ cryptographic library.")
 easy and usable crypto while trying to minimize the use of unsafe code.")
     (license license:expat)))
 
+(define-public rust-p256-0.13
+  (package
+    (name "rust-p256")
+    (version "0.13.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "p256" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0jyd3c3k239ybs59ixpnl7dqkmm072fr1js8kh7ldx58bzc3m1n9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("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-serdect" ,rust-serdect-0.2)
+        ("rust-sha2" ,rust-sha2-0.10))
+       #:cargo-development-inputs
+       (("rust-blobby" ,rust-blobby-0.3)
+        ("rust-criterion" ,rust-criterion-0.4)
+        ("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/p256";)
+    (synopsis "Pure Rust implementation of the NIST P-256")
+    (description
+     "This package provides a pure Rust implementation of the NIST P-256 
(a.k.a.
+secp256r1, prime256v1) elliptic curve as defined in SP 800-186, with support 
for
+ECDH, ECDSA signing/verification, and general purpose curve arithmetic.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-pbkdf2-0.12
   (package
     (name "rust-pbkdf2")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1cd1839e1b..a37f8152ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45528,43 +45528,6 @@ normally prevent moving a type that has been borrowed 
from.")
      (list #:cargo-inputs
            `(("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))))
 
-(define-public rust-p256-0.13
-  (package
-    (name "rust-p256")
-    (version "0.13.2")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "p256" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0jyd3c3k239ybs59ixpnl7dqkmm072fr1js8kh7ldx58bzc3m1n9"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("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-serdect" ,rust-serdect-0.2)
-        ("rust-sha2" ,rust-sha2-0.10))
-       #:cargo-development-inputs
-       (("rust-blobby" ,rust-blobby-0.3)
-        ("rust-criterion" ,rust-criterion-0.4)
-        ("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/p256";)
-    (synopsis "Pure Rust implementation of the NIST P-256")
-    (description
-     "This package provides a pure Rust implementation of the NIST P-256 
(a.k.a.
-secp256r1, prime256v1) elliptic curve as defined in SP 800-186, with support 
for
-ECDH, ECDSA signing/verification, and general purpose curve arithmetic.")
-    (license (list license:asl2.0 license:expat))))
-
 (define-public rust-p384-0.13
   (package
     (name "rust-p384")



reply via email to

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