about summary refs log tree commit diff
path: root/third_party/lisp/lass.nix
blob: 00f66c1fe3148dd16d0aa944497f6ddecdd47d4a (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
{ depot, pkgs, ... }:

let
  src = pkgs.fetchFromGitHub {
    owner = "Shinmera";
    repo = "LASS";
    rev = "f51b9e941ee0a2a1f76ba814dcef22f9fb5f69bf";
    sha256 = "11mxzyx34ynsfsrs8pgrarqi9s442vkpmh7kdpzvarhj7i97g8yx";
  };

in
depot.nix.buildLisp.library {
  name = "lass";

  deps = with depot.third_party.lisp; [
    trivial-indent
    trivial-mimes
    physical-quantities
    parse-float
    cl-base64
    (depot.nix.buildLisp.bundled "asdf")
  ];

  srcs = map (f: src + ("/" + f)) [
    "package.lisp"
    "readable-list.lisp"
    "compiler.lisp"
    "property-funcs.lisp"
    "writer.lisp"
    "lass.lisp"
    "special.lisp"
    "units.lisp"
    "asdf.lisp"
  ];
}