refactor(3p/lisp): Move things from //users/wpcarro/third_party/lisp

* move packages and adapt them for the depot structure instead of
  briefcase
* drop linear-programming package, it didn't build anyways

Note that at least some of these packages (e.g. prove) are deprecated
upstream, but lets sort that out later.

Change-Id: I7f5a5faa29d57f060b21ac8e1706090866a82000
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4330
Autosubmit: tazjin <mail@tazj.in>
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-12-15 00:00:26 +03:00 committed by clbot
parent 46a2c75a59
commit b0614b5c83
8 changed files with 25 additions and 72 deletions

34
third_party/lisp/prove.nix vendored Normal file
View file

@ -0,0 +1,34 @@
{ depot, pkgs, ... }:
let
src = pkgs.fetchgit {
url = "https://github.com/fukamachi/prove.git";
rev = "5d71f02795b89e36f34e8c7d50e69b67ec6ca2de";
hash = "sha256:0ca6ha3zhmckq3ad9lxm6sbg4i0hg3m81xhan4dkxd3x9898jzpc";
};
in depot.nix.buildLisp.library {
name = "prove";
deps = [
depot.third_party.lisp.alexandria
depot.third_party.lisp.cl-ansi-text
depot.third_party.lisp.cl-colors
depot.third_party.lisp.cl-ppcre
(depot.nix.buildLisp.bundled "asdf")
];
srcs = [
"${src}/src/color.lisp"
"${src}/src/output.lisp"
"${src}/src/asdf.lisp"
"${src}/src/report.lisp"
"${src}/src/reporter.lisp"
"${src}/src/reporter/fiveam.lisp"
"${src}/src/reporter/list.lisp"
"${src}/src/reporter/dot.lisp"
"${src}/src/reporter/tap.lisp"
"${src}/src/suite.lisp"
"${src}/src/test.lisp"
"${src}/src/prove.lisp"
];
}