about summary refs log tree commit diff
path: root/third_party/lisp/closer-mop.nix
blob: 9e6aac36c163d9ebc4680e498e627e1d410153fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Closer to MOP is a compatibility layer that rectifies many of the
# absent or incorrect CLOS MOP features across a broad range of Common
# Lisp implementations
{ depot, pkgs, ... }:

let src = pkgs.fetchFromGitHub {
  owner = "pcostanza";
  repo = "closer-mop";
  rev = "8ec9577029b08ade5978236121c9ac276f78d8be"; # 2021-07-30
  sha256 = "0dm8xsa3hzpxjd7x248pbzd8blw01a8ls7spalzgbg1g7vbn6zg5";
};
in depot.nix.buildLisp.library {
  name = "closer-mop";

  srcs = [
    "${src}/closer-mop-packages.lisp"
    "${src}/closer-mop-shared.lisp"
    "${src}/closer-sbcl.lisp"
  ];
}