about summary refs log tree commit diff
path: root/third_party/lisp/moptilities.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-01-22T21·40+0000
committerVincent Ambo <tazjin@google.com>2020-01-22T21·40+0000
commit2fa7bf7bb078c757216a392578a19fd01d5726f6 (patch)
tree828add95a8aafdae21b95c8ebb2c3c3d82b5436f /third_party/lisp/moptilities.nix
parentd6e473068e2241628371e9a29742d81f41ac1788 (diff)
feat(third_party/lisp): Add 'lisp-binary' package and dependencies r/452
Diffstat (limited to 'third_party/lisp/moptilities.nix')
-rw-r--r--third_party/lisp/moptilities.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/lisp/moptilities.nix b/third_party/lisp/moptilities.nix
new file mode 100644
index 000000000000..df72de5ce396
--- /dev/null
+++ b/third_party/lisp/moptilities.nix
@@ -0,0 +1,14 @@
+# Compatibility layer for minor MOP implementation differences
+{ pkgs, ... }:
+
+let src = pkgs.third_party.fetchFromGitHub {
+  owner = "gwkkwg";
+  repo = "moptilities";
+  rev = "a436f16b357c96b82397ec018ea469574c10dd41";
+  sha256 = "1q12bqjbj47lx98yim1kfnnhgfhkl80102fkgp9pdqxg0fp6g5fc";
+};
+in pkgs.nix.buildLisp.library {
+  name = "moptilities";
+  deps = [ pkgs.third_party.lisp.closer-mop ];
+  srcs = [ "${src}/dev/moptilities.lisp" ];
+}