From e76843d337546fe83dbbc9eba9cff52ca6767ef7 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 23 Jan 2020 16:31:54 +0000 Subject: 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. --- third_party/lisp/let-plus.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 third_party/lisp/let-plus.nix (limited to 'third_party/lisp/let-plus.nix') diff --git a/third_party/lisp/let-plus.nix b/third_party/lisp/let-plus.nix new file mode 100644 index 000000000000..a3a15776bf86 --- /dev/null +++ b/third_party/lisp/let-plus.nix @@ -0,0 +1,23 @@ +{ + depot ? import {}, + universe ? import {}, + ... +}: + +let + src = builtins.fetchGit { + url = "https://github.com/tpapp/let-plus.git"; + rev = "7cf18b29ed0fe9c667a9a6a101b08ab9661a59e9"; + }; +in depot.nix.buildLisp.library { + name = "let-plus"; + deps = [ + depot.third_party.lisp.alexandria + universe.third_party.lisp.anaphora + ]; + srcs = [ + "${src}/package.lisp" + "${src}/let-plus.lisp" + "${src}/extensions.lisp" + ]; +} -- cgit 1.4.1