about summary refs log tree commit diff
path: root/third_party/lisp/trivial-indent.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-22T20·28-0400
committerglittershark <grfn@gws.fyi>2020-07-23T04·28+0000
commitb1c0866037ea63b670055883de88a9fe4e8891e2 (patch)
treecef4735ba4745239d511cb6885cb538526f17471 /third_party/lisp/trivial-indent.nix
parentf591c32dfb2a9f0246c8d6501c1efab4c80da52f (diff)
feat(3p/lisp): Add LASS r/1423
Add LASS, a CSS library

Change-Id: I225959b12210895d0e5baf8a41ac09b0351f0aed
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1349
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/lisp/trivial-indent.nix')
-rw-r--r--third_party/lisp/trivial-indent.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/lisp/trivial-indent.nix b/third_party/lisp/trivial-indent.nix
new file mode 100644
index 000000000000..65d98604d78c
--- /dev/null
+++ b/third_party/lisp/trivial-indent.nix
@@ -0,0 +1,17 @@
+
+{ depot, pkgs, ... }:
+
+let
+  src = pkgs.fetchFromGitHub {
+    owner = "Shinmera";
+    repo = "trivial-indent";
+    rev = "2d016941751647c6cc5bd471751c2cf68861c94a";
+    sha256 = "1sj90nqz17w4jq0ixz00gb9g5g6d2s7l8r17zdby27gxxh51w266";
+  };
+in depot.nix.buildLisp.library {
+  name = "trivial-indent";
+
+  srcs = map (f: src + ("/" + f)) [
+    "indent.lisp"
+  ];
+}