gnu: rust-chacha20-0.8: Adjust package dependencies.

* gnu/packages/crates-io.scm (rust-chacha20-0.8)[source]: Add snippet to
adjust crate dependencies.
This commit is contained in:
Efraim Flashner 2022-02-15 20:54:55 +02:00
parent 1cdd6b09c8
commit dbbcf8b75b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -10249,7 +10249,12 @@ (define-public rust-chacha20-0.8
(uri (crate-uri "chacha20" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "14cgpnnpqsn5hmqkgrj4yaqdsvy56hkgcw5s2gqsxwhc7m1jmdq1"))))
(base32 "14cgpnnpqsn5hmqkgrj4yaqdsvy56hkgcw5s2gqsxwhc7m1jmdq1"))
(modules '((guix build utils)))
(snippet
'(begin
(substitute* "Cargo.toml"
(("version = \">=1, <1.5\"") "version = \"^1\""))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs