Attempt to package CL unit testing with Nix

My first foray trying to package Common Lisp with Nix. I'm using @tazjin's
buildLisp and other libraries, all of which I'm importing as `tpkgs`, and all of
which have been a tremendous boon to my productivity.
This commit is contained in:
William Carroll 2020-01-23 13:45:57 +00:00
parent 55860debe5
commit d262d30543
7 changed files with 128 additions and 0 deletions

17
common-lisp/anaphora.nix Normal file
View file

@ -0,0 +1,17 @@
{ tpkgs ? (import (builtins.fetchGit "https://git.tazj.in/") {}), ... }:
let
src = builtins.fetchGit {
url = "https://github.com/tokenrove/anaphora.git";
rev = "aeace4c68cf55098a67112750b28f8f2dc6d0e30";
};
in tpkgs.nix.buildLisp.library {
name = "anaphora";
deps = [];
srcs = [
"${src}/packages.lisp"
"${src}/early.lisp"
"${src}/symbolic.lisp"
"${src}/anaphora.lisp"
];
}