feat(3p/lisp): Add checkl
Change-Id: Ib73ed9637b7e22050727ac5ec117241e18d3cc45 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1472 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org>
This commit is contained in:
parent
c7cd12eb25
commit
d98f2ea68f
2 changed files with 46 additions and 0 deletions
26
third_party/lisp/checkl.nix
vendored
Normal file
26
third_party/lisp/checkl.nix
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (depot.nix.buildLisp) bundled;
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "rpav";
|
||||||
|
repo = "CheckL";
|
||||||
|
rev = "80328800d047fef9b6e32dfe6bdc98396aee3cc9";
|
||||||
|
sha256 = "0bpisihx1gay44xmyr1dmhlwh00j0zzi04rp9fy35i95l2r4xdlx";
|
||||||
|
};
|
||||||
|
|
||||||
|
in depot.nix.buildLisp.library {
|
||||||
|
name = "checkl";
|
||||||
|
deps = with pkgs.lisp; [
|
||||||
|
(bundled "asdf")
|
||||||
|
marshal
|
||||||
|
fiveam
|
||||||
|
];
|
||||||
|
|
||||||
|
srcs = map (f: src + ("/" + f)) [
|
||||||
|
"package.lisp"
|
||||||
|
"checkl.lisp"
|
||||||
|
"formalize.lisp"
|
||||||
|
];
|
||||||
|
}
|
20
third_party/lisp/marshal.nix
vendored
Normal file
20
third_party/lisp/marshal.nix
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "wlbr";
|
||||||
|
repo = "cl-marshal";
|
||||||
|
rev = "eff1b15f2b0af2f26f71ad6a4dd5c4beab9299ec";
|
||||||
|
sha256 = "08qs6fhk38xpkkjkpcj92mxx0lgy4ygrbbzrmnivdx281syr0gwh";
|
||||||
|
};
|
||||||
|
|
||||||
|
in depot.nix.buildLisp.library {
|
||||||
|
name = "marshal";
|
||||||
|
srcs = map (f: src + ("/" + f)) [
|
||||||
|
"package.lisp"
|
||||||
|
"serialization-format.lisp"
|
||||||
|
"coding-idiom.lisp"
|
||||||
|
"marshal.lisp"
|
||||||
|
"unmarshal.lisp"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue