diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-04-03T16·10-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2021-04-03T18·54+0000 |
commit | e908ccdbbbe60ba2dfecfb0bad37352d79f8527d (patch) | |
tree | 2b3f44d8f65fe029dda8261b4be7d408ebe3970c /third_party | |
parent | 268cb4cb1192807d901066fa71dbb3e94ef9ab76 (diff) |
feat(3p/lisp): Add cl-smtp r/2413
Change-Id: Idbf63e346b696fb6704390d7a76a2f2b2d3bc190 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2802 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/lisp/cl-smtp.nix | 28 | ||||
-rw-r--r-- | third_party/nixpkgs-exposed/exposed/default.nix | 1 |
2 files changed, 29 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..05805d316451 --- /dev/null +++ b/third_party/lisp/cl-smtp.nix @@ -0,0 +1,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 pkgs.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" + ]; +} diff --git a/third_party/nixpkgs-exposed/exposed/default.nix b/third_party/nixpkgs-exposed/exposed/default.nix index 59eb01402d15..864b6e08f54f 100644 --- a/third_party/nixpkgs-exposed/exposed/default.nix +++ b/third_party/nixpkgs-exposed/exposed/default.nix @@ -48,6 +48,7 @@ fd fdtools fetchFromGitHub + fetchFromGitLab fetchgit fetchurl fetchzip |