Subject: bug#61991: closed (Re: [PATCH] gnu: Add cl-smtp.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 07 Mar 2023 10:39:01 +0000

Your bug report

#61991: [PATCH] gnu: Add cl-smtp.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61991: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61991
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH] gnu: Add cl-smtp.
From: Guillaume Le Vaillant <[email-masked]>
To: jgart <[email-masked]>
Cc: [email-masked]
Date: Tue, 07 Mar 2023 10:37:03 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch pushed as 0de96f0c73edb263ba6bb8088d3e2c2c88518344.
Thanks.

Subject: [PATCH] gnu: Add cl-smtp.
From: jgart <[email-masked]>
To: [email-masked]
Cc: Guillaume Le Vaillant <[email-masked]>, jgart <[email-masked]>
Date: Mon, 6 Mar 2023 02:17:15 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/lisp-xyz.scm (cl-smtp, ecl-smtp,
sbcl-smtp): New variables.
---

Hi, here is cl-smtp for sending emails via CL as seen in https://screenshotbot.io/

all best,

jgart

https://github.com/screenshotbot/screenshotbot-oss/blob/2372e102c5ef391ed63aa096f678e2ad1df36afe/src/util/mail.lisp#L33

 gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index a8792dee52..9a7d075877 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -497,6 +497,39 @@ (define-public cl-meta
 (define-public ecl-meta
   (sbcl-package->ecl-package sbcl-meta))
 
+(define-public sbcl-cl-smtp
+  (let ((commit "ed47d326fad867ee11323fa3a0f307b5d40e8f2b")
+        (revision "0"))
+    (package
+      (name "sbcl-cl-smtp")
+      (version (git-version "20191031.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.common-lisp.net/cl-smtp/cl-smtp")
+               (commit commit)))
+         (file-name (git-file-name "cl-smtp" version))
+         (sha256
+          (base32 "0vjjfapcrdc5671jz2d24h8zvpz7skq1x6pi9fvw6ls5sgms6fr0"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       (list sbcl-usocket
+             sbcl-trivial-gray-streams
+             sbcl-flexi-streams
+             sbcl-cl-base64
+             sbcl-cl+ssl))
+      (home-page "https://gitlab.common-lisp.net/cl-smtp/cl-smtp")
+      (synopsis "Simple Common Lisp SMTP client")
+      (description "This package provides a client for SMTP.")
+      (license license:llgpl))))
+
+(define-public cl-smtp
+  (sbcl-package->cl-source-package sbcl-cl-smtp))
+
+(define-public ecl-cl-smtp
+  (sbcl-package->ecl-package sbcl-cl-smtp))
+
 (define-public sbcl-clavier
   (let ((commit "9b1424eaad131e114a45b400784079124b5e2321")
         (revision "1"))
-- 
2.39.1