2020-01-09 02:55:42 +01:00
|
|
|
# Common Lisp bindings to OpenSSL
|
|
|
|
{ pkgs, ... }:
|
|
|
|
|
2020-01-27 00:59:07 +01:00
|
|
|
with pkgs.nix;
|
|
|
|
|
2020-01-09 02:55:42 +01:00
|
|
|
let src = builtins.fetchGit {
|
|
|
|
url = "https://github.com/cl-plus-ssl/cl-plus-ssl.git";
|
|
|
|
rev = "29081992f6d7b4e3aa2c5eeece4cd92b745071f4";
|
|
|
|
};
|
2020-01-27 00:59:07 +01:00
|
|
|
in buildLisp.library {
|
2020-01-09 02:55:42 +01:00
|
|
|
name = "cl-plus-ssl";
|
|
|
|
deps = with pkgs.third_party.lisp; [
|
|
|
|
alexandria
|
|
|
|
bordeaux-threads
|
|
|
|
cffi
|
|
|
|
flexi-streams
|
|
|
|
trivial-features
|
|
|
|
trivial-garbage
|
|
|
|
trivial-gray-streams
|
2020-01-27 00:59:07 +01:00
|
|
|
(buildLisp.bundled "uiop")
|
|
|
|
(buildLisp.bundled "sb-posix")
|
2020-01-09 02:55:42 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
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"
|
|
|
|
];
|
|
|
|
}
|