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:
parent
393bd0a5c7
commit
e76843d337
5 changed files with 32 additions and 35 deletions
|
|
@ -1,20 +0,0 @@
|
|||
{ tpkgs ? (import (builtins.fetchGit "https://git.tazj.in/") {}), ... }:
|
||||
|
||||
let
|
||||
src = builtins.fetchGit {
|
||||
url = "https://github.com/tpapp/cl-colors.git";
|
||||
rev = "827410584553f5c717eec6182343b7605f707f75";
|
||||
};
|
||||
in tpkgs.nix.buildLisp.library {
|
||||
name = "cl-colors";
|
||||
deps = with tpkgs.third_party.lisp; [
|
||||
alexandria
|
||||
(import ./let-plus.nix {})
|
||||
];
|
||||
srcs = [
|
||||
"${src}/package.lisp"
|
||||
"${src}/colors.lisp"
|
||||
"${src}/colornames.lisp"
|
||||
"${src}/hexcolors.lisp"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue