gnu: b3sum: Update to 1.5.0.

* gnu/packages/crypto.scm (b3sum): Update to 1.5.0.
[cargo-inputs]: Replace rust-blake3-0.3 with 1, rust-clap-2 with 4.
Remove rust-memmap-0.7. Add rust-memmap2-0.7.
This commit is contained in:
Efraim Flashner 2023-10-03 16:08:30 +03:00
parent 0294bff75d
commit d9745d6dbd
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1595,16 +1595,14 @@ (define-public rust-blake3-1
(define-public b3sum
(package
(name "b3sum")
;; Version 1 requires Rust >= 1.51.
;; <https://github.com/BLAKE3-team/BLAKE3/releases/tag/1.0.0>
(version "0.3.8")
(version "1.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "b3sum" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0h3fz16q5lk6mg7r8kjkjrq5hd4injngn5m7pswjbf2pyzjmg4b4"))))
(base32 "05k0vn7gpbvjr925vjc5yzvhiyrmkw9pqmch5fr4ir7s8wiaq2fm"))))
(build-system cargo-build-system)
(arguments
`(;; Install the source so that Cargo.toml is installed, because that is
@ -1624,10 +1622,10 @@ (define-public b3sum
(install-file "README.md" doc)))))
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-blake3" ,rust-blake3-0.3)
("rust-clap" ,rust-clap-2)
("rust-blake3" ,rust-blake3-1)
("rust-clap" ,rust-clap-4)
("rust-hex" ,rust-hex-0.4)
("rust-memmap" ,rust-memmap-0.7)
("rust-memmap2" ,rust-memmap2-0.7)
("rust-rayon" ,rust-rayon-1)
("rust-wild" ,rust-wild-2))
#:cargo-development-inputs