blob: dc0a95944fe78135133c0347af6c4f739118d536 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Common Lisp bindings to OpenSSL
{ depot, pkgs, ... }:
with depot.nix;
let
src = pkgs.fetchgit {
url = "https://github.com/cl-plus-ssl/cl-plus-ssl.git";
rev = "29081992f6d7b4e3aa2c5eeece4cd92b745071f4";
hash = "sha256:16lyrixl98b7vy29dbbzkbq0xaz789350dajrr1gdny5i55rkjq0";
};
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
{
scbl = buildLisp.bundled "uiop";
default = buildLisp.bundled "asdf";
}
{ sbcl = 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"
];
brokenOn = [
"ecl" # dynamic cffi
];
}
|