2024-03-24 15:32:15 +01:00
|
|
|
{ depot, pkgs, ... }:
|
2020-07-22 00:59:25 +02:00
|
|
|
|
|
|
|
depot.nix.buildLisp.program {
|
|
|
|
name = "panettone";
|
|
|
|
|
|
|
|
deps = with depot.third_party.lisp; [
|
2021-04-03 19:44:25 +02:00
|
|
|
bordeaux-threads
|
2020-07-31 05:05:19 +02:00
|
|
|
cl-json
|
2020-08-29 00:10:27 +02:00
|
|
|
cl-ppcre
|
2021-04-03 19:05:06 +02:00
|
|
|
cl-smtp
|
2020-07-22 00:59:25 +02:00
|
|
|
cl-who
|
2024-03-24 15:32:15 +01:00
|
|
|
str
|
2020-07-22 00:59:25 +02:00
|
|
|
defclass-std
|
2021-04-03 19:05:06 +02:00
|
|
|
drakma
|
2020-07-22 00:59:25 +02:00
|
|
|
easy-routes
|
2020-07-22 04:12:02 +02:00
|
|
|
hunchentoot
|
2020-07-23 00:16:58 +02:00
|
|
|
lass
|
2020-07-22 04:12:02 +02:00
|
|
|
local-time
|
2020-07-26 21:33:27 +02:00
|
|
|
postmodern
|
2020-07-22 00:59:25 +02:00
|
|
|
|
|
|
|
depot.lisp.klatre
|
|
|
|
];
|
|
|
|
|
|
|
|
srcs = [
|
2020-07-23 00:16:58 +02:00
|
|
|
./panettone.asd
|
|
|
|
./src/packages.lisp
|
2024-03-24 15:32:15 +01:00
|
|
|
(pkgs.writeText "build.lisp" ''
|
|
|
|
(defpackage build
|
|
|
|
(:use :cl :alexandria)
|
2024-03-31 22:06:50 +02:00
|
|
|
(:export :*migrations-dir* :*static-dir*))
|
2024-03-24 15:32:15 +01:00
|
|
|
(in-package :build)
|
|
|
|
(declaim (optimize (safety 3)))
|
|
|
|
(defvar *migrations-dir* "${./src/migrations}")
|
2024-03-31 22:06:50 +02:00
|
|
|
(defvar *static-dir* "${./src/static}")
|
2024-03-24 15:32:15 +01:00
|
|
|
'')
|
2020-07-28 02:36:06 +02:00
|
|
|
./src/util.lisp
|
2020-07-23 00:16:58 +02:00
|
|
|
./src/css.lisp
|
2021-04-04 16:40:03 +02:00
|
|
|
./src/email.lisp
|
2021-01-14 02:07:55 +01:00
|
|
|
./src/inline-markdown.lisp
|
2020-07-28 06:31:55 +02:00
|
|
|
./src/authentication.lisp
|
2020-07-26 21:33:27 +02:00
|
|
|
./src/model.lisp
|
2020-11-22 19:14:37 +01:00
|
|
|
./src/irc.lisp
|
2020-07-22 00:59:25 +02:00
|
|
|
./src/panettone.lisp
|
|
|
|
];
|
2020-07-28 06:31:55 +02:00
|
|
|
|
|
|
|
tests = {
|
|
|
|
deps = with depot.third_party.lisp; [
|
|
|
|
fiveam
|
|
|
|
];
|
|
|
|
|
|
|
|
srcs = [
|
|
|
|
./test/package.lisp
|
|
|
|
./test/model_test.lisp
|
2021-01-14 02:07:55 +01:00
|
|
|
./test/inline-markdown_test.lisp
|
2022-05-28 20:17:36 +02:00
|
|
|
./test/util_test.lisp
|
2020-07-28 06:31:55 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
expression = "(fiveam:run!)";
|
|
|
|
};
|
2021-08-09 02:47:07 +02:00
|
|
|
|
|
|
|
brokenOn = [
|
|
|
|
"ecl" # dependencies use dynamic cffi
|
2021-08-13 22:24:50 +02:00
|
|
|
"ccl" # The value NIL is not of the expected type STRING. when loading model.lisp
|
2021-08-09 02:47:07 +02:00
|
|
|
];
|
2020-07-22 00:59:25 +02:00
|
|
|
}
|