aa122cbae7
This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi>
35 lines
678 B
Nix
35 lines
678 B
Nix
{ 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"
|
|
];
|
|
}
|