unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61991] [PATCH] gnu: Add cl-smtp.
@ 2023-03-06  1:17 jgart via Guix-patches via
  2023-03-07 10:37 ` bug#61991: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2023-03-06  1:17 UTC (permalink / raw)
  To: 61991; +Cc: Guillaume Le Vaillant, jgart

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#61991: [PATCH] gnu: Add cl-smtp.
  2023-03-06  1:17 [bug#61991] [PATCH] gnu: Add cl-smtp jgart via Guix-patches via
@ 2023-03-07 10:37 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2023-03-07 10:37 UTC (permalink / raw)
  To: jgart; +Cc: 61991-done

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Patch pushed as 0de96f0c73edb263ba6bb8088d3e2c2c88518344.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-07 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-06  1:17 [bug#61991] [PATCH] gnu: Add cl-smtp jgart via Guix-patches via
2023-03-07 10:37 ` bug#61991: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).