From fc2f608ec90ddcf39c6f584ac77c743f84072b03 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 4 Dec 2024 12:10:50 +0200 Subject: [PATCH] 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 @@ (define-public rust-pem-rfc7468-0.2 (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