Subject: [PATCH 3/9] gnu: rust-base64-0.13: Fix inputs.

From: phodina <[email-masked]>
Date: Sat, 04 Sep 2021 08:59:57 +0000

* gnu/packages/crates-io.scm
      (rust-base64-0.13)[cargo-development-inputs]: Substitute rust-criterion version 0.3.2 to 0.3.3.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2cd07b513c..3bcd20b9be 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4110,7 +4110,13 @@ c6e7d37.  However, this package works only up to 128 bytes.")
        #:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3)
         ("rust-rand" ,rust-rand-0.6)
-        ("rust-structopt" ,rust-structopt-0.3))))
+        ("rust-structopt" ,rust-structopt-0.3))
+       #:phases
+        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-criterion-minor-version
+          (lambda* _
+           (substitute* "Cargo.toml"
+            (("0.3.2") "0.3.3")))))))
     (home-page "https://github.com/marshallpierce/rust-base64")
     (synopsis "Encodes and decodes base64 as bytes or utf8")
     (description
--
2.32.0