about summary refs log tree commit diff
path: root/third_party/lisp/easy-routes.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/easy-routes.nix')
-rw-r--r--third_party/lisp/easy-routes.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/third_party/lisp/easy-routes.nix b/third_party/lisp/easy-routes.nix
new file mode 100644
index 000000000000..93aed8a66765
--- /dev/null
+++ b/third_party/lisp/easy-routes.nix
@@ -0,0 +1,29 @@
+{ depot, pkgs, ... }:
+
+let
+
+  src = pkgs.fetchFromGitHub {
+    owner = "mmontone";
+    repo = "easy-routes";
+    rev = "dab613ff419a655036a00beecee026ab6e0ba430";
+    sha256 = "06lnipwc6mmg0v5gybcnr7wn5xmn5xfd1gs19vbima777245bfka";
+  };
+
+in depot.nix.buildLisp.library {
+  name = "easy-routes";
+  deps = with depot.third_party.lisp; [
+    hunchentoot
+    routes
+  ];
+
+  srcs = map (f: src + ("/" + f)) [
+    "package.lisp"
+    "util.lisp"
+    "easy-routes.lisp"
+    "routes-map-printer.lisp"
+  ];
+
+  brokenOn = [
+    "ecl" # dynamic cffi
+  ];
+}