about summary refs log tree commit diff
path: root/third_party/lisp/restas.nix
blob: 8a0b5f907f296c8b2401eba13af296dcd0cff524 (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
27
28
29
30
31
32
33
34
35
36
37
38
{ depot, pkgs, ... }:

let

  src = pkgs.fetchFromGitHub {
    owner = "archimag";
    repo = "restas";
    rev = "81bbbab6b36f81f846f78e71232e9d3d15f6d952";
    sha256 = "00ng6jik1lwjw3bbxhijy8s0ml24lgm73liwrr01gcsb0r6wrjjn";
  };

in depot.nix.buildLisp.library {
  name = "restas";
  deps = with depot.third_party.lisp; [
    cffi
    hunchentoot
    bordeaux-threads
    routes
    alexandria
    data-sift
  ];

  srcs = map (f: src + ("/src/" + f)) [
    "packages.lisp"
    "special.lisp"
    "declarations.lisp"
    "errors.lisp"
    "render.lisp"
    "context.lisp"
    "module.lisp"
    "route.lisp"
    "decorators.lisp"
    "vhost.lisp"
    "hunchentoot.lisp"
    "policy.lisp"
  ];

}