diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-07-22T20·28-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-07-23T04·28+0000 |
commit | b1c0866037ea63b670055883de88a9fe4e8891e2 (patch) | |
tree | cef4735ba4745239d511cb6885cb538526f17471 /third_party/lisp/physical-quantities.nix | |
parent | f591c32dfb2a9f0246c8d6501c1efab4c80da52f (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/physical-quantities.nix')
-rw-r--r-- | third_party/lisp/physical-quantities.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/lisp/physical-quantities.nix b/third_party/lisp/physical-quantities.nix new file mode 100644 index 000000000000..6e124a913209 --- /dev/null +++ b/third_party/lisp/physical-quantities.nix @@ -0,0 +1,30 @@ +{ depot, pkgs, ... }: + +let + src = pkgs.fetchFromGitHub { + owner = "mrossini-ethz"; + repo = "physical-quantities"; + rev = "8feb66ef3293fcb9ff4c4bd3ee872bfc385a590e"; + sha256 = "1qznv0hmn2n7g9dxx1iw0qpr0pf2lnbahn0x0b3v50xzcb65kgig"; + }; +in depot.nix.buildLisp.library { + name = "physical-quantities"; + + deps = with depot.third_party.lisp; [ + parseq + ]; + + srcs = map (f: src + ("/" + f)) [ + "package.lisp" + "utils.lisp" + "conditions.lisp" + "unit-factor.lisp" + "unit-database.lisp" + "units.lisp" + "quantity.lisp" + "numeric.lisp" + "parse-rules.lisp" + "read-macro.lisp" + "si-units.lisp" + ]; +} |