about summary refs log tree commit diff
path: root/third_party/lisp/defclass-std.nix
blob: c31ddb3c5b743aa06124e4d07eae2175ae293df7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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"
  ];
}