tvl-depot/web/panettone/default.nix
Griffin Smith 37540b3ed7 feat(web/panettone): Render issues+comments as Markdown
Use the new cheddar markdown endpoint to render issue bodies and comment
bodies as JSON. I've checked, and this *also* appears to be XSS
safe (yay)

Change-Id: Ib4b19fd581b0cf40ba03f5d13443535d17df6632
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1500
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2020-07-31 15:21:18 +00:00

43 lines
646 B
Nix

{ depot, ... }:
depot.nix.buildLisp.program {
name = "panettone";
deps = with depot.third_party.lisp; [
cl-json
cl-who
drakma
defclass-std
easy-routes
hunchentoot
lass
local-time
postmodern
trivial-ldap
depot.lisp.klatre
];
srcs = [
./panettone.asd
./src/packages.lisp
./src/util.lisp
./src/css.lisp
./src/authentication.lisp
./src/model.lisp
./src/panettone.lisp
];
tests = {
deps = with depot.third_party.lisp; [
fiveam
];
srcs = [
./test/package.lisp
./test/model_test.lisp
];
expression = "(fiveam:run!)";
};
}