gnu: rust-password-hash-0.3: Allow newer versions of dependencies.

* gnu/packages/crates-io.scm (rust-password-hash-0.3)[source]: Add
snippet to allow using newer versions of dependant crates.

Change-Id: I3bdf4a366c0e5fa6b3309eafe930c5ca851aa3ee
This commit is contained in:
Efraim Flashner 2024-01-22 13:07:25 +02:00
parent 639994711c
commit c047cd7304
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -45557,7 +45557,14 @@ Format (MCF).")
(uri (crate-uri "password-hash" version)) (uri (crate-uri "password-hash" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x")))) (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
(((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*),"
" <([[:digit:]]+(\\.[[:digit:]]+)*)")
_ version _)
(string-append ">=" version)))))))
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-base64ct" ,rust-base64ct-1.0.1) (("rust-base64ct" ,rust-base64ct-1.0.1)