56ec3b1803
* Upon creation of an apple-note object we can check if certain fields we are interested in are present and of the right type etc. These currently are: - UUID (for links later) - Subject (title) - Time - Text part with supported MIME type These are then put into their own shortcut fields in the apple-note subclass which allows for easier access and forces us to make sure they are present. * Split out everything note related into its own package. Using the new type, we can expose an interface which sort of makes sense. Change-Id: Ic9d67518354e61a3cc8388bb0e566fce661e90d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5072 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
33 lines
593 B
Nix
33 lines
593 B
Nix
{ depot, pkgs, ... }:
|
|
|
|
depot.nix.buildLisp.program {
|
|
name = "mnote-html";
|
|
|
|
srcs = [
|
|
./packages.lisp
|
|
./maildir.lisp
|
|
./transformer.lisp
|
|
./note.lisp
|
|
./cli.lisp
|
|
];
|
|
|
|
deps = [
|
|
{
|
|
sbcl = depot.nix.buildLisp.bundled "uiop";
|
|
default = depot.nix.buildLisp.bundled "asdf";
|
|
}
|
|
depot.third_party.lisp.alexandria
|
|
depot.third_party.lisp.closure-html
|
|
depot.third_party.lisp.cl-date-time-parser
|
|
depot.third_party.lisp.cl-who
|
|
depot.third_party.lisp.mime4cl
|
|
];
|
|
|
|
main = "mblog:main";
|
|
|
|
# due to sclf
|
|
brokenOn = [
|
|
"ccl"
|
|
"ecl"
|
|
];
|
|
}
|