[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: rust-zerocopy-derive-0.2: Allow newer versions of dependenci
From: |
guix-commits |
Subject: |
04/04: gnu: rust-zerocopy-derive-0.2: Allow newer versions of dependencies. |
Date: |
Tue, 20 Feb 2024 04:22:46 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit b40171d6e1e484ddd6d87ce0fecec55d31e854df
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Feb 20 10:48:38 2024 +0200
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
---
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 6dd05690fa..aaf2157661 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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