2020-07-22 22:28:34 +02:00
|
|
|
{ depot, pkgs, ... }:
|
|
|
|
|
2021-12-14 22:32:27 +01:00
|
|
|
let src = with pkgs; srcOnly lispPackages.physical-quantities;
|
2020-07-22 22:28:34 +02:00
|
|
|
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"
|
|
|
|
];
|
|
|
|
}
|