e76843d337
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.
24 lines
493 B
Nix
24 lines
493 B
Nix
{
|
|
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"
|
|
];
|
|
}
|