diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 10:39:12 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:59:00 +0200 |
commit | 2fcc8cc458b91a53a07d013779294f923f14a860 (patch) | |
tree | 93f6924da40cff351b6dd20032678225cdc76903 /gnu/packages/crates-io.scm | |
parent | 022d034c11885b86fc712f4bc93047b12b73d4bb (diff) |
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
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 7 |
1 files changed, 6 insertions, 1 deletions
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 |