[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 033/228] gnu: Add rust-k256-0.13.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 033/228] gnu: Add rust-k256-0.13. |
Date: |
Sun, 18 Feb 2024 22:02:31 +0100 |
* gnu/packages/crates-crypto.scm (rust-k256-0.13): Add variable.
Change-Id: I674837d219efcb665b3733104df7ddbaeecf56dd
---
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..23500388f9 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 @@ (define-public rust-hmac-sha1-0.1
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 ECDSA, BIP340, ECDH and general-purpose
+seckp256k1 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,
+Taproot Schnorr signatures (BIP340), 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")
--
2.41.0
- [bug#69257] [PATCH 005/228] gnu: Add rust-backoff-0.4., (continued)
- [bug#69257] [PATCH 005/228] gnu: Add rust-backoff-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 009/228] gnu: Add rust-proptest-derive-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 006/228] gnu: Add rust-cfg-vis-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 011/228] gnu: Add rust-imbl-sized-chunks-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 014/228] gnu: Place rust-thousands-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 017/228] gnu: Add rust-branches-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 008/228] gnu: Add rust-compiletest-rs-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 020/228] gnu: Place rust-rpassword-5 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 022/228] gnu: Place rust-rpassword-7 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 030/228] gnu: Add rust-eyeball-0.8., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 033/228] gnu: Add rust-k256-0.13.,
Herman Rimm <=
- [bug#69257] [PATCH 034/228] gnu: Add rust-mas-iana-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 002/228] gnu: Add rust-anymap2-0.13., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 003/228] gnu: Add rust-aquamarine-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 013/228] gnu: Place rust-uom-0.34 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 012/228] gnu: Add rust-imbl-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 016/228] gnu: Add rust-stream-assert-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 029/228] gnu: Add rust-readlock-tokio-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 059/228] gnu: Add rust-http-range-header-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 083/228] gnu: Place rust-paw-raw-1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 004/228] gnu: Add rust-as-variant-1., Herman Rimm, 2024/02/18