feat(third_party/lisp): Add derivation for CL+SSL

This commit is contained in:
Vincent Ambo 2020-01-09 01:55:42 +00:00
parent 11e0bf4958
commit fd9fb7730a

38
third_party/lisp/cl-plus-ssl.nix vendored Normal file
View file

@ -0,0 +1,38 @@
# Common Lisp bindings to OpenSSL
{ pkgs, ... }:
let src = builtins.fetchGit {
url = "https://github.com/cl-plus-ssl/cl-plus-ssl.git";
rev = "29081992f6d7b4e3aa2c5eeece4cd92b745071f4";
};
in pkgs.nix.buildLisp.library {
name = "cl-plus-ssl";
deps = with pkgs.third_party.lisp; [
alexandria
bordeaux-threads
cffi
flexi-streams
sb-posix
trivial-features
trivial-garbage
trivial-gray-streams
uiop
];
native = [ pkgs.third_party.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"
];
}