Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
38 lines
919 B
Nix
38 lines
919 B
Nix
{ lib, stdenv, fetchurl, texinfo, texLive, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "asdf";
|
|
version = "2.26";
|
|
|
|
src = fetchurl {
|
|
url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz";
|
|
sha256 = "sha256-tuUuIlZcS+a0izXeJl3Ckp+/PYAWkZ0+Cw7blwkh9+M=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [
|
|
texinfo
|
|
texLive
|
|
perl
|
|
];
|
|
|
|
buildPhase = ''
|
|
make asdf.lisp
|
|
mkdir build
|
|
ln -s ../asdf.lisp build
|
|
'';
|
|
installPhase = ''
|
|
mkdir -p "$out"/lib/common-lisp/asdf/
|
|
mkdir -p "$out"/share/doc/asdf/
|
|
cp -r ./* "$out"/lib/common-lisp/asdf/
|
|
cp -r doc/* "$out"/share/doc/asdf/
|
|
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Standard software-system definition library for Common Lisp";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|