about summary refs log tree commit diff
path: root/fun/🕰️/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'fun/🕰️/default.nix')
-rw-r--r--fun/🕰️/default.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/fun/🕰️/default.nix b/fun/🕰️/default.nix
new file mode 100644
index 000000000000..230d9f02f137
--- /dev/null
+++ b/fun/🕰️/default.nix
@@ -0,0 +1,43 @@
+{ depot, ... }:
+
+let
+  inherit (depot.nix)
+    buildLisp
+    ;
+
+  lib = buildLisp.library {
+    name = "lib🕰️";
+    deps = [
+      depot.third_party.lisp.local-time
+    ];
+
+    srcs = [
+      ./lib.lisp
+    ];
+  };
+
+  bin = buildLisp.program {
+    name = "🕰️";
+    deps = [
+      depot.third_party.lisp.unix-opts
+      depot.lisp.klatre
+      {
+        default = buildLisp.bundled "asdf";
+        sbcl = buildLisp.bundled "uiop";
+      }
+      lib
+    ];
+
+    srcs = [
+      ./bin.lisp
+    ];
+
+    main = "🕰️.bin:🚂";
+
+    brokenOn = [
+      "ecl" # refuses to create non-ASCII paths even on POSIX…
+    ];
+  };
+in bin // {
+  inherit lib;
+}