about summary refs log blame commit diff
path: root/fun/🕰️/default.nix
blob: 2b1a94640009001b120fe495b01decf8a1a5c0e3 (plain) (tree)






















                                       



                                           







                              



                                                                
    

        

              
{ 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;
}