1{
2 lib,
3 stdenv,
4 fetchurl,
5 texinfo,
6 texLive,
7 perl,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "asdf";
12 version = "3.3.4";
13
14 src = fetchurl {
15 url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz";
16 sha256 = "sha256-/k7cmN0ymZUgpP4K+IWfhq85TkzfPjTR4QdUgV9n1x4=";
17 };
18
19 strictDeps = true;
20 nativeBuildInputs = [
21 texinfo
22 texLive
23 perl
24 ];
25
26 buildPhase = ''
27 make build/asdf.lisp
28 make -C doc asdf.info asdf.html
29 '';
30 installPhase = ''
31 mkdir -p "$out"/lib/common-lisp/asdf/
32 mkdir -p "$out"/share/doc/asdf/
33 cp -r ./* "$out"/lib/common-lisp/asdf/
34 cp -r doc/* "$out"/share/doc/asdf/
35 ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
36 '';
37
38 meta = with lib; {
39 description = "Standard software-system definition library for Common Lisp";
40 homepage = "https://asdf.common-lisp.dev/";
41 license = licenses.mit;
42 maintainers = with maintainers; [ raskin ];
43 platforms = platforms.unix;
44 };
45}