diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-23T13·45+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-23T13·45+0000 |
commit | d262d3054393fe8c445d80269fed9ef7e5b159d8 (patch) | |
tree | 264379a2cb4d07554abee620e9696460de9225ad /common-lisp/cl-colors.nix | |
parent | 55860debe5e480a043ae47833a218b70a70bf19f (diff) |
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.
Diffstat (limited to 'common-lisp/cl-colors.nix')
-rw-r--r-- | common-lisp/cl-colors.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/common-lisp/cl-colors.nix b/common-lisp/cl-colors.nix new file mode 100644 index 000000000000..cff40fef342d --- /dev/null +++ b/common-lisp/cl-colors.nix @@ -0,0 +1,20 @@ +{ 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" + ]; +} |