tvl-depot/common-lisp/cl-colors.nix
William Carroll d262d30543 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.
2020-01-23 13:45:57 +00:00

20 lines
489 B
Nix

{ 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"
];
}