From dbbcf8b75b80340642fbadd7692161bff65161db Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 15 Feb 2022 20:54:55 +0200 Subject: gnu: rust-chacha20-0.8: Adjust package dependencies. * gnu/packages/crates-io.scm (rust-chacha20-0.8)[source]: Add snippet to adjust crate dependencies. --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d21fb240a8..17960099b2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10249,7 +10249,12 @@ chain, the first matching branch is the item that gets emitted.") (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 -- cgit v1.2.3