guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

57/62: gnu: rust-zerocopy-derive-0.7: Accept newer versions of dependenc


From: guix-commits
Subject: 57/62: gnu: rust-zerocopy-derive-0.7: Accept newer versions of dependencies.
Date: Wed, 13 Mar 2024 16:22:28 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 288e880843d9bf93cdb53631d4ac283937a3f53f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 13 21:47:04 2024 +0200

    gnu: rust-zerocopy-derive-0.7: Accept newer versions of dependencies.
    
    * gnu/packages/crates-io.scm (rust-zerocopy-derive-0.7)[source]: Add
    snippet to allow newer versions of dependencies.
    
    Change-Id: I09636c7d0906af68622ae672896c76a8c08b65c5
---
 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 06b907c621..738a4adbc0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79893,7 +79893,12 @@ for locating fonts.")
        (uri (crate-uri "zerocopy-derive" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw"))))
+        (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                   (string-append "\"^" version)))))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f  ; unresolved import `zerocopy`



reply via email to

[Prev in Thread] Current Thread [Next in Thread]