[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
186/194: gnu: rust-blake3-1: Update to 1.5.0.
From: |
guix-commits |
Subject: |
186/194: gnu: rust-blake3-1: Update to 1.5.0. |
Date: |
Tue, 3 Oct 2023 14:58:16 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 26526a8b6a24bf6c57cb34de66175dfcfaac3461
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 16:06:05 2023 +0300
gnu: rust-blake3-1: Update to 1.5.0.
* gnu/packages/crypto.scm (rust-blake3-1): Update to 1.5.0.
[source]: Download using url-fetch.
[arguments]: Skip tests.
[cargo-inputs]: Add rust-memmap2-0.7, rust-serde-1, rust-zerioze-1.
Replace rust-constant-time-eq-0.1 with 0.3, rust-digest-0.9 with 0.10.
Remove rust-crypto-mac-0.11.
[cargo-development-inputs]: Add rust-serde-json-1, rust-tempfile-3.
Replace rust-page-size-0.4 with 0.6. Remove rust-cc-1.
---
gnu/packages/crypto.scm | 35 ++++++++++++++++++-----------------
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 2b09b6e9b8..686beb81d1 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1578,36 +1578,37 @@ SHA-3, and BLAKE2.")
(define-public rust-blake3-1
(package
(name "rust-blake3")
- (version "1.0.0")
- ;; The crate does not include the reference_impl directory.
+ (version "1.5.0")
(source
(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/BLAKE3-team/BLAKE3")
- (commit version)))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri (crate-uri "blake3" version))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "09xi7rjyi5hgxyfpias485x5argwqygvfl9sggiw221qjdfxpbdn"))))
+ (base32 "11ysh12zcqq6xkjxh5cbrmnwzalprm3z552i5ff7wm5za9hz0c82"))))
(build-system cargo-build-system)
(arguments
(list
+ #:tests? #f ; use of undeclared crate or module `reference_impl`
#:cargo-inputs
`(("rust-arrayref" ,rust-arrayref-0.3)
("rust-arrayvec" ,rust-arrayvec-0.7)
("rust-cc" ,rust-cc-1)
("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
- ("rust-crypto-mac" ,rust-crypto-mac-0.11)
- ("rust-digest" ,rust-digest-0.9)
- ("rust-rayon" ,rust-rayon-1))
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.3)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-memmap2" ,rust-memmap2-0.7)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
- `(("rust-cc" ,rust-cc-1)
- ("rust-hex" ,rust-hex-0.4)
- ("rust-page-size" ,rust-page-size-0.4)
+ `(("rust-hex" ,rust-hex-0.4)
+ ("rust-hmac" ,rust-hmac-0.12)
+ ("rust-page-size" ,rust-page-size-0.6)
("rust-rand" ,rust-rand-0.8)
- ("rust-rand-chacha" ,rust-rand-chacha-0.3))))
+ ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/BLAKE3-team/BLAKE3")
(synopsis "BLAKE3 hash function Rust implementation")
(description "This crate provides the official Rust implementation of the
- 189/194: gnu: rust-oorandom-11: Rename from rust-oorandom-11.1., (continued)
- 189/194: gnu: rust-oorandom-11: Rename from rust-oorandom-11.1., guix-commits, 2023/10/03
- 180/194: gnu: Add rust-criterion-0.5., guix-commits, 2023/10/03
- 183/194: gnu: rust-serde-json-1: Update to 1.0.107., guix-commits, 2023/10/03
- 193/194: gnu: python-pyopenssl: Update to 23.2.0., guix-commits, 2023/10/03
- 177/194: gnu: rust-minisign: Update to 0.7.5., guix-commits, 2023/10/03
- 191/194: gnu: rust-smallvec-1: Update to 1.11.1., guix-commits, 2023/10/03
- 190/194: gnu: rust-pyo3: Update to 0.19.2., guix-commits, 2023/10/03
- 170/194: gnu: Add rust-resize-0.4., guix-commits, 2023/10/03
- 176/194: gnu: rust-getrandom-0.2: Update to 0.2.10., guix-commits, 2023/10/03
- 169/194: gnu: Add rust-termtree-0.4., guix-commits, 2023/10/03
- 186/194: gnu: rust-blake3-1: Update to 1.5.0.,
guix-commits <=