[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
179/276: gnu: Add rust-constant-time-eq-0.3.
From: |
guix-commits |
Subject: |
179/276: gnu: Add rust-constant-time-eq-0.3. |
Date: |
Wed, 18 Oct 2023 04:49:58 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit e5815422a87a7e931cbd1d0f50bb610ae2acaae8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 16:01:26 2023 +0300
gnu: Add rust-constant-time-eq-0.3.
* gnu/packages/crates-io.scm (rust-constant-time-eq-0.3): New variable.
(rust-constant-time-eq-0.2): Inherit from rust-constant-time-eq-0.3.
---
gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++---------
1 file changed, 26 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ba5791293b..b93a3a1d53 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14837,8 +14837,33 @@ generation.")
"This package provides a sha1 implementation for use in const contexts.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-constant-time-eq-0.3
+ (package
+ (name "rust-constant-time-eq")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "constant-time-eq" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hl0y8frzlhpr58rh8rlg4bm53ax09ikj2i5fk7gpyphvhq4s57p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-count-instructions" ,rust-count-instructions-0.1)
+ ("rust-criterion" ,rust-criterion-0.5))))
+ (home-page "https://github.com/cesarb/constant_time_eq")
+ (synopsis
+ "Compares two equal-sized byte strings in constant time")
+ (description
+ "This package compares two equal-sized byte strings in constant time.
+It is inspired by the Linux kernel's @code{crypto_memneq}.")
+ (license (list license:cc0 license:expat-0 license:asl2.0))))
+
(define-public rust-constant-time-eq-0.2
(package
+ (inherit rust-constant-time-eq-0.3)
(name "rust-constant-time-eq")
(version "0.2.5")
(source (origin
@@ -14848,16 +14873,8 @@ generation.")
(sha256
(base32
"0sy7bs12dfa2d5hw7759b0mvjqcs85giajg4qyg39xq8a1s8wh8k"))))
- (build-system cargo-build-system)
(arguments
- `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4))))
- (home-page "https://github.com/cesarb/constant_time_eq")
- (synopsis
- "Compares two equal-sized byte strings in constant time")
- (description
- "This package compares two equal-sized byte strings in constant time.
-It is inspired by the Linux kernel's @code{crypto_memneq}.")
- (license (list license:cc0 license:expat-0 license:asl2.0))))
+ `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4))))))
(define-public rust-constant-time-eq-0.1
(package
- 148/276: gnu: Add rust-ntest-timeout-0.7., (continued)
- 148/276: gnu: Add rust-ntest-timeout-0.7., guix-commits, 2023/10/18
- 149/276: gnu: Add rust-ntest-test-cases-0.7., guix-commits, 2023/10/18
- 163/276: gnu: Add rust-itertools-0.11., guix-commits, 2023/10/18
- 165/276: gnu: rust-predicates-core-1: Update to 1.0.6., guix-commits, 2023/10/18
- 166/276: gnu: rust-predicates-tree-1: Update to 1.0.9., guix-commits, 2023/10/18
- 170/276: gnu: Add rust-resize-0.4., guix-commits, 2023/10/18
- 164/276: gnu: Add rust-predicates-3., guix-commits, 2023/10/18
- 172/276: gnu: wlgreet: Update to 0.4.1., guix-commits, 2023/10/18
- 177/276: gnu: rust-minisign: Update to 0.7.5., guix-commits, 2023/10/18
- 178/276: gnu: rust-arrayvec-0.7: Update to 0.7.4., guix-commits, 2023/10/18
- 179/276: gnu: Add rust-constant-time-eq-0.3.,
guix-commits <=
- 183/276: gnu: rust-serde-json-1: Update to 1.0.107., guix-commits, 2023/10/18
- 185/276: gnu: rust-tempfile-3: Update to 3.8.0., guix-commits, 2023/10/18
- 180/276: gnu: Add rust-criterion-0.5., guix-commits, 2023/10/18
- 190/276: gnu: rust-pyo3: Update to 0.19.2., guix-commits, 2023/10/18
- 199/276: gnu: rust-afl-0.8: Remove check-for-pregenerated-files phase., guix-commits, 2023/10/18
- 201/276: gnu: rust-cookie-0.14: Update to 0.14.4., guix-commits, 2023/10/18
- 198/276: gnu: rust-addr2line-0.17: Fix building., guix-commits, 2023/10/18
- 204/276: build: cargo-build-system: Disable tests by default., guix-commits, 2023/10/18
- 206/276: gnu: rust-cargo-util-0.1: Fix build., guix-commits, 2023/10/18
- 205/276: gnu: rust-base32-0.4: Add missing inputs., guix-commits, 2023/10/18