tvl-depot/third_party/lisp/defclass-std.nix

17 lines
379 B
Nix
Raw Permalink Normal View History

# A shortcut macro to write DEFCLASS forms quickly
# Seems to be unmaintained (since early 2021)
{ depot, pkgs, ... }:
let src = with pkgs; srcOnly lispPackages.defclass-std;
in depot.nix.buildLisp.library {
name = "defclass-std";
deps = with depot.third_party.lisp; [
alexandria
anaphora
];
srcs = map (f: src + ("/src/" + f)) [
"defclass-std.lisp"
];
}