[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
34/62: gnu: Add rust-k256-0.13.
From: |
guix-commits |
Subject: |
34/62: gnu: Add rust-k256-0.13. |
Date: |
Wed, 13 Mar 2024 16:22:22 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 18bc585cc5528565e6d17ccb9ffca0e26b2f79fd
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:31 2024 +0100
gnu: Add rust-k256-0.13.
* gnu/packages/crates-crypto.scm (rust-k256-0.13): Add variable.
Change-Id: I674837d219efcb665b3733104df7ddbaeecf56dd
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-crypto.scm | 43 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index d4205f7d70..9e3773649c 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 VÖRÖSKŐI András <voroskoi@gmail.com>
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
+;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2520,6 +2521,48 @@ Hash-based Message Authentication Code}.")
Hash-based Message Authentication Code algorithm} for SHA1.")
(license license:bsd-3)))
+(define-public rust-k256-0.13
+ (package
+ (name "rust-k256")
+ (version "0.13.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "k256" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ysq18pjz040am5llgly90464x7qqq98yxfbcsladq96gsvgjvwm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-ecdsa" ,rust-ecdsa-0.16)
+ ("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
+ ("rust-hex-literal" ,rust-hex-literal-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-serdect" ,rust-serdect-0.2)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-signature" ,rust-signature-2))
+ #:cargo-development-inputs (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-ecdsa" ,rust-ecdsa-0.16)
+ ("rust-hex-literal" ,rust-hex-literal-0.4)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-sha3" ,rust-sha3-0.10))))
+ (home-page
+ "https://github.com/RustCrypto/elliptic-curves/tree/master/k256")
+ (synopsis
+ "Library supporting general-purpose elliptic curve group operations")
+ (description
+ "This package provides a secp256k1 elliptic curve library written in pure
+Rust with support for ECDSA signing/verification/public-key recovery,
+@dfn{Taproot Schnorr signatures} (BIP340), @dfn{Elliptic Curve Diffie-Hellman}
+(ECDH), and general-purpose secp256k1 elliptic curve group operations which can
+be used to implement arbitrary protocols.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-kuznyechik-0.8
(package
(name "rust-kuznyechik")
- 12/62: gnu: Add rust-imbl-2., (continued)
- 12/62: gnu: Add rust-imbl-2., guix-commits, 2024/03/13
- 11/62: gnu: Add rust-imbl-sized-chunks-0.1., guix-commits, 2024/03/13
- 15/62: gnu: Place rust-twox-hash-1 in alphabetical order., guix-commits, 2024/03/13
- 20/62: gnu: Place rust-rpassword-5 in alphabetical order., guix-commits, 2024/03/13
- 22/62: gnu: Place rust-rpassword-7 in alphabetical order., guix-commits, 2024/03/13
- 25/62: gnu: Place rust-roxmltree-0.14 in alphabetical order., guix-commits, 2024/03/13
- 29/62: gnu: Add rust-readlock-tokio-0.1., guix-commits, 2024/03/13
- 26/62: gnu: Place rust-rodio-0.15 in alphabetical order., guix-commits, 2024/03/13
- 28/62: gnu: Add rust-readlock-0.1., guix-commits, 2024/03/13
- 30/62: gnu: Add rust-eyeball-0.8., guix-commits, 2024/03/13
- 34/62: gnu: Add rust-k256-0.13.,
guix-commits <=
- 35/62: gnu: rust-ecdsa-0.16: Update to 0.16.9., guix-commits, 2024/03/13
- 46/62: gnu: Add rust-parse-display-derive-0.8., guix-commits, 2024/03/13
- 39/62: gnu: Add rust-mas-iana-0.7., guix-commits, 2024/03/13
- 59/62: gnu: rust-assert-cmd-2: Update to 2.0.14., guix-commits, 2024/03/13
- 62/62: gnu: rust-anstyle-query-1: Update to 1.0.2., guix-commits, 2024/03/13
- 51/62: gnu: rust-lettre-email-0.9: Don't skip the build., guix-commits, 2024/03/13
- 44/62: gnu: Add rust-structmeta-derive-0.2., guix-commits, 2024/03/13
- 61/62: gnu: rust-anstream-0.6: Update to 0.6.13., guix-commits, 2024/03/13
- 57/62: gnu: rust-zerocopy-derive-0.7: Accept newer versions of dependencies., guix-commits, 2024/03/13
- 54/62: gnu: Add rust-num-conv-0.1., guix-commits, 2024/03/13