--- Begin Message ---
Subject: |
[PATCH] gnu: Add cl-smtp. |
Date: |
Mon, 6 Mar 2023 02:17:15 +0100 |
* 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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [PATCH] gnu: Add cl-smtp. |
Date: |
Tue, 07 Mar 2023 10:37:03 +0000 |
Patch pushed as 0de96f0c73edb263ba6bb8088d3e2c2c88518344.
Thanks.
signature.asc
Description: PGP signature
--- End Message ---