Archived
1
0
Fork 0

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.
This commit is contained in:
Efraim Flashner 2023-10-03 16:06:05 +03:00
parent 806042ae9e
commit 0294bff75d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1552,36 +1552,37 @@ SHA-3, and BLAKE2.")
(define-public rust-blake3-1 (define-public rust-blake3-1
(package (package
(name "rust-blake3") (name "rust-blake3")
(version "1.0.0") (version "1.5.0")
;; The crate does not include the reference_impl directory.
(source (source
(origin (origin
(method git-fetch) (method url-fetch)
(uri (git-reference (uri (crate-uri "blake3" version))
(url "https://github.com/BLAKE3-team/BLAKE3") (file-name (string-append name "-" version ".tar.gz"))
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "11ysh12zcqq6xkjxh5cbrmnwzalprm3z552i5ff7wm5za9hz0c82"))))
"09xi7rjyi5hgxyfpias485x5argwqygvfl9sggiw221qjdfxpbdn"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
(list (list
#:tests? #f ; use of undeclared crate or module `reference_impl`
#:cargo-inputs #:cargo-inputs
`(("rust-arrayref" ,rust-arrayref-0.3) `(("rust-arrayref" ,rust-arrayref-0.3)
("rust-arrayvec" ,rust-arrayvec-0.7) ("rust-arrayvec" ,rust-arrayvec-0.7)
("rust-cc" ,rust-cc-1) ("rust-cc" ,rust-cc-1)
("rust-cfg-if" ,rust-cfg-if-1) ("rust-cfg-if" ,rust-cfg-if-1)
("rust-constant-time-eq" ,rust-constant-time-eq-0.1) ("rust-constant-time-eq" ,rust-constant-time-eq-0.3)
("rust-crypto-mac" ,rust-crypto-mac-0.11) ("rust-digest" ,rust-digest-0.10)
("rust-digest" ,rust-digest-0.9) ("rust-memmap2" ,rust-memmap2-0.7)
("rust-rayon" ,rust-rayon-1)) ("rust-rayon" ,rust-rayon-1)
("rust-serde" ,rust-serde-1)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs #:cargo-development-inputs
`(("rust-cc" ,rust-cc-1) `(("rust-hex" ,rust-hex-0.4)
("rust-hex" ,rust-hex-0.4) ("rust-hmac" ,rust-hmac-0.12)
("rust-page-size" ,rust-page-size-0.4) ("rust-page-size" ,rust-page-size-0.6)
("rust-rand" ,rust-rand-0.8) ("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") (home-page "https://github.com/BLAKE3-team/BLAKE3")
(synopsis "BLAKE3 hash function Rust implementation") (synopsis "BLAKE3 hash function Rust implementation")
(description "This crate provides the official Rust implementation of the (description "This crate provides the official Rust implementation of the