guix-commits
[Top][All Lists]
Advanced

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

182/350: gnu: rust-crypto-mac-0.11: Update to 0.11.1.


From: guix-commits
Subject: 182/350: gnu: rust-crypto-mac-0.11: Update to 0.11.1.
Date: Sun, 15 Dec 2024 02:14:28 -0500 (EST)

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

commit dac3813877e1d2c3c0f1af42d81eb5826d8f0e3d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 4 11:51:29 2024 +0200

    gnu: rust-crypto-mac-0.11: Update to 0.11.1.
    
    * gnu/packages/crates-crypto.scm (rust-crypto-mac-0.11): Update to
    0.11.1.
    [source]: Add snippet to allow for newer versions of dependencies.
    
    Change-Id: I3c8f376bac882d776a4f6a658a3e339ab3874092
---
 gnu/packages/crates-crypto.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 29ad730887..41e85b319a 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1655,16 +1655,19 @@ of cryptographic primitives.")
 (define-public rust-crypto-mac-0.11
   (package
     (name "rust-crypto-mac")
-    (version "0.11.0")
+    (version "0.11.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "crypto-mac" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5"))))
+        (base32 "05672ncc54h66vph42s0a42ljl69bwnqjh0x4xgj2v1395psildi"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (substitute* "Cargo.toml"
+                   (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                    (string-append "\"^" version)))))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs



reply via email to

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