guix-commits
[Top][All Lists]
Advanced

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

58/62: gnu: rust-zerocopy-0.7: Accept newer versions of dependencies.


From: guix-commits
Subject: 58/62: gnu: rust-zerocopy-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 d6dbfd74ea70e0d66e8201a01745959c4f5b6e63
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 13 21:49:52 2024 +0200

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



reply via email to

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