tvl-depot/third_party/lisp/nibbles.nix
sterni 0bf5b9eb20 feat(3p/lisp/nibbles): 2017-03-07 -> 2021-05-20
Also allows us to enable the SBCL opt modules. Upstream changes as
sharplispers has the only maintained nibbles fork atm.

Change-Id: I6f0d1b9e4e570169e5f5c584364948e2031063af
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3364
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2021-08-15 23:26:21 +00:00

32 lines
696 B
Nix

{ depot, pkgs, ... }:
let
inherit (depot.nix.buildLisp) bundled;
src = pkgs.fetchFromGitHub {
owner = "sharplispers";
repo = "nibbles";
rev = "dad25240928d5cf8f7df69c4398244e03570bb35";
sha256 = "0r6ljlpgjmkf87pmvdwzva8qj15bhznc3ylgcjjqyy4frbx9lygz";
name = "nibbles-source";
};
in depot.nix.buildLisp.library {
name = "nibbles";
deps = with depot.third_party.lisp; [
(bundled "asdf")
];
srcs = map (f: src + ("/" + f)) [
"package.lisp"
"types.lisp"
"macro-utils.lisp"
"types.lisp"
"vectors.lisp"
"streams.lisp"
"sbcl-opt/fndb.lisp"
"sbcl-opt/nib-tran.lisp"
"sbcl-opt/x86-vm.lisp"
"sbcl-opt/x86-64-vm.lisp"
];
}