gnu: Add rust-fallible-iterator-0.3.

* gnu/packages/crates-io.scm (rust-fallible-iterator-0.3): New variable.
(rust-fallible-iterator-0.2): Inherit from rust-fallible-iterator-0.3.

Change-Id: Iddafe2cfbe14f0202837c2103cb28c9b5a9b0d7c
This commit is contained in:
Efraim Flashner 2024-03-11 13:41:38 +02:00
parent 86cb1c0bfc
commit 392808e653
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -22774,8 +22774,29 @@ (define-public rust-failure-derive-0.1
(description "Derives for the failure crate.") (description "Derives for the failure crate.")
(license (list license:asl2.0 license:expat)))) (license (list license:asl2.0 license:expat))))
(define-public rust-fallible-iterator-0.3
(package
(name "rust-fallible-iterator")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "fallible-iterator" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ja6l56yka5vn4y4pk6hn88z0bpny7a8k1919aqjzp0j1yhy9k1a"))))
(build-system cargo-build-system)
(home-page "https://github.com/sfackler/rust-fallible-iterator")
(synopsis "Fallible iterator traits")
(description "If the @code{std} or @code{alloc} features are enabled, this
crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
provides implementations for @code{HashMap} and @code{HashSet}.")
(license (list license:expat license:asl2.0))))
(define-public rust-fallible-iterator-0.2 (define-public rust-fallible-iterator-0.2
(package (package
(inherit rust-fallible-iterator-0.3)
(name "rust-fallible-iterator") (name "rust-fallible-iterator")
(version "0.2.0") (version "0.2.0")
(source (source
@ -22784,17 +22805,7 @@ (define-public rust-fallible-iterator-0.2
(uri (crate-uri "fallible-iterator" version)) (uri (crate-uri "fallible-iterator" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))))
"1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
(build-system cargo-build-system)
(home-page "https://github.com/sfackler/rust-fallible-iterator")
(synopsis "Fallible iterator traits")
(description "If the @code{std} or @code{alloc} features are enabled, this
crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
provides implementations for @code{HashMap} and @code{HashSet}.")
(license (list license:asl2.0
license:expat))))
(define-public rust-fallible-streaming-iterator-0.1 (define-public rust-fallible-streaming-iterator-0.1
(package (package