2020-07-21 20:29:58 +02:00
|
|
|
{ depot, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (depot.nix.buildLisp) bundled;
|
|
|
|
src = pkgs.fetchFromGitHub {
|
2021-08-15 18:50:03 +02:00
|
|
|
owner = "sharplispers";
|
2020-07-21 20:29:58 +02:00
|
|
|
repo = "nibbles";
|
2021-08-15 18:50:03 +02:00
|
|
|
rev = "dad25240928d5cf8f7df69c4398244e03570bb35";
|
|
|
|
sha256 = "0r6ljlpgjmkf87pmvdwzva8qj15bhznc3ylgcjjqyy4frbx9lygz";
|
|
|
|
name = "nibbles-source";
|
2020-07-21 20:29:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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"
|
2021-08-15 18:50:03 +02:00
|
|
|
"sbcl-opt/fndb.lisp"
|
|
|
|
"sbcl-opt/nib-tran.lisp"
|
|
|
|
"sbcl-opt/x86-vm.lisp"
|
|
|
|
"sbcl-opt/x86-64-vm.lisp"
|
2020-07-21 20:29:58 +02:00
|
|
|
];
|
|
|
|
}
|