2020-01-22 22:40:37 +01:00
|
|
|
# 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
|
2021-04-10 02:13:18 +02:00
|
|
|
{ depot, pkgs, ... }:
|
2020-01-22 22:40:37 +01:00
|
|
|
|
2021-04-10 02:13:18 +02:00
|
|
|
let src = pkgs.fetchFromGitHub {
|
2020-01-22 22:40:37 +01:00
|
|
|
owner = "pcostanza";
|
|
|
|
repo = "closer-mop";
|
2021-08-14 00:55:23 +02:00
|
|
|
rev = "8ec9577029b08ade5978236121c9ac276f78d8be"; # 2021-07-30
|
|
|
|
sha256 = "0dm8xsa3hzpxjd7x248pbzd8blw01a8ls7spalzgbg1g7vbn6zg5";
|
2020-01-22 22:40:37 +01:00
|
|
|
};
|
2020-02-21 13:47:29 +01:00
|
|
|
in depot.nix.buildLisp.library {
|
2020-01-22 22:40:37 +01:00
|
|
|
name = "closer-mop";
|
|
|
|
|
|
|
|
srcs = [
|
|
|
|
"${src}/closer-mop-packages.lisp"
|
|
|
|
"${src}/closer-mop-shared.lisp"
|
2021-08-09 02:47:07 +02:00
|
|
|
{
|
|
|
|
sbcl = "${src}/closer-sbcl.lisp";
|
|
|
|
ecl = "${src}/closer-ecl.lisp";
|
|
|
|
}
|
2020-01-22 22:40:37 +01:00
|
|
|
];
|
|
|
|
}
|