guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: rust-insta-1: Allow newer versions of dependencies.


From: guix-commits
Subject: 03/04: gnu: rust-insta-1: Allow newer versions of dependencies.
Date: Tue, 20 Feb 2024 04:22:45 -0500 (EST)

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

commit 70e7ce7c6640a41ebbbf717f0277d7626f6a610b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Feb 20 10:39:12 2024 +0200

    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
---
 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 6c1e467318..6dd05690fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30627,7 +30627,12 @@ over in-place and buffer-to-buffer modes of 
operation.")
        (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



reply via email to

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