summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-02-15 20:54:55 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-02-15 20:59:59 +0200
commitdbbcf8b75b80340642fbadd7692161bff65161db (patch)
tree84d0eea816b82dd14863db548c7e7add2131974d /gnu
parent1cdd6b09c8bc45c1ae5a16f16d5bcf33ab0ceb5e (diff)
downloadguix-dbbcf8b75b80340642fbadd7692161bff65161db.tar.gz
gnu: rust-chacha20-0.8: Adjust package dependencies.
* gnu/packages/crates-io.scm (rust-chacha20-0.8)[source]: Add snippet to
adjust crate dependencies.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm7
1 files changed, 6 insertions, 1 deletions
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