gnu: Add rust-mailparse-0.15.

* gnu/packages/crates-io.scm (rust-mailparse-0.15): New variable.
(rust-mailparse-0.14): Inherit from rust-mailparse-0.15.

Change-Id: I284fdd0addd024bd130ad6dea209dd0eb7f3ecdc
This commit is contained in:
Efraim Flashner 2024-12-30 15:56:36 +02:00
parent 73d4fc5ad9
commit b0dba8ab79
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -42894,8 +42894,32 @@ (define-public rust-maildir-0.5
("rust-tempfile" ,rust-tempfile-3)
("rust-walkdir" ,rust-walkdir-2))))))
(define-public rust-mailparse-0.15
(package
(name "rust-mailparse")
(version "0.15.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "mailparse" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0zkwbrzgr7pp1wyywjgvlxayr1p3nnkn2yxgi97746j1h1ckv81x"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-charset" ,rust-charset-0.1)
("rust-data-encoding" ,rust-data-encoding-2)
("rust-quoted-printable" ,rust-quoted-printable-0.5))
#:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.17))))
(home-page "https://github.com/staktrace/mailparse/blob/master/README.md")
(synopsis "Simple parser for MIME e-mail messages")
(description
"This package provides a simple parser for MIME e-mail messages.")
(license license:bsd-0)))
(define-public rust-mailparse-0.14
(package
(inherit rust-mailparse-0.15)
(name "rust-mailparse")
(version "0.14.1")
(source (origin
@ -42905,18 +42929,12 @@ (define-public rust-mailparse-0.14
(sha256
(base32
"0mwpkxi41ak8pabknmvj49dpsbs0q6w7w12f0lp49avcjaa6a29d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-charset" ,rust-charset-0.1)
("rust-data-encoding" ,rust-data-encoding-2)
("rust-quoted-printable" ,rust-quoted-printable-0.5))
#:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.17))))
(home-page "https://github.com/staktrace/mailparse/blob/master/README.md")
(synopsis "Simple parser for MIME e-mail messages")
(description
"This package provides a simple parser for MIME e-mail messages.")
(license license:bsd-0)))
#:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.17))))))
(define-public rust-mailparse-0.13
(package