gnu: rust-zerocopy-derive-0.2: Allow newer versions of dependencies.

* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.2)[source]: Add
snippet to allow newer versions of dependencies.

Change-Id: I45c0b4f2d2a90c17410f6cae802a669e7dc2b022
This commit is contained in:
Efraim Flashner 2024-02-20 10:48:38 +02:00
parent 2fcc8cc458
commit e75335fc91
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 1 deletions

View File

@ -79250,7 +79250,12 @@ crate.")
(uri (crate-uri "zerocopy-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1yzd3057gr3csn3x4wrl8y4ji52hr8rirbh9cz487svvzp8xp66l"))))
(base32 "1yzd3057gr3csn3x4wrl8y4ji52hr8rirbh9cz487svvzp8xp66l"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
(("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(arguments
`(#:tests? #f ; can't find crate for `rustc`
#:cargo-inputs