tvl-depot/third_party/lisp/cl-plus-ssl.nix
Vincent Ambo 8361b82d0a refactor(third_party): Consistent use of depot.third_party vs. pkgs
In preparation for the solution of b/108, we need to consistently use
`depot.third_party` for packages that are only packed in the TVL depot
and `pkgs` for things that come from nixpkgs.

This commit cleans up a huge chunk of these uses in //third_party

Change-Id: Ic382c0cdea7330a84d5f0b7d109c824ddceb94e7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2912
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2021-04-10 11:48:55 +00:00

40 lines
818 B
Nix

# Common Lisp bindings to OpenSSL
{ depot, pkgs, ... }:
with depot.nix;
let src = builtins.fetchGit {
url = "https://github.com/cl-plus-ssl/cl-plus-ssl.git";
rev = "29081992f6d7b4e3aa2c5eeece4cd92b745071f4";
};
in buildLisp.library {
name = "cl-plus-ssl";
deps = with depot.third_party.lisp; [
alexandria
bordeaux-threads
cffi
flexi-streams
trivial-features
trivial-garbage
trivial-gray-streams
(buildLisp.bundled "uiop")
(buildLisp.bundled "sb-posix")
];
native = [ pkgs.openssl ];
srcs = map (f: src + ("/src/" + f)) [
"package.lisp"
"reload.lisp"
"conditions.lisp"
"ffi.lisp"
"x509.lisp"
"ffi-buffer-all.lisp"
"ffi-buffer.lisp"
"streams.lisp"
"bio.lisp"
"random.lisp"
"context.lisp"
"verify-hostname.lisp"
];
}