gnu: Add rust-maildir-0.6.

* gnu/packages/crates-io.scm (rust-maildir-0.6): Add variable.
(rust-maildir-0.5): Inherit from rust-maildir-0.6.

Change-Id: Iaeb447ffbec76d92ef146562b329f92bbf8fb6f7
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Herman Rimm 2024-01-30 16:24:56 +01:00 committed by Efraim Flashner
parent 89525439ef
commit 04e13b24b4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -35746,8 +35746,35 @@ (define-public rust-magic-string-0.3
"This package provides a MagicString port driven by Rust and N-API.")
(license license:expat)))
(define-public rust-maildir-0.6
(package
(name "rust-maildir")
(version "0.6.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "maildir" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0dqlkvhcrigs4y5vg0jf8ccgwns8jj85cjp6vsgj3f1sfkk6m6l7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gethostname" ,rust-gethostname-0.2)
("rust-mailparse" ,rust-mailparse-0.14)
("rust-memmap2" ,rust-memmap2-0.5))
#:cargo-development-inputs
(("rust-percent-encoding" ,rust-percent-encoding-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-walkdir" ,rust-walkdir-2))))
(home-page "https://github.com/staktrace/maildir/blob/master/README.md")
(synopsis "Simple library for maildir manipulation")
(description
"This package provides a simple library for maildir manipulation")
(license license:bsd-0)))
(define-public rust-maildir-0.5
(package
(inherit rust-maildir-0.6)
(name "rust-maildir")
(version "0.5.0")
(source
@ -35757,7 +35784,6 @@ (define-public rust-maildir-0.5
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0pivq6njjmfnf0jn6i8sihbfgly6v674zwncd6f5nwiw79lz9p3a"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-gethostname" ,rust-gethostname-0.2)
@ -35766,12 +35792,7 @@ (define-public rust-maildir-0.5
#:cargo-development-inputs
(("rust-percent-encoding" ,rust-percent-encoding-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-walkdir" ,rust-walkdir-2))))
(home-page "https://github.com/staktrace/maildir")
(synopsis "Simple library for maildir manipulation")
(description
"This package provides a simple library for maildir manipulation.")
(license license:bsd-0)))
("rust-walkdir" ,rust-walkdir-2))))))
(define-public rust-mailparse-0.14
(package