guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/26: gnu: Add rust-lettre-email-0.9.


From: guix-commits
Subject: 09/26: gnu: Add rust-lettre-email-0.9.
Date: Fri, 17 Sep 2021 06:26:18 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit b9365e93ae31ec2f5320facaf9a6e85d7d7db3b5
Author: phodina <phodina@protonmail.com>
AuthorDate: Fri Sep 17 08:37:21 2021 +0200

    gnu: Add rust-lettre-email-0.9.
    
    * gnu/packages/crates-io.scm (rust-lettre-email-0.9): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 50fc126..5bdd140 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]