From 2fcc8cc458b91a53a07d013779294f923f14a860 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 20 Feb 2024 10:39:12 +0200 Subject: [PATCH] gnu: rust-insta-1: Allow newer versions of dependencies. * gnu/packages/crates-io.scm (rust-insta-1)[source]: Add snippet to allow newer versions of dependencies. Change-Id: Ie56cae284be7e33c772c3514b7749459d6598925 --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6c1e467318..6dd05690fa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30627,7 +30627,12 @@ over in-place and buffer-to-buffer modes of operation.") (uri (crate-uri "insta" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1z7v6mzm1djv9sn1k9j796xl2i3llwzj82klcz1cybsbwc5n0r2x")))) + (base32 "1z7v6mzm1djv9sn1k9j796xl2i3llwzj82klcz1cybsbwc5n0r2x")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags