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
This commit is contained in:
Efraim Flashner 2024-12-04 12:10:50 +02:00
parent 50b502f8e7
commit fc2f608ec9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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