guix-commits
[Top][All Lists]
Advanced

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

190/409: gnu: rust-pem-rfc7468-0.2: Use newer versions of dependencies.


From: guix-commits
Subject: 190/409: gnu: rust-pem-rfc7468-0.2: Use newer versions of dependencies.
Date: Thu, 19 Dec 2024 02:22:17 -0500 (EST)

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

commit 647ccf754fbe299bd060ec9b9682f651841f2047
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 4 12:10:50 2024 +0200

    gnu: rust-pem-rfc7468-0.2: Use newer versions of dependencies.
    
    * gnu/packages/crates-crypto.scm (rust-pem-rfc7468-0.2)[source]: Add
    snippet to allow for newer versions of dependencies.
    [cargo-inputs]: Replace rust-base64ct-1.1 with 1.
    
    Change-Id: Ia53c0fcd063c879d7fa4f798516d129e08dcb62f
---
 gnu/packages/crates-crypto.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 2e48bad913..b5e1762dab 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -3969,9 +3969,16 @@ implementation suitable for use with cryptographic 
private keys.")
        (uri (crate-uri "pem-rfc7468" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4"))))
+        (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*),"
+                                   " <([[:digit:]]+(\\.[[:digit:]]+)*)")
+                    _ version _)
+                   (string-append ">=" version)))))))
     (arguments
-     `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1.1))))))
+     `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1))))))
 
 (define-public rust-poly1305-0.8
   (package



reply via email to

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