about summary refs log tree commit diff
path: root/third_party/lisp/easy-routes.nix
blob: 63eb8b5e38442ea12940d15a27bbc3159e9a7137 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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"
  ];

}