summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorphodina <phodina@protonmail.com>2021-09-03 22:41:01 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-17 12:24:29 +0200
commit22972440f577d504a12b9dc250c01d2b76afc831 (patch)
treebe558df0f169211d4123e99276be68b333d2d392 /gnu
parentb20442e7bb6864da6bad00156a97b03309683e0e (diff)
gnu: Add rust-lettre-0.9.
* gnu/packages/crates-io.scm (rust-lettre-0.9): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f85392ffed..c42856398b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24225,6 +24225,38 @@ requires non-const function calls to be computed.")
"This package provides a library providing a lazily filled Cell struct.")
(license (list license:expat license:asl2.0))))
+(define-public rust-lettre-0.9
+ (package
+ (name "rust-lettre")
+ (version "0.9.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lettre" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pk0jsbjlzijl1m8l2nxxbfll6lk2dbc6ja9mdrvaxc92dvqdvc6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-bufstream" ,rust-bufstream-0.1)
+ ("rust-fast-chemail" ,rust-fast-chemail-0.9)
+ ("rust-hostname" ,rust-hostname-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-nom" ,rust-nom-4)
+ ("rust-r2d2" ,rust-r2d2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://lettre.rs")
+ (synopsis "Rust email client")
+ (description "lettre is an email client for Rust programs allowing easily
+sending emails from Rust applications.")
+ (license license:expat)))
+
(define-public rust-lexical-core-0.7
(package
(name "rust-lexical-core")