about summary refs log tree commit diff
path: root/third_party/lisp/cl-fad.nix
blob: 194ecd39566ca9671a7b6f82e3e991d6eb715ef6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Portable pathname library
{ pkgs, ...}:

with pkgs.nix;

let src = pkgs.third_party.fetchFromGitHub {
  owner = "edicl";
  repo = "cl-fad";
  rev = "c13d81c4bd9ba3a172631fd05dd213ab90e7d4cb";
  sha256 = "1gc8i82v6gks7g0lnm54r4prk2mklidv2flm5fvbr0a7rsys0vpa";
};
in buildLisp.library {
  name = "cl-fad";

  deps = with pkgs.third_party.lisp; [
    alexandria
    bordeaux-threads
    (buildLisp.bundled "sb-posix")
  ];

  srcs = map (f: src + ("/" + f)) [
    "packages.lisp"
    "fad.lisp"
    "path.lisp"
    "temporary-files.lisp"
  ];
}