about summary refs log tree commit diff
path: root/third_party/lisp/marshal.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-26T23·55-0400
committerglittershark <grfn@gws.fyi>2020-07-27T14·18+0000
commitd98f2ea68fa9c73f1cc4acfdfb9a427ae3e47f63 (patch)
treef377f218314a357cf1098fd9e54be5b859b244d2 /third_party/lisp/marshal.nix
parentc7cd12eb25d5d47450e07cbaa6a0f6c9582f3ed9 (diff)
feat(3p/lisp): Add checkl r/1491
Change-Id: Ib73ed9637b7e22050727ac5ec117241e18d3cc45
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1472
Tested-by: BuildkiteCI
Reviewed-by: eta <eta@theta.eu.org>
Diffstat (limited to 'third_party/lisp/marshal.nix')
-rw-r--r--third_party/lisp/marshal.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/lisp/marshal.nix b/third_party/lisp/marshal.nix
new file mode 100644
index 000000000000..711e6e082d61
--- /dev/null
+++ b/third_party/lisp/marshal.nix
@@ -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"
+  ];
+}