about summary refs log tree commit diff
path: root/third_party/common_lisp/quicklisp.nix
blob: a0040f1d6f7e5f0b8e36c708b278a7f5ab109d86 (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
28
29
# Overlay over `pkgs.lispPackages` that adds additional packages which
# are missing from the imported Quicklisp package set in nixpkgs.

{ lib, lispPackages }:

let inherit (lispPackages) buildLispPackage qlOverrides fetchurl;
in lispPackages // lib.fix(self: {
  "s-xml" = buildLispPackage
    ((f: x: (x // (f x)))
       (qlOverrides."s-xml" or (x: {}))
       (import ./quicklisp-to-nix-output/s-xml.nix {
         inherit fetchurl;
       }));

  "s-sysdeps" = buildLispPackage
    ((f: x: (x // (f x)))
       (qlOverrides."s-sysdeps" or (x: {}))
       (import ./quicklisp-to-nix-output/s-sysdeps.nix {
         inherit fetchurl;
       }));

  "cl-prevalence" = buildLispPackage
    ((f: x: (x // (f x)))
       (qlOverrides."cl-prevalence" or (x: {}))
       (import ./quicklisp-to-nix-output/cl-prevalence.nix {
         inherit fetchurl;
         inherit (self) s-sysdeps s-xml;
       }));
})