Subject: [bug#55903] [PATCH v12 25/40] gnu: Add go-github-com-emersion-go-smtp.

From: "(" <[email-masked]>
Date: Mon, 10 Oct 2022 08:17:39 +0100

From: "(unmatched-parenthesis" <[email-masked]>

* gnu/packages/golang.scm (go-github-com-emersion-go-smtp): New
  variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 041be6c591..659374b271 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6493,6 +6493,30 @@ (define-public go-github-com-emersion-go-imap-sortthread
 @code{go-github-com-emersion-go-imap}.")
     (license license:expat)))
 
+(define-public go-github-com-emersion-go-smtp
+  (package
+    (name "go-github-com-emersion-go-smtp")
+    (version "0.15.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/emersion/go-smtp")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1vhc0vpjd4yhxk6wrh01sdpi7nprjn98s46yy82xwlkm0cskl0h7"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/emersion/go-smtp"))
+    (propagated-inputs (list go-github-com-emersion-go-sasl))
+    (home-page "https://github.com/emersion/go-smtp")
+    (synopsis "SMTP implementation for Go")
+    (description
+     "This package implements the Simple Mail Transfer Protocol as
+defined by RFC 5321.")
+    (license license:expat)))
+
 (define-public go-github-com-emersion-go-sasl
   (let ((commit "0b9dcfb154ac3d7515b08bc2691a0332800edfe9")
         (revision "1"))
-- 
2.38.0