tvl-depot/third_party/lisp/cffi.nix
Vincent Ambo a41b8c70a6 refactor(third_party/lisp): Use buildLisp.bundled for built-in libs
Deprecates derivations for:

* sb-bsd-sockets
* sb-posix
* sb-rotate-byte
* uiop
2020-01-26 23:59:07 +00:00

33 lines
701 B
Nix

# CFFI purports to be the Common Foreign Function Interface.
{ pkgs, ... }:
with pkgs.nix;
let src = builtins.fetchGit {
url = "https://github.com/cffi/cffi.git";
rev = "5e838bf46d0089c43ebd3ea014a207c403e29c61";
};
in buildLisp.library {
name = "cffi";
deps = with pkgs.third_party.lisp; [
alexandria
babel
trivial-features
(buildLisp.bundled "asdf")
(buildLisp.bundled "uiop")
];
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"
];
}