about summary refs log tree commit diff
path: root/third_party/lisp/cl-smtp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/cl-smtp.nix')
-rw-r--r--third_party/lisp/cl-smtp.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/third_party/lisp/cl-smtp.nix b/third_party/lisp/cl-smtp.nix
new file mode 100644
index 000000000000..a9905b5ef6f5
--- /dev/null
+++ b/third_party/lisp/cl-smtp.nix
@@ -0,0 +1,32 @@
+{ depot, pkgs, ... }:
+
+let
+  src = pkgs.fetchFromGitLab {
+    domain = "gitlab.common-lisp.net";
+    owner = "cl-smtp";
+    repo = "cl-smtp";
+    rev = "ed47d326fad867ee11323fa3a0f307b5d40e8f2b";
+    sha256 = "0vjjfapcrdc5671jz2d24h8zvpz7skq1x6pi9fvw6ls5sgms6fr0";
+  };
+
+in depot.nix.buildLisp.library {
+  name = "cl-smtp";
+  deps = with depot.third_party.lisp; [
+    usocket
+    trivial-gray-streams
+    flexi-streams
+    cl-base64
+    cl-plus-ssl
+  ];
+
+  srcs = map (f: src + ("/" + f)) [
+    "package.lisp"
+    "attachments.lisp"
+    "cl-smtp.lisp"
+    "mime-types.lisp"
+  ];
+
+  brokenOn = [
+    "ecl" # dynamic cffi
+  ];
+}