tvl-depot/third_party/lisp/cl-prevalence.nix
Vincent Ambo 8361b82d0a refactor(third_party): Consistent use of depot.third_party vs. pkgs
In preparation for the solution of b/108, we need to consistently use
`depot.third_party` for packages that are only packed in the TVL depot
and `pkgs` for things that come from nixpkgs.

This commit cleans up a huge chunk of these uses in //third_party

Change-Id: Ic382c0cdea7330a84d5f0b7d109c824ddceb94e7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2912
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2021-04-10 11:48:55 +00:00

29 lines
706 B
Nix

# cl-prevalence is an implementation of object prevalence for CL (i.e.
# an in-memory database)
{ depot, pkgs, ... }:
let src = pkgs.fetchFromGitHub {
owner = "40ants";
repo = "cl-prevalence";
rev = "da3ed6c4594b1c2fca90c178c1993973c4bf16c9";
sha256 = "0bq905hv1626dl6b7s0zn4lbdh608g1pxaljl1fda6pwp9hmj95a";
};
in depot.nix.buildLisp.library {
name = "cl-prevalence";
deps = with depot.third_party.lisp; [
s-xml
s-sysdeps
];
srcs = map (f: src + ("/src/" + f)) [
"package.lisp"
"serialization/serialization.lisp"
"serialization/xml.lisp"
"serialization/sexp.lisp"
"prevalence.lisp"
"managed-prevalence.lisp"
"master-slave.lisp"
"blob.lisp"
];
}