gnu: Add rust-base64-0.22.

* gnu/packages/crates-io.scm (rust-base64-0.22): New variable.
(rust-base64-0.21): Inherit from above.

Change-Id: I55e4ddc1c2d1bd127c8fdbbeeea2ee0b0e47a1d7
This commit is contained in:
Nicolas Goaziou 2024-05-20 21:41:40 +02:00 committed by Efraim Flashner
parent a871cb0659
commit 18af366809
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6651,17 +6651,17 @@ (define-public rust-base58-0.1
c6e7d37. However, this package works only up to 128 bytes.") c6e7d37. However, this package works only up to 128 bytes.")
(license license:expat))) (license license:expat)))
(define-public rust-base64-0.21 (define-public rust-base64-0.22
(package (package
(name "rust-base64") (name "rust-base64")
(version "0.21.7") (version "0.22.1")
(source (origin (source
(method url-fetch) (origin
(uri (crate-uri "base64" version)) (method url-fetch)
(file-name (string-append name "-" version ".tar.gz")) (uri (crate-uri "base64" version))
(sha256 (file-name (string-append name "-" version ".tar.gz"))
(base32 (sha256
"0rw52yvsk75kar9wgqfwgb414kvil1gn7mqkrhn9zf1537mpsacx")))) (base32 "1imqzgh7bxcikp5vx3shqvw9j09g9ly0xr0jma0q66i52r7jbcvj"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-development-inputs `(#:cargo-development-inputs
@ -6678,6 +6678,28 @@ (define-public rust-base64-0.21
"This package encodes and decodes base64 as bytes or utf8.") "This package encodes and decodes base64 as bytes or utf8.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-base64-0.21
(package
(inherit rust-base64-0.22)
(name "rust-base64")
(version "0.21.7")
(source (origin
(method url-fetch)
(uri (crate-uri "base64" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0rw52yvsk75kar9wgqfwgb414kvil1gn7mqkrhn9zf1537mpsacx"))))
(arguments
`(#:cargo-development-inputs
(("rust-clap" ,rust-clap-3)
("rust-criterion" ,rust-criterion-0.4)
("rust-once-cell" ,rust-once-cell-1)
("rust-rand" ,rust-rand-0.8)
("rust-rstest" ,rust-rstest-0.13)
("rust-rstest-reuse" ,rust-rstest-reuse-0.6)
("rust-strum" ,rust-strum-0.25))))))
(define-public rust-base64-0.20 (define-public rust-base64-0.20
(package (package
(inherit rust-base64-0.21) (inherit rust-base64-0.21)