2020-01-09 02:00:11 +01:00
|
|
|
# CFFI purports to be the Common Foreign Function Interface.
|
2020-02-21 13:47:29 +01:00
|
|
|
{ depot, ... }:
|
2020-01-09 02:00:11 +01:00
|
|
|
|
2020-02-21 13:47:29 +01:00
|
|
|
with depot.nix;
|
2020-01-09 02:00:11 +01:00
|
|
|
let src = builtins.fetchGit {
|
|
|
|
url = "https://github.com/cffi/cffi.git";
|
|
|
|
rev = "5e838bf46d0089c43ebd3ea014a207c403e29c61";
|
|
|
|
};
|
2020-01-27 00:59:07 +01:00
|
|
|
in buildLisp.library {
|
2020-01-09 02:00:11 +01:00
|
|
|
name = "cffi";
|
2020-02-21 13:47:29 +01:00
|
|
|
deps = with depot.third_party.lisp; [
|
2020-01-09 02:00:11 +01:00
|
|
|
alexandria
|
|
|
|
babel
|
|
|
|
trivial-features
|
2020-01-27 00:59:07 +01:00
|
|
|
(buildLisp.bundled "asdf")
|
|
|
|
(buildLisp.bundled "uiop")
|
2020-01-09 02:00:11 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
srcs = map (f: src + ("/src/" + f)) [
|
|
|
|
"cffi-sbcl.lisp"
|
|
|
|
"package.lisp"
|
|
|
|
"utils.lisp"
|
|
|
|
"libraries.lisp"
|
|
|
|
"early-types.lisp"
|
|
|
|
"types.lisp"
|
|
|
|
"enum.lisp"
|
|
|
|
"strings.lisp"
|
|
|
|
"structures.lisp"
|
|
|
|
"functions.lisp"
|
|
|
|
"foreign-vars.lisp"
|
|
|
|
"features.lisp"
|
|
|
|
];
|
|
|
|
}
|