From b9365e93ae31ec2f5320facaf9a6e85d7d7db3b5 Mon Sep 17 00:00:00 2001 From: phodina Date: Fri, 17 Sep 2021 08:37:21 +0200 Subject: gnu: Add rust-lettre-email-0.9. * gnu/packages/crates-io.scm (rust-lettre-email-0.9): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 50fc1263be..5bdd140562 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14938,6 +14938,34 @@ Emacs' support for dynamic modules.") "This crate provides an implementation of RFC 5322 email messages.") (license license:expat))) +(define-public rust-lettre-email-0.9 + (package + (name "rust-lettre-email") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "lettre_email" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mar4njchjd33q7s47r43njjj8farkb78f8ica77jj6gil7lh0px")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-email" ,rust-email-0.0.20) + ("rust-lettre" ,rust-lettre-0.9) + ("rust-mime" ,rust-mime-0.3) + ("rust-time" ,rust-time-0.1) + ("rust-uuid" ,rust-uuid-0.7)))) + (home-page "https://github.com/lettre/lettre") + (synopsis "Mailer library for Rust") + (description "Lettre is a mailer library for Rust. It provides multiple +transport methods, unicode support, secure delivery with SMTP using encryption +and authentication, easy email builders, and async support.") + (license license:expat))) + (define-public rust-embed-resource-1 (package (name "rust-embed-resource") -- cgit v1.2.3