Create third_party

Create a third_party subdirectory and a third_party/lisp. This directory layout
resembles and is inspired by the layout of Google's mono-repo, Google3. @tazjin
borrowed this idea from Google and I'm borrowing the idea from him.
This commit is contained in:
William Carroll 2020-01-23 16:31:54 +00:00
parent 393bd0a5c7
commit e76843d337
5 changed files with 32 additions and 35 deletions

24
third_party/lisp/cl-colors.nix vendored Normal file
View file

@ -0,0 +1,24 @@
{
depot ? import <depot> {},
universe ? import <universe> {},
...
}:
let
src = builtins.fetchGit {
url = "https://github.com/tpapp/cl-colors.git";
rev = "827410584553f5c717eec6182343b7605f707f75";
};
in depot.nix.buildLisp.library {
name = "cl-colors";
deps = [
depot.third_party.lisp.alexandria
universe.third_party.lisp.let-plus
];
srcs = [
"${src}/package.lisp"
"${src}/colors.lisp"
"${src}/colornames.lisp"
"${src}/hexcolors.lisp"
];
}