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
This commit is contained in:
Efraim Flashner 2024-02-20 10:39:12 +02:00
parent 022d034c11
commit 2fcc8cc458
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -30627,7 +30627,12 @@ (define-public rust-insta-1
(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