about summary refs log tree commit diff
path: root/third_party/lisp/cl-smtp.nix
blob: 6b6b415a03a53b60f18917244b7b42cf4de63989 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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"
  ];
}