at master 977 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 texinfo, 6 texLive, 7 perl, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "asdf"; 12 version = "3.1.7"; 13 14 src = fetchurl { 15 url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz"; 16 sha256 = "sha256-+P+FLM1mr2KRdj7bfhWq4ync86bJS/uE0Jm/E/e4HL0="; 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}