tvl-depot/third_party/lisp/physical-quantities.nix
Griffin Smith b1c0866037 feat(3p/lisp): Add LASS
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>
2020-07-23 04:28:13 +00:00

30 lines
642 B
Nix

{ 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"
];
}