blob: de1d0c2e8ed76e61c3ac02827a1efb7c101d6f99 (
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
|
# CFFI purports to be the Common Foreign Function Interface.
{ depot, pkgs, ... }:
with depot.nix;
let src = with pkgs; srcOnly lispPackages.cffi;
in buildLisp.library {
name = "cffi";
deps = with depot.third_party.lisp; [
alexandria
babel
trivial-features
(buildLisp.bundled "asdf")
];
srcs = [
{
ecl = src + "/src/cffi-ecl.lisp";
sbcl = src + "/src/cffi-sbcl.lisp";
ccl = src + "/src/cffi-openmcl.lisp";
}
] ++ map (f: src + ("/src/" + f)) [
"package.lisp"
"utils.lisp"
"libraries.lisp"
"early-types.lisp"
"types.lisp"
"enum.lisp"
"strings.lisp"
"structures.lisp"
"functions.lisp"
"foreign-vars.lisp"
"features.lisp"
];
}
|